Changeset 2479
- Timestamp:
- 02/27/09 19:37:29 (4 years ago)
- File:
-
- 1 edited
-
alternc/trunk/bureau/admin/menu_aide.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/bureau/admin/menu_aide.php
r2147 r2479 28 28 ---------------------------------------------------------------------- 29 29 */ 30 ?>31 30 32 <dd><a href="http://alternc.org/wiki/Documentation/Utilisateur" target="help"><?php __("Online help"); ?></a></dd> 31 global $lang; 32 33 $doc_lang = substr($lang, 0, 2); // ex: get "fr" only, not "fr_CA" 34 $doc_url = 'http://alternc.org/wiki/Documentation/En/User'; 35 36 switch ($doc_lang) { 37 case 'fr': 38 $doc_url = 'http://alternc.org/wiki/Documentation/Fr/Utilisateur'; 39 break; 40 41 case 'es': 42 $doc_url = 'http://alternc.org/wiki/Documentation/Es'; 43 break; 44 } 45 46 echo '<dd><a href="' . $doc_url . '" target="help">' . _("Online help") . '</a></dd>';
Note: See TracChangeset
for help on using the changeset viewer.
