2 echo '<div id="footer">' . PHP_EOL;
3 echo '<div id="footer-padding"></div>' . PHP_EOL;
9 $front = Zend_Controller_Front::getInstance();
10 $reqParams = $front->getRequest()->getParams();
11 if ($reqParams['controller'] == 'idx' and (!isset($reqParams['url']))) {
17 $content = $this->translate("create a route");
18 $link = ($mainpage) ? $this->escape($content) : $this->anchor($this->baseUrl(), $content, array('class' => 'footer-anchor'));
19 echo '<div class="footer-link">' . $link . '</div>' . PHP_EOL;
24 echo $this->footerLink(array(
26 'controller' => 'contact',
27 'route' => 'contact'),
28 $this->translate("contact"),
29 isset($this->redirectLinks) ? $this->redirectLinks : true);
34 if ($mainpage or $this->loggedUser) {
35 echo $this->footerLink(array(
38 'controller' => 'account'),
39 $this->translate("my account"), true,
40 'logged-show logged-pseudo',
41 $this->loggedUser ? " ({$this->loggedUser->pseudo})": " (%s)"
48 if ($mainpage or $this->loggedUser) {
49 echo $this->footerLink(array(
52 'controller' => 'list'),
53 $this->translate("my routes"), false,
58 * login or logout links
61 if ($this->loggedUser) {
63 echo $this->footerLink(array(
66 'controller' => 'login'),
67 $this->translate("logout"),
70 echo $this->footerLink(array(
73 'controller' => 'login'),
74 $this->translate("login"),
75 isset($this->redirectLinks) ? $this->redirectLinks : true
83 echo $this->footerLink(array(
84 'route' => 'termsofuse',
86 'controller' => 'termsofuse'),
87 $this->translate("terms of use"),
93 echo $this->footerLink(array(
96 'controller' => 'faq'),
97 $this->translate("faq"),
100 echo '</div>' . PHP_EOL;