1
0
Fork 0
MySQLDumper/application/views/mobile/scripts/partials/header.phtml
2012-11-25 15:41:51 +01:00

19 Zeilen
Kein EOL
760 B
PHTML

<?php
$t = Msd_Language::getInstance()->getTranslator();
?>
<div data-role="header" data-position="inline">
<?php if(isset($this->lastPage)): ?>
<?php $lastPage = $this->lastPage;?>
<?php if($lastPage['url'] != 'back'): ?>
<a href="<?php echo $lastPage['url'];?>" data-ajax="false" data-icon="back">
<?php else: ?>
<a href="#" data-rel="back" data-icon="back">
<?php endif; ?>
<?php echo $t->_($lastPage['title']);?></a>
<?php endif; ?>
<h1><?php echo $t->_($this->title); ?></h1>
<a href="<?php echo $this->absoluteUrl(array(
'controller' => 'index',
'action' => 'index'
)); ?>" data-ajax="false" data-icon="home"><?php echo $t->_('L_HOME'); ?></a>
</div>