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 workshop
  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_det=$rub_link."&amp;todo=sup";
  23. $search="search.php?rub=".$rub;
  24. if($todo=='add'$title=_t('workshop','add');
  25. if($todo=='list'$title=_t('workshop','list');
  26. if($todo=='mod'$title=_t('workshop','mod');
  27. if($todo=='sup'$title=_t('workshop','sup');
  28. if($todo=='det'$title=_t('workshop','det');
  29. if($todo=='sup_u'$title=_t('workshop','del_user');
  30. if($todo=='add_u'$title=_t('workshop','add_new_user');
  31.  
  32. if($todo=='sup_cal'$title=_t('workshop','sup_cal');
  33. if($todo=='add_cal'$title=_t('workshop','add_cal');
  34. if($todo=='mod_cal'$title=_t('workshop','mod_cal');
  35. if($todo=='list_cal'$title=_t('workshop','list_cal');
  36.  
  37. if($todo=='sup_com'$title=_t('workshop','sup_com');
  38. if($todo=='lock_com'$title=_t('workshop','lock_com');
  39. if($todo=='add_com'$title=_t('workshop','add_com');
  40. if($todo=='mod_com'$title=_t('workshop','mod_com');
  41. if($todo=='add_com'&& $com_id<>0$title=_t('workshop','add_com_mes');
  42. if($todo=='mod_com' && $com_id<>0$title=_t('workshop','mod_com_mes');
  43. if($todo=='sup_com' && $com_id<>0$title=_t('workshop','sup_com_mes');
  44. if($todo=='list_com'$title=_t('workshop','list_com');
  45. if($todo=='det_com'$title=_t('workshop','det_com');
  46.  
  47.  
  48. ?>
  49. <div id="itemenu">
  50. <h1><?php echo $title?></h1>
  51. <div class="contentlink"><?php if (IsSuperAdmin()) ?> <a
  52.     href="<?php echo $rub_link_add?>" id="content_link_add"
  53.     title="<?php echo _t('workshop','add');?>"><?php echo _t('workshop','add');?></a>
  54. <?php ?> <a href="<?php echo $rub_link_list?>"
  55.     id="content_link_list" title="<?php echo _t('workshop','list');?>"><?php echo _t('workshop','list');?></a>
  56. | <a href="<?php echo $search?>" id="content_link_search"
  57.     title="<?php echo _t('menu','search');?>"><?php echo _t('menu','search');?></a>
  58. </div>
  59. </div>

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