X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Flayouts%2Fscripts%2Ffooter.phtml;h=514ea243e0bf3c58194a45f907043ec580b9503e;hb=6d5823cb678935cfb8fa170fb31977986dfed34b;hp=08b2ff95e67124410037a5aa61b731706c0167f5;hpb=f3d301cf61cd09ad9089efb5d016e05ce6318bee;p=syj.git diff --git a/application/layouts/scripts/footer.phtml b/application/layouts/scripts/footer.phtml index 08b2ff9..514ea24 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'); } @@ -73,6 +87,16 @@ echo $this->footerLink(array( $this->translate("terms of use"), false); +/* + * faq + */ +echo $this->footerLink(array( + 'route' => 'faq', + 'action' => 'index', + 'controller' => 'faq'), + $this->translate("help"), + false); + echo '' . PHP_EOL; ?>