diff options
author | MaZderMind | 2015-03-31 22:01:35 +0200 |
---|---|---|
committer | MaZderMind | 2015-03-31 22:01:35 +0200 |
commit | d3c8802ff0d2dd2edcacfb66ed6c0cd5c16627b7 (patch) | |
tree | 36ba57ccb456366a7e67eee753776f9da084900a | |
parent | 81f90290f708f888962b4afd4f5dad26b50a507f (diff) |
Hardcode about-Url in Template
-rw-r--r-- | model/Conference.php | 4 | ||||
-rw-r--r-- | template/assemblies/header.phtml | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/model/Conference.php b/model/Conference.php index 6753c0c..e9e33a6 100644 --- a/model/Conference.php +++ b/model/Conference.php @@ -63,8 +63,4 @@ class Conference extends ModelBase public function getFooterHtml() { return $this->get('CONFERENCE.FOOTER_HTML'); } - - public function getAboutUrl() { - return 'about/'; - } } diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml index cb6b991..7572b08 100644 --- a/template/assemblies/header.phtml +++ b/template/assemblies/header.phtml @@ -18,7 +18,7 @@ <span class="fa fa-video-camera"></span> </a> <? endif ?> - <a class="form-control btn btn-default" href="<?=h($conference->getAboutUrl())?>"> + <a class="form-control btn btn-default" href="about/"> <span class="fa fa-info"></span> </a> </div> |