]> dev.renevier.net Git - syj.git/blobdiff - application/layouts/scripts/footer.phtml
change "main page" to "create a route"
[syj.git] / application / layouts / scripts / footer.phtml
index 1d73c676c6fd07f5c83e28bd4bc2b50406429d9c..57678579a13e84612ba057093c207313e61e1206 100644 (file)
@@ -14,7 +14,7 @@ if ($reqParams['controller'] == 'idx' and (!isset($reqParams['url']))) {
     $mainpage = false;
 }
 
-$content = $this->translate("main page");
+$content = $this->translate("create a route");
 $link = ($mainpage) ? $this->escape($content) : $this->anchor($this->baseUrl(), $content, array('class' => 'footer-anchor'));
 echo '<div class="footer-link">' . $link . '</div>' . PHP_EOL;
 
@@ -31,7 +31,7 @@ echo $this->footerLink(array(
 /*
  * login, logout, account links
  */
-if ($this->loggedUser()) {
+if ($this->loggedUser) {
     echo $this->footerLink(array(
             'route' => 'account',
             'action'     => 'index',