]> dev.renevier.net Git - syj.git/blobdiff - application/layouts/scripts/footer.phtml
change "faq" link to "help"
[syj.git] / application / layouts / scripts / footer.phtml
index cce5e7fce79304c1d92debe6f9f563e6a83ab835..514ea243e0bf3c58194a45f907043ec580b9503e 100644 (file)
@@ -37,7 +37,9 @@ if ($mainpage or $this->loggedUser) {
             'action'     => 'index',
             'controller' => 'account'),
         $this->translate("my account"), true,
-        'logged-show');
+        'logged-show logged-pseudo',
+        $this->loggedUser ?  " ({$this->loggedUser->pseudo})": " (%s)"
+        );
 }
 
 /*
@@ -85,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 '</div>' . PHP_EOL;
 
 ?>