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,
46 if ($mainpage or $this->loggedUser) {
47 echo $this->footerLink(array(
50 'controller' => 'list'),
51 $this->translate("my routes"), false,
56 * login or logout links
59 if ($this->loggedUser) {
61 echo $this->footerLink(array(
64 'controller' => 'login'),
65 $this->translate("logout"),
68 echo $this->footerLink(array(
71 'controller' => 'login'),
72 $this->translate("login"),
73 isset($this->redirectLinks) ? $this->redirectLinks : true
81 echo $this->footerLink(array(
82 'route' => 'termsofuse',
84 'controller' => 'termsofuse'),
85 $this->translate("terms of use"),
88 echo '</div>' . PHP_EOL;