Changeset 1592
- Timestamp:
- 04/11/08 21:20:48 (5 months ago)
- Files:
-
- branches/punbb-1.3-dev/upload/footer.php (modified) (1 diff)
- branches/punbb-1.3-dev/upload/include/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/punbb-1.3-dev/upload/footer.php
r1533 r1592 154 154 155 155 // Display the "Jump to" drop list 156 if ($pun_ config['o_quickjump'] == '1')156 if ($pun_user['g_read_board'] == '1' && $pun_config['o_quickjump'] == '1') 157 157 { 158 158 // Load cached quickjump branches/punbb-1.3-dev/upload/include/functions.php
r1583 r1592 478 478 $links[] = '<li id="navindex"'.((PUN_PAGE == 'index') ? ' class="isactive"' : '').'><a href="'.pun_link($pun_url['index']).'"><span>'.$lang_common['Index'].'</span></a></li>'; 479 479 480 if ($pun_user['g_ view_users'] == '1')480 if ($pun_user['g_read_board'] == '1' && $pun_user['g_view_users'] == '1') 481 481 $links[] = '<li id="navuserlist"'.((PUN_PAGE == 'userlist') ? ' class="isactive"' : '').'><a href="'.pun_link($pun_url['users']).'"><span>'.$lang_common['User list'].'</span></a></li>'; 482 482 … … 486 486 if ($pun_user['is_guest']) 487 487 { 488 if ($pun_user['g_ search'] == '1')488 if ($pun_user['g_read_board'] == '1' && $pun_user['g_search'] == '1') 489 489 $links[] = '<li id="navsearch"'.((PUN_PAGE == 'search') ? ' class="isactive"' : '').'><a href="'.pun_link($pun_url['search']).'"><span>'.$lang_common['Search'].'</span></a></li>'; 490 490 … … 496 496 if (!$pun_user['is_admmod']) 497 497 { 498 if ($pun_user['g_ search'] == '1')498 if ($pun_user['g_read_board'] == '1' && $pun_user['g_search'] == '1') 499 499 $links[] = '<li id="navsearch"'.((PUN_PAGE == 'search') ? ' class="isactive"' : '').'><a href="'.pun_link($pun_url['search']).'"><span>'.$lang_common['Search'].'</span></a></li>'; 500 500
