Archived
1
0
Fork 0

layout: use the BrowserString helper.

This commit is contained in:
Henrik Hautakoski 2013-02-19 17:24:41 +01:00
parent 4fbd142ed7
commit 35a93c67f4

View file

@ -38,15 +38,7 @@
</span>
<span class="float-right">
<?php
$obj = new Zend_Http_UserAgent();
echo $obj->getDevice()->getBrowser();
echo ' ';
echo implode('.', array_slice(explode('.', $obj->getDevice()->getBrowserVersion()), 0, 2));
?>
<?=$this->BrowserString()?>
<br />
<a href="<?=$this->url(array('action' => 'about'),'default-default') ?>#cookies"><?=$this->translate('u:cookies')?></a> -
<a href="<?=$this->url(array('action' => 'about'),'default-default') ?>#about"><?=$this->translate('uw:about')?></a>