linea21-modules
[ class tree: linea21-modules ] [ index: linea21-modules ] [ all elements ]

Source for file menurub.php

Documentation is available at menurub.php

  1. <?php
  2. /**
  3.  * @package linea21.modules
  4.  * @subpackage sdi
  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. $rub_link_add=$rub_link."&amp;todo=add";
  19. $rub_link_list=$rub_link."&amp;todo=list";
  20. $rub_link_mod=$rub_link."&amp;todo=mod";
  21. $rub_link_det=$rub_link."&amp;todo=det";
  22. $rub_link_sup=$rub_link."&amp;todo=sup";
  23.  
  24. $search="search.php?rub=".$rub;
  25. if($todo=='add'$title=_t('sdi','add');
  26. if($todo=='list'$title=_t('sdi','list');
  27.  
  28. if($todo=='mod'$title=_t('sdi','mod');
  29. if($todo=='mod_r'$title=_t('sdi','mod_r');
  30. if($todo=='mod_e'$title=_t('sdi','mod_e');
  31. if($todo=='mod_p'$title=_t('sdi','mod_p');
  32.  
  33. if($todo=='sup'$title=_t('sdi','sup');
  34. if($todo=='det'$title=_t('sdi','det');
  35. ?>
  36. <div id="itemenu">
  37.     <h1><?php echo $title?></h1>
  38.     <div class="contentlink"><a href="<?php echo $rub_link_add?>" title="<?php echo _t('sdi','add');?>"><i class="icon-plus"></i><?php echo _t('sdi','add');?></a>
  39.     | <a href="<?php echo $rub_link_list?>" title="<?php echo _t('sdi','list');?>"><i class="icon-list"></i><?php echo _t('sdi','list');?></a>
  40.     | <a href="<?php echo $search?>" title="<?php echo _t('menu','search');?>"><i class="icon-search"></i><?php echo _t('menu','search');?></a>
  41.     </div>
  42. </div>

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