aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2004-12-22 02:06:42 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2004-12-22 02:06:42 +0000
commit1e334fca0edeeb519a6d59808c5d82fbc989e6e3 (patch)
tree43f0d62f111c8b3c172cd744d8d30d4e6438530a /phpBB/includes/functions.php
parent5ac4556ef18b87a040515bc33b5863af0f2e4795 (diff)
downloadforums-1e334fca0edeeb519a6d59808c5d82fbc989e6e3.tar
forums-1e334fca0edeeb519a6d59808c5d82fbc989e6e3.tar.gz
forums-1e334fca0edeeb519a6d59808c5d82fbc989e6e3.tar.bz2
forums-1e334fca0edeeb519a6d59808c5d82fbc989e6e3.tar.xz
forums-1e334fca0edeeb519a6d59808c5d82fbc989e6e3.zip
Remove version information from display
git-svn-id: file:///svn/phpbb/trunk@5036 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 5ac6f635b7..891c169dc5 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -336,7 +336,7 @@ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list
ORDER BY left_id ASC';
$result = $db->sql_query($sql);
- $right = $cat_right = $padding = 0;
+ $right = $padding = 0;
$padding_store = array('0' => 0);
$display_jumpbox = false;
$iteration = 0;
@@ -388,11 +388,6 @@ function make_jumpbox($action, $forum_id = false, $select_all = false, $acl_list
$right = $row['right_id'];
- if ($row['right_id'] - $row['left_id'] > 1)
- {
- $cat_right = max($cat_right, $row['right_id']);
- }
-
$template->assign_block_vars('jumpbox_forums', array(
'FORUM_ID' => $row['forum_id'],
'FORUM_NAME' => $row['forum_name'],
@@ -1709,7 +1704,7 @@ function page_header($page_title = '')
'L_INDEX' => $user->lang['FORUM_INDEX'],
'L_ONLINE_EXPLAIN' => $l_online_time,
- 'U_PRIVATEMSGS' => "{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=" . (($user->data['user_new_privmsg'] || $l_privmsgs_text_unread) ? 'unread' : 'view_messages'),
+ 'U_PRIVATEMSGS' => "{$phpbb_root_path}ucp.$phpEx$SID&i=" . (($user->data['user_new_privmsg'] || $l_privmsgs_text_unread) ? 'unread' : 'view_messages'),
'U_RETURN_INBOX' => "{$phpbb_root_path}ucp.$phpEx$SID&i=pm&folder=inbox",
'U_POPUP_PM' => "{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=popup",
'U_MEMBERLIST' => "{$phpbb_root_path}memberlist.$phpEx$SID",
@@ -1797,7 +1792,6 @@ function page_footer()
}
$template->assign_vars(array(
- 'PHPBB_VERSION' => $config['version'],
'DEBUG_OUTPUT' => (defined('DEBUG')) ? $debug_output : '',
'U_ACP' => ($auth->acl_get('a_') && $user->data['user_id'] != ANONYMOUS) ? "adm/index.$phpEx?sid=" . $user->data['session_id'] : '')