Change item nav
This commit is contained in:
parent
3ea7240849
commit
fdc0298caf
@ -527,21 +527,15 @@ nav .active a {
|
||||
}
|
||||
|
||||
.nav-left {
|
||||
width: 30%;
|
||||
width: 50%;
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav-middle {
|
||||
text-align: center;
|
||||
float: left;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.nav-right {
|
||||
text-align: right;
|
||||
margin-left: 70%;
|
||||
width: 30%;
|
||||
margin-left: 50%;
|
||||
width: 50%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
@ -15,12 +15,16 @@
|
||||
<span class="nav-left">
|
||||
<?php if ($item_nav['previous']): ?>
|
||||
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['previous']['id'] ?>" id="previous-item" title="<?= t($item_nav['previous']['title']) ?>">« <?= t('Previous') ?></a>
|
||||
<?php else: ?>
|
||||
« <?= t('Previous') ?>
|
||||
<?php endif ?>
|
||||
</span>
|
||||
|
||||
<span class="nav-right">
|
||||
<?php if ($item_nav['next']): ?>
|
||||
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['next']['id'] ?>" id="next-item" title="<?= t($item_nav['next']['title']) ?>"><?= t('Next') ?> »</a>
|
||||
<?php else: ?>
|
||||
<?= t('Next') ?> »
|
||||
<?php endif ?>
|
||||
</span>
|
||||
</nav>
|
||||
@ -77,12 +81,16 @@
|
||||
<span class="nav-left">
|
||||
<?php if ($item_nav['previous']): ?>
|
||||
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['previous']['id'] ?>" id="previous-item" title="<?= t($item_nav['previous']['title']) ?>">« <?= t('Previous') ?></a>
|
||||
<?php else: ?>
|
||||
« <?= t('Previous') ?>
|
||||
<?php endif ?>
|
||||
</span>
|
||||
|
||||
<span class="nav-right">
|
||||
<?php if ($item_nav['next']): ?>
|
||||
<a href="?action=show&menu=<?= $menu ?>&id=<?= $item_nav['next']['id'] ?>" id="next-item" title="<?= t($item_nav['next']['title']) ?>"><?= t('Next') ?> »</a>
|
||||
<?php else: ?>
|
||||
<?= t('Next') ?> »
|
||||
<?php endif ?>
|
||||
</span>
|
||||
</nav>
|
||||
|
Loading…
Reference in New Issue
Block a user