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 (!class_exists('auth')) {
  14.   include_once("../lib/lib_common.php");
  15.   ReloadIndex('admin');
  16. }
  17. ////////////
  18.  
  19. //////////// Check Droits utilisateur ////////////
  20. if (!$l21auth->hasRight($mod_inc)) ReloadIndex('admin');
  21. ///////////
  22.  
  23. $dirbox $dir "/help";
  24. ?>
  25. <br class="brendstep brendstepfooter" />
  26. <div class="headerhelp">
  27. <div class="help">
  28. <a href="#aide-ancre" class="aide-ancre" id="aide-ancre" title="<?php echo _t('help','title');?>"><i class="icon-lifebuoy"></i> <?php echo _t('help','title');?></a>
  29.  
  30. <div id="aide"><?php if ($todo == 'add_l' || $todo == 'add_m' || $todo == 'add_b'{
  31.   ?>
  32. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('resources','add');?></p>
  33. <ul>
  34.     <li><?php echo _t('resources','help_add1');?></li>
  35.     <li><?php echo _t('resources','help_add2');?></li>
  36.     <li><?php echo _t('resources','help_add3');?></li>
  37. </ul>
  38.  
  39.   <?php }
  40.  
  41.   if ($todo == 'mod_l' || $todo == 'mod_b' || $todo == 'mod_m'{
  42.     ?>
  43. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('resources','mod');?></p>
  44. <ul>
  45.     <li><?php echo _t('resources','help_mod1');?></li>
  46.     <li><?php echo _t('resources','help_mod2');?></li>
  47.     <li><?php echo _t('resources','help_mod3');?></li>
  48. </ul>
  49.     <?php }
  50.  
  51.     if ($todo == 'sup'{
  52.       ?>
  53.  
  54. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('resources','sup');?></p>
  55. <ul>
  56.     <li><?php echo _t('resources','help_sup1');?></li>
  57. </ul>
  58.       <?php }
  59.       include_once(THEME_ADMIN_PATH."footer_content.php");
  60. ?>

Documentation generated on Thu, 20 Mar 2014 16:48:01 +0100 by phpDocumentor 1.4.1