[ Index ]
 

Code source de SPIP 1.9.2c

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/ecrire/inc/ -> aider.php (source)

   1  <?php
   2  
   3  /***************************************************************************\
   4   *  SPIP, Systeme de publication pour l'internet                           *
   5   *                                                                         *
   6   *  Copyright (c) 2001-2007                                                *
   7   *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
   8   *                                                                         *
   9   *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
  10   *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
  11  \***************************************************************************/
  12  
  13  if (!defined("_ECRIRE_INC_VERSION")) return;
  14  
  15  include_spip('inc/minipres');
  16  
  17  // http://doc.spip.org/@inc_aider_dist
  18  function inc_aider_dist($aide='') {
  19      global $spip_lang, $spip_lang_rtl, $spip_display;
  20  
  21      if (!$aide OR $spip_display == 4) return;
  22  
  23      $t = _T('titre_image_aide');
  24      return "\n&nbsp;&nbsp;<a class='aide'\nhref='"
  25      . generer_url_ecrire("aide_index", "aide=$aide&var_lang=$spip_lang")
  26      . "'\nonclick=\"javascript:window.open(this.href,"
  27      . "'spip_aide', "
  28      . "'scrollbars=yes, resizable=yes, width=740, height=580'); "
  29      . "return false;\">"
  30      . http_img_pack("aide".aide_lang_dir($spip_lang,$spip_lang_rtl).".gif",
  31              _T('info_image_aide'),
  32              " title=\"$t\" class='aide'")
  33      . "</a>";
  34  }
  35  
  36  
  37  // en hebreu le ? ne doit pas etre inverse
  38  // http://doc.spip.org/@aide_lang_dir
  39  function aide_lang_dir($spip_lang,$spip_lang_rtl) {
  40      return ($spip_lang<>'he') ? $spip_lang_rtl : '';
  41  }
  42  ?>


Généré le : Wed Nov 21 10:20:27 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics