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 content
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  *  'Content' 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('publication'&& !$l21auth->hasRight('workshop')) ReloadIndex('admin');
  21. ///////////
  22.  
  23. $dirbox $dir "/help";
  24. ?>
  25. <br
  26.     class="brendstep brendstepfooter" />
  27. <div class="headerhelp">
  28. <div class="help">
  29. <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>
  30. <div id="aide"><?php if ($todo == 'add'
  31. {
  32.   ?>
  33. <p class="info"><?php echo _t('help','name')?> : <?php echo _t('contents','add')?></p>
  34. <ul>
  35.     <li><?php echo _t('contents','help_add1')?></li>
  36.     <li><?php echo _t('contents','help_add2')?></li>
  37.     <li><?php echo _t('contents','help_add3')?></li>
  38. </ul>
  39.   <?php
  40. }
  41. if ($todo == 'mod')
  42. {
  43.   ?>
  44. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('contents','mod');?></p>
  45. <ul>
  46.     <li><?php echo _t('contents','help_mod1');?></li>
  47.     <li><?php echo _t('contents','help_mod2');?></li>
  48.     <li><?php echo _t('contents','help_mod3');?></li>
  49. </ul>
  50.   <?php
  51. }
  52. if ($todo == 'det')
  53. {
  54.   ?>
  55. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('contents','det');?></p>
  56. <ul>
  57.     <li><?php echo _t('contents','help_det1');?></li>
  58.     <li><?php echo _t('contents','help_det2');?></li>
  59. </ul>
  60.   <?php
  61. }
  62. if ($todo == 'sup')
  63. {
  64.   ?>
  65. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('contents','sup');?></p>
  66. <ul>
  67.     <li><?php echo _t('contents','help_sup1');?></li>
  68. </ul>
  69.   <?php
  70. }
  71. include_once(THEME_ADMIN_PATH."footer_content.php");
  72. ?>

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