X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Flayouts%2Fscripts%2Ffooter.phtml;h=f2c1b13e85483ae9ef8c6d2246660cd7dbfd1768;hb=5fe9a5fef61308515cd1913f0bb7cc4a4ecf0253;hp=08b2ff95e67124410037a5aa61b731706c0167f5;hpb=f3d301cf61cd09ad9089efb5d016e05ce6318bee;p=syj.git diff --git a/application/layouts/scripts/footer.phtml b/application/layouts/scripts/footer.phtml index 08b2ff9..f2c1b13 100644 --- a/application/layouts/scripts/footer.phtml +++ b/application/layouts/scripts/footer.phtml @@ -37,6 +37,20 @@ if ($mainpage or $this->loggedUser) { 'action' => 'index', 'controller' => 'account'), $this->translate("my account"), true, + 'logged-show logged-pseudo', + $this->loggedUser ? " ({$this->loggedUser->pseudo})": " (%s)" + ); +} + +/* + * list link + */ +if ($mainpage or $this->loggedUser) { + echo $this->footerLink(array( + 'route' => 'list', + 'action' => 'index', + 'controller' => 'list'), + $this->translate("my routes"), false, 'logged-show'); }