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 resources
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  *  'Resource' module is used by 'Publication' and 'Workshop' modules
  10.  */
  11.  
  12. //////////// Check Inclusion de pages ////////////
  13. if (!function_exists('AuthenthificationProcess')) {
  14.     include_once("../lib/lib_common.php");
  15.     ReloadIndex('admin');
  16. } 
  17. ////////////
  18.  
  19. //////////// Check Droits utilisateur ////////////
  20. if (!HaveRight($mod_inc)) ReloadIndex('admin');
  21. ///////////
  22.  
  23. $dirbox = $dir . "/help"; 
  24. ?>
  25. <br class="brendstep brendstepfooter" />
  26. <div class="headerhelp">
  27.     <a href="#aideencre" title="<? echo _t('help','title');?>" class="help_ico aideencre"></a>
  28.     <div class="help">
  29.         <a href="#aideencre" class="aideencre" id="aideencre" title="<? echo _t('help','title');?>"><? echo _t('help','title');?></a>
  30.         <div id="aide">
  31. <?if ($todo == 'add_l' || $todo == 'add_m' || $todo == 'add_b') {
  32. ?>
  33. <p class="info"><? echo _t('help','name');?> : <? echo _t('resources','add');?></p>
  34. <ul>
  35.     <li><? echo _t('resources','help_add1');?></li>
  36.     <li><? echo _t('resources','help_add2');?></li>
  37.     <li><? echo _t('resources','help_add3');?></li>
  38. </ul>
  39.  
  40. <? } 
  41.  
  42. if ($todo == 'mod_l' || $todo == 'mod_b' || $todo == 'mod_m') {
  43. ?>
  44. <p class="info"><? echo _t('help','name');?> : <? echo _t('resources','mod');?></p>
  45. <ul>
  46.     <li><? echo _t('resources','help_mod1');?></li>
  47.     <li><? echo _t('resources','help_mod2');?></li>
  48.     <li><? echo _t('resources','help_mod3');?></li>
  49. </ul>
  50. <? } 
  51.  
  52. if ($todo == 'sup') {
  53. ?>
  54.  
  55. <p class="info"><? echo _t('help','name');?>  :  <? echo _t('resources','sup');?></p>
  56. <ul>
  57.     <li><? echo _t('resources','help_sup1');?></li>
  58. </ul>
  59. <? }
  60. include_once(THEME_ADMIN_PATH."footer_content.php");
  61. ?>

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