<?php
/**
 * Indicator / SDI module
 * 
 * Provide an online help related to current module
 * 
 * @package linea21\modules\sdi
 * @author $Author$ - linea21 <info@linea21.com>
 * @version $Id$ 
 * @access public
 * @license http://opensource.org/licenses/gpl-3.0.html
 */

// ////////// Check Inclusion de pages ////////////
if (! class_exists('auth')) {
    include_once ("../lib/lib_common.php");
    ReloadIndex('admin');
}
// //////////
?>
<div class="headerhelp">
	<div class="help">
		<a href="#aide-ancre" class="aide-ancre" id="aide-ancre" title="<?php echo _t('help','title');?>"><i class="fa fa-life-ring" aria-hidden="true"></i> <?php echo _t('help','title');?></a>
<div id="aide">
<?php

if ($todo == 'add') {
    ?>

			<p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdi','add');?></p>
			<ul>
				<li><?php echo _t('sdi','help_add1');?></li>
				<li><?php echo _t('sdi','help_add2');?></li>
				<li><?php echo _t('sdi','help_add5');?></li>
				<li><?php echo _t('sdi','help_add6');?></li>
				<li><?php echo _t('sdi','help_add3');?></li>
				<li><?php echo _t('sdi','help_add4');?></li>
			</ul>

  <?php

}
if ($todo == 'det') {
    ?>
<p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdi','det');?></p>
			<ul>
				<li><?php echo _t('sdi','help_det1');?></li>
				<li><?php echo _t('sdi','help_det2');?></li>
				<li><?php echo _t('sdi','help_det3');?></li>
				<li><?php echo _t('sdi','help_det4');?></li>
				<li><?php echo _t('sdi','help_det5');?></li>

			</ul>

    <?php

}
if ($todo == 'mod') {
    ?>
<p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdi','mod');?></p>
			<ul>
				<li><?php echo _t('sdi','help_mod1');?></li>
				<li><?php echo _t('sdi','help_mod2');?></li>
				<li><?php echo _t('sdi','help_mod3');?></li>
				<li><?php echo _t('sdi','help_mod4');?></li>
			</ul>
      <?php

}
if ($todo == 'mod_p') {
    ?>
<p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdi','mod_p');?></p>
			<ul>
				<li><?php echo _t('sdi','help_mod_p1');?></li>
				<li><?php echo _t('sdi','help_mod2');?></li>
				<li><?php echo _t('sdi','help_mod3');?></li>
				<li><?php echo _t('sdi','help_mod5');?></li>
			</ul>
        <?php

}

if ($todo == 'mod_e') {
    ?>
<p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdi','mod_e');?></p>
			<ul>
				<li><?php echo _t('sdi','help_mod_e1');?></li>
				<li><?php echo _t('sdi','help_mod2');?></li>
				<li><?php echo _t('sdi','help_mod3');?></li>
				<li><?php echo _t('sdi','help_mod5');?></li>
			</ul>
          <?php

}
if ($todo == 'mod_r') {
    ?>
<p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdi','mod_r');?></p>
			<ul>
				<li><?php echo _t('sdi','help_mod_r1');?></li>
				<li><?php echo _t('sdi','help_mod2');?></li>
				<li><?php echo _t('sdi','help_mod3');?></li>
				<li><?php echo _t('sdi','help_mod5');?></li>
			</ul>
            <?php

}

if ($todo == 'list') {
    ?>
<p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdi','list');?></p>
			<ul>
				<li><?php echo _t('sdi','help_list1');?></li>
				<li><?php echo _t('sdi','help_list2');?></li>
				<li><?php echo _t('sdi','help_list3');?></li>
				<li><?php echo _t('sdi','help_list4');?></li>
				<li><?php echo _t('sdi','help_list5');?></li>
			</ul>
              <?php

}
if ($todo == 'sup') {
    ?>
<p class="info"><?php echo _t('help','name');?> : <?php echo _t('sdi','sup');?></p>
			<ul>
				<li><?php echo _t('sdi','help_sup1');?></li>
				<li><?php echo _t('sdi','help_sup2');?></li>
			</ul>
<?php } ?>
</div>
		<!-- closing #aide -->
	</div>
	<!-- closing .help -->
</div>
<!-- closing ."headerhelp" -->