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 workshoprep
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  *  'Workshoprep' (as Workshop Report) module is used by '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('workshop')) 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') {
  32. ?>
  33. <p class="info"><? echo _t('help','name');?> : <? echo _t('workshoprep','add');?></p>
  34. <ul>
  35.     <li><? echo _t('workshoprep','help_add1');?></li>
  36.     <li><? echo _t('workshoprep','help_add2');?></li>
  37.     <li><? echo _t('workshoprep','help_add3');?></li>
  38. </ul>
  39.  
  40. <? } 
  41. if ($todo == 'det') {
  42. ?>
  43. <p class="info"><? echo _t('help','name');?>  : <? echo _t('workshoprep','det');?></p>
  44. <ul>
  45. <li><? echo _t('workshoprep','help_det1');?></li>
  46. <li><? echo _t('workshoprep','help_det2');?></li>
  47. <li><? echo _t('workshoprep','help_det3');?></li>
  48. <li><? echo _t('workshoprep','help_det4');?></li>
  49. </ul>
  50. <?
  51. } 
  52. if ($todo == 'mod') {
  53. ?>
  54. <p class="info"><? echo _t('help','name');?> : <? echo _t('workshoprep','mod');?></p>
  55. <ul>
  56.     <li><? echo _t('workshoprep','help_mod1');?></li>
  57.     <li><? echo _t('workshoprep','help_mod2');?></li>
  58.     <li><? echo _t('workshoprep','help_mod3');?></li>
  59. </ul>
  60. <? }
  61. if ($todo == 'sup') {
  62. ?>
  63.  
  64. <p class="info"><? echo _t('help','name');?>  :  <? echo _t('workshoprep','sup');?></p>
  65. <ul>
  66.     <li><? echo _t('workshoprep','help_sup1');?></li>
  67. </ul>
  68. <? }
  69. include_once(THEME_ADMIN_PATH."footer_content.php");
  70. ?>

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