Bouton Administration dans la barre de liens quand on en a les droits nécessaires.
This commit is contained in:
parent
f5554fea4f
commit
874f018bde
|
@ -23,6 +23,7 @@ function get_css() {
|
|||
.site.navigation ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.site.navigation li:hover {
|
||||
|
|
|
@ -39,6 +39,9 @@ class Squelette {
|
|||
$ret .= ' <ul>' . $nl;
|
||||
$ret .= ' <li><a href="' . $racine->get_url() . '">Accueil</a></li>' . $nl;
|
||||
$ret .= ' <li><a href="' . $racine->enfant("galerie")->get_url() . '">Galerie</a></li>' . $nl;
|
||||
if (Permissions::vérifier_permission($racine->enfant("admin"), "set_prop", Authentification::get_utilisateur())) {
|
||||
$ret .= '<li><a href="' . $racine->enfant("admin")->get_url() . '">Administration</a></li>' . $nl;
|
||||
}
|
||||
$ret .= ' </ul>' . $nl;
|
||||
$ret .= ' </div>' . $nl;
|
||||
$ret .= ' <div class="site contenu">' . $nl;
|
||||
|
|
Loading…
Reference in New Issue
Block a user