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 workshoprep
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  *  'Workshoprep' (as Workshop Report) module is used by 'Workshop' modules
  10.  */
  11.  
  12. //////////// Check Inclusion de pages ////////////
  13. if (!function_exists('AuthenthificationProcess')) {
  14.   include_once("../lib/lib_common.php");
  15.   ReloadIndex('admin');
  16. }
  17. ////////////
  18.  
  19. //////////// Check Droits utilisateur ////////////
  20. if (!hasRight('workshop')) ReloadIndex('admin');
  21. ////////////
  22.  
  23. $rub_back_workshop="?rub=workshop&amp;todo=det&amp;id=".$work_id;
  24. $search="search.php?rub=".$rub;
  25. if($todo=='add'$title=_t('workshoprep','add');
  26. if($todo=='mod'$title=_t('workshoprep','mod');
  27. if($todo=='sup'$title=_t('workshoprep','sup');
  28. if($todo=='det'$title=_t('workshoprep','det');
  29. ?>
  30. <div id="itemenu">
  31. <h1><?php echo $title?></h1>
  32. <div class="contentlink"><a href="<?php echo $rub_back_workshop?>"
  33.     id="content_link_back"
  34.     title="<?php echo _t('workshoprep','return_workshop');?>"><?php echo _t('workshoprep','return_workshop');?></a>
  35. | <a href="<?php echo $search?>" id="content_link_search"
  36.     title="<?php echo _t('menu','search');?>"><?php echo _t('menu','search');?></a>
  37. </div>
  38. </div>

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