linea21-modules
[
class tree: linea21-modules
] [
index: linea21-modules
] [
all elements
]
changeLog
Readme.fr.txt
Packages:
linea21-core
linea21-externals
linea21-languages
linea21-modules
linea21-utils
Source for file menurub.php
Documentation is available at
menurub.php
<?php
/**
*
@package
linea21.modules
*
@subpackage
publication
*
@author
linea21 <info@linea21.com>
*
@version
$id SVN
*
@access
public
*
@license
http://opensource.org/licenses/gpl-3.0.html
*/
//////////// Check Inclusion de pages ////////////
if
(
!
function_exists
(
'AuthenthificationProcess'
))
{
include_once
(
"../lib/lib_common.php"
)
;
ReloadIndex
(
'admin'
)
;
}
////////////
//////////// Check Droits utilisateur ////////////
if
(
!
HaveRight
(
'publication'
))
ReloadIndex
(
'admin'
)
;
////////////
$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
=
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'add'
]
;
if
(
$todo
==
'list'
)
$title
=
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'list'
]
;
if
(
$todo
==
'mod'
)
$title
=
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'mod'
]
;
if
(
$todo
==
'sup'
)
$title
=
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'sup'
]
;
if
(
$todo
==
'det'
)
$title
=
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'det'
]
;
?>
<div id="itemenu">
<h1>
<?php
echo
$title
;
?>
</h1>
<div class="contentlink">
<?php
if
(
IsSuperAdmin
(
))
{
?>
<a href="
<?php
echo
$rub_link_add
;
?>
" title="
<?
echo
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'add'
]
;
?>
">
<?
echo
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'add'
]
;
?>
</a>
|
<?php
}
?>
<a href="
<?php
echo
$rub_link_list
;
?>
" title="
<?
echo
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'list'
]
;
?>
">
<?
echo
$GLOBALS
[
'lang'
]
[
'publication'
]
[
'list'
]
;
?>
</a>
|
<a href="
<?php
echo
$search
;
?>
" title="
<?
echo
$GLOBALS
[
'lang'
]
[
'menu'
]
[
'search'
]
;
?>
">
<?
echo
$GLOBALS
[
'lang'
]
[
'menu'
]
[
'search'
]
;
?>
</a>
</div>
</div>
Documentation generated on Sat, 08 Nov 2008 14:53:15 +0100 by
phpDocumentor 1.4.1