Source for file menurub.php
Documentation is available at menurub.php
* @package linea21.modules
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
* 'Resource' module is used by 'Publication' and 'Workshop' modules
//////////// Check Inclusion de pages ////////////
include_once("../lib/lib_common.php");
//////////// Check Droits utilisateur ////////////
if($todo== 'add_l' || $todo== 'add_m' || $todo== 'add_b') $title= _t('resources','add');
if($todo== 'add_l') $title.= " '". _t('resources','link_res'). "'";
if($todo== 'add_m') $title.= " '". _t('resources','multi_res'). "'";
if($todo== 'add_b') $title.= " '". _t('resources','biblio_res'). "'";
if($todo== 'mod_l' || $todo== 'mod_m' || $todo== 'mod_b') $title= _t('resources','mod');
if($todo== 'mod_l') $title.= " '". _t('resources','link_res'). "'";
if($todo== 'mod_m') $title.= " '". _t('resources','multi_res'). "'";
if($todo== 'mod_b') $title.= " '". _t('resources','biblio_res'). "'";
if($todo== 'sup') $title= _t('resources','sup');
if($type== 'W') $rub_link_back= "?rub=workshoprep&todo=det&id=". $parent;
if($type== 'P') $rub_link_back= "?rub=publication&todo=det&id=". $parent;
$search= "search.php?rub=". $mod_inc;
<h1> <?php echo cutText($title, 30, 1); ?></h1>
<div class="contentlink"><a href=" <?php echo $rub_link_back; ?>"
title=" <?php echo _t('resources','go_back'). _t('resources',$mod_inc. '_type'); ?>"> <?php echo _t('resources','go_back'). _t('resources',$mod_inc. '_type'); ?></a>
| <a href=" <?php echo $search; ?>" id="content_link_search"
title=" <?php echo _t('menu','search');?>"> <?php echo _t('menu','search');?></a>
|