Permalink
Browse files

Migrate to crumbs function

  • Loading branch information...
Quy committed Feb 3, 2019
1 parent 9c8f6f2 commit 56c8f47051615ac0ed2d6d96ab52d105c3f1b4c9
Showing with 7 additions and 10 deletions.
  1. +7 −10 admin_bans.php
@@ -416,18 +416,19 @@
// Generate paging links
$paging_links = '<span class="pages-label">'.$lang_common['Pages'].' </span>'.paginate($num_pages, $p, 'admin_bans.php?find_ban=&amp;'.implode('&amp;', $query_str));
$crumbs = generate_crumbs(array(
array($lang_admin_common['Admin'].' '.$lang_admin_common['Index'], 'admin_index.php'),
array($lang_admin_common['Bans'], 'admin_bans.php'),
$lang_admin_bans['Results head']));
$page_title = array(pun_htmlspecialchars($pun_config['o_board_title']), $lang_admin_common['Admin'], $lang_admin_common['Bans'], $lang_admin_bans['Results head']);
define('PUN_ACTIVE_PAGE', 'admin');
require PUN_ROOT.'header.php';
?>
<div class="linkst">
<div class="inbox crumbsplus">
<ul class="crumbs">
<li><a href="admin_index.php"><?php echo $lang_admin_common['Admin'].' '.$lang_admin_common['Index'] ?></a></li>
<li><span&#160;</span><a href="admin_bans.php"><?php echo $lang_admin_common['Bans'] ?></a></li>
<li><span&#160;</span><strong><?php echo $lang_admin_bans['Results head'] ?></strong></li>
</ul>
<?php echo $crumbs ?>
<div class="pagepost">
<p class="pagelink"><?php echo $paging_links ?></p>
</div>
@@ -493,11 +494,7 @@
<div class="pagepost">
<p class="pagelink"><?php echo $paging_links ?></p>
</div>
<ul class="crumbs">
<li><a href="admin_index.php"><?php echo $lang_admin_common['Admin'].' '.$lang_admin_common['Index'] ?></a></li>
<li><span&#160;</span><a href="admin_bans.php"><?php echo $lang_admin_common['Bans'] ?></a></li>
<li><span&#160;</span><strong><?php echo $lang_admin_bans['Results head'] ?></strong></li>
</ul>
<?php echo $crumbs ?>
<div class="clearer"></div>
</div>
</div>

0 comments on commit 56c8f47

Please sign in to comment.