Source for file menurub.php
Documentation is available at menurub.php
* @package linea21.modules
* @author Simon Georget <simon@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
//////////// Check Inclusion de pages ////////////
include_once("../lib/lib_common.php");
//////////// Check Droits utilisateur ////////////
$rub_link_add= $rub_link. "&todo=add";
$rub_link_list= $rub_link. "&todo=list";
$rub_link_mod= $rub_link. "&todo=mod";
$rub_link_det= $rub_link. "&todo=det";
$search= "search.php?rub=". $rub;
if($todo== 'add') $title= _t('news','add');
if($todo== 'list') $title= _t('news','list');
if($todo== 'mod') $title= _t('news','mod');
if($todo== 'sup') $title= _t('news','sup');
if($todo== 'det') $title= _t('news','det');
<h1> <?php echo $title; ?></h1>
<div class="contentlink">
<a href=" <?php echo $rub_link_list; ?>" id="content_link_list" title=" <?php echo _t('comment','list');?>"> <?php echo _t('comment','list');?></a>
| <a href=" <?php echo $search; ?>" id="content_link_search" title=" <?php echo _t('menu','search');?>"> <?php echo _t('menu','search');?></a>
|