layout: use the BrowserString helper.
This commit is contained in:
parent
4fbd142ed7
commit
35a93c67f4
1 changed files with 1 additions and 9 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Reference in a new issue