Fixed table presentations with new bootstrap, added HTML::abbr(), added public access to Database::config(), enabled DB compression to be disabled in database.php

This commit is contained in:
Deon George
2016-05-03 11:01:28 +10:00
parent 113597f9eb
commit 8f659c50c6
13 changed files with 126 additions and 226 deletions

View File

@@ -48,29 +48,31 @@ if ($use_n6)
for ($i = $n7; $i <= $n8; $i++)
$links[$i] = $i;
?>
<div class="pagination pagination-centered">
<ul>
<li class="<?php echo $x=($page->first_page() !== FALSE) ? '' : 'disabled' ?>">
<a href="<?php echo $x ? '#' :HTML::chars($page->url($page->first_page())) ?>" rel="first"><?php echo __('First') ?></a>
</li>
<li class="<?php echo $x=($page->previous_page() !== FALSE) ? '' : 'disabled' ?>">
<a href="<?php echo $x ? '#' :HTML::chars($page->url($page->previous_page())) ?>" rel="prev"><?php echo __('Previous') ?></a>
</li>
<?php foreach ($links as $number => $content): ?>
<li class="<?php echo $x=($page->current_page() == $number) ? 'active disabled' : '' ?>">
<a href="<?php echo $x ? '#' : HTML::chars($page->url($number)) ?>"><?php echo $content ?></a>
</li>
<?php endforeach ?>
<li class="<?php echo $x=($page->next_page() !== FALSE) ? '' : 'disabled' ?>">
<a href="<?php echo $x ? '#' : HTML::chars($page->url($page->next_page())) ?>" rel="next"><?php echo __('Next') ?></a>
</li>
<li class="<?php echo $x=($page->last_page() !== FALSE) ? '' : 'disabled' ?>">
<a href="<?php echo $x ? '#' : HTML::chars($page->url($page->last_page())) ?>" rel="last"><?php echo __('Last') ?></a>
</li>
</ul>
</div>
<nav>
<div class="text-center">
<ul class="pagination">
<li class="<?php echo $x=($page->first_page() !== FALSE) ? '' : 'disabled' ?>">
<a href="<?php echo $x ? '#' :HTML::chars($page->url($page->first_page())) ?>" rel="first"><?php echo __('First') ?></a>
</li>
<li class="<?php echo $x=($page->previous_page() !== FALSE) ? '' : 'disabled' ?>">
<a href="<?php echo $x ? '#' :HTML::chars($page->url($page->previous_page())) ?>" rel="prev"><?php echo __('Previous') ?></a>
</li>
<?php foreach ($links as $number => $content): ?>
<li class="<?php echo $x=($page->current_page() == $number) ? 'active disabled' : '' ?>">
<a href="<?php echo $x ? '#' : HTML::chars($page->url($number)) ?>"><?php echo $content ?></a>
</li>
<?php endforeach ?>
<li class="<?php echo $x=($page->next_page() !== FALSE) ? '' : 'disabled' ?>">
<a href="<?php echo $x ? '#' : HTML::chars($page->url($page->next_page())) ?>" rel="next"><?php echo __('Next') ?></a>
</li>
<li class="<?php echo $x=($page->last_page() !== FALSE) ? '' : 'disabled' ?>">
<a href="<?php echo $x ? '#' : HTML::chars($page->url($page->last_page())) ?>" rel="last"><?php echo __('Last') ?></a>
</li>
</ul>
</div>
</nav>