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 (!function_exists('AuthenthificationProcess')){
  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?>"
  39.     id="content_link_add" title="<?php echo _t('sdi','add');?>"><?php echo _t('sdi','add');?></a>
  40. | <a href="<?php echo $rub_link_list?>" id="content_link_list"
  41.     title="<?php echo _t('sdi','list');?>"><?php echo _t('sdi','list');?></a>
  42. | <a href="<?php echo $search?>" id="content_link_search"
  43.     title="<?php echo _t('menu','search');?>"><?php echo _t('menu','search');?></a>
  44. </div>
  45. </div>

Documentation generated on Thu, 03 May 2012 15:06:17 +0200 by phpDocumentor 1.4.1