linea21-modules
[ class tree: linea21-modules ] [ index: linea21-modules ] [ all elements ]

Source for file help.php

Documentation is available at help.php

  1. <?php
  2. /**
  3.  * @package linea21.modules
  4.  * @subpackage news
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10.  
  11. //////////// Check Inclusion de pages ////////////
  12. if (!function_exists('AuthenthificationProcess')) {
  13.     include_once("../lib/lib_common.php");
  14.     ReloadIndex('admin');
  15. } 
  16. ////////////
  17.  
  18. //////////// Check Droits utilisateur ////////////
  19. if (!HaveRight('news')) ReloadIndex('admin');
  20. ////////////
  21.  
  22. $dirbox = $dir . "/help"; 
  23. ?>
  24. <br class="brendstep brendstepfooter" />
  25. <div class="headerhelp">
  26.     <a href="#aideencre" title="<? echo _t('help','title');?>" class="help_ico aideencre"></a>
  27.     <div class="help">
  28.         <a href="#aideencre" class="aideencre" id="aideencre" title="<? echo _t('help','title');?>"><? echo _t('help','title');?></a>
  29.         <div id="aide">
  30. <?if ($todo == 'add') {
  31. ?>
  32. <p class="info"><? echo _t('help','name');?> : <? echo _t('news','add');?></p>
  33. <ul>
  34.     <li><? echo _t('news','help_add1');?></li>
  35.     <li><? echo _t('news','help_add2');?></li>
  36.     <li><? echo _t('news','help_add3');?></li>
  37. </ul>
  38.  
  39. <? } 
  40. if ($todo == 'det') {
  41.     if(isset($is_sd)) {
  42. ?>
  43. <p class="info"><? echo _t('help','name');?>  : <? echo _t('sdtheme','det');?></p>
  44. <ul>
  45. <li><? echo _t('sdtheme','help_det1');?></li>
  46. </ul>
  47. <?
  48.     } else {
  49. ?>
  50. <p class="info"><? echo _t('help','name');?>  : <? echo _t('news','det');?></p>
  51. <ul>
  52.     <li><? echo _t('news','help_det1');?></li>
  53.     <li><? echo _t('news','help_det2');?></li>
  54. </ul>
  55. <?
  56.     }
  57. } 
  58. if ($todo == 'mod') {
  59. ?>
  60. <p class="info"><? echo _t('help','name');?> : <? echo _t('news','mod');?></p>
  61. <ul>
  62.     <li><? echo _t('news','help_mod1');?></li>
  63.     <li><? echo _t('news','help_mod2');?></li>
  64.     <li><? echo _t('news','help_mod3');?></li>
  65. </ul>
  66. <? } 
  67. if ($todo == 'list') {
  68. ?>
  69. <p class="info"><? echo _t('help','name');?>  :  <? echo _t('news','list');?></p>
  70. <ul>
  71.     <li><? echo _t('news','help_list1');?></li>
  72.     <li><? echo _t('news','help_list2');?></li>
  73.     <li><? echo _t('news','help_list3');?></li>
  74.     <li><? echo _t('news','help_list4');?></li>
  75.     <li><? echo _t('news','help_list5');?></li>
  76. </ul>
  77. <? } 
  78. if ($todo == 'sup') {
  79. ?>
  80.  
  81. <p class="info"><? echo _t('help','name');?>  :  <? echo _t('news','sup');?></p>
  82. <ul>
  83.     <li><? echo _t('news','help_sup1');?></li>
  84. </ul>
  85. <? }
  86. include_once(THEME_ADMIN_PATH."footer_content.php");
  87. ?>

Documentation generated on Fri, 16 Oct 2009 09:33:34 +0200 by phpDocumentor 1.4.1