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 newsletter
  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 (!class_exists('auth')) {
  13.   include_once("../lib/lib_common.php");
  14.   ReloadIndex('admin');
  15. }
  16. ////////////
  17.  
  18. //////////// Check Droits utilisateur ////////////
  19. if (!$l21auth->hasRight('news')) ReloadIndex('admin');
  20. ////////////
  21.  
  22. $dirbox $dir "/help";
  23. ?>
  24. <br class="brendstep brendstepfooter" />
  25. <div class="headerhelp">
  26. <div class="help">
  27. <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>
  28.  
  29. <div id="aide"><?php if ($todo == 'add'{
  30.   ?>
  31. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('newsletter','add');?></p>
  32. <ul>
  33.     <li><?php echo _t('newsletter','help_add1');?></li>
  34.     <li><?php echo _t('newsletter','help_add2');?></li>
  35.     <li><?php echo _t('newsletter','help_add3');?></li>
  36. </ul>
  37.  
  38.   <?php }
  39.   if ($todo == 'det'{
  40.     if(isset($is_sd)) {
  41.       ?>
  42. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdtheme','det');?></p>
  43. <ul>
  44.     <li><?php echo _t('sdtheme','help_det1');?></li>
  45. </ul>
  46.       <?php
  47.     else {
  48.       ?>
  49. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('newsletter','det');?></p>
  50. <ul>
  51.     <li><?php echo _t('newsletter','help_det1');?></li>
  52.     <li><?php echo _t('newsletter','help_det2');?></li>
  53. </ul>
  54.       <?php
  55.     }
  56.   }
  57.   if ($todo == 'mod'{
  58.     ?>
  59. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('newsletter','mod');?></p>
  60. <ul>
  61.     <li><?php echo _t('newsletter','help_mod1');?></li>
  62.     <li><?php echo _t('newsletter','help_mod2');?></li>
  63.     <li><?php echo _t('newsletter','help_mod3');?></li>
  64. </ul>
  65.     <?php }
  66.     if ($todo == 'list'{
  67.       ?>
  68. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('newsletter','list');?></p>
  69. <ul>
  70.     <li><?php echo _t('newsletter','help_list1');?></li>
  71.     <li><?php echo _t('newsletter','help_list2');?></li>
  72.     <li><?php echo _t('newsletter','help_list3');?></li>
  73.     <li><?php echo _t('newsletter','help_list4');?></li>
  74.     <li><?php echo _t('newsletter','help_list5');?></li>
  75. </ul>
  76.       <?php }
  77.       if ($todo == 'sup'{
  78.         ?>
  79.  
  80. <p class="info"><?php echo _t('help','name');?> : <?php echo _t('newsletter','sup');?></p>
  81. <ul>
  82.     <li><?php echo _t('newsletter','help_sup1');?></li>
  83. </ul>
  84.         <?php }
  85. include_once(THEME_ADMIN_PATH."footer_content.php");
  86. ?>

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