aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-02-17 06:20:41 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-02-17 06:20:41 +0000
commit83c605a6e222c9d64659c3037f4dddca4fe59c05 (patch)
tree3f407d030f3373b059b23fd91593b974b1d35aa0 /phpBB/includes/functions.php
parent615e676b0241fab7c4ab92ed5963c2769e34b7e1 (diff)
downloadforums-83c605a6e222c9d64659c3037f4dddca4fe59c05.tar
forums-83c605a6e222c9d64659c3037f4dddca4fe59c05.tar.gz
forums-83c605a6e222c9d64659c3037f4dddca4fe59c05.tar.bz2
forums-83c605a6e222c9d64659c3037f4dddca4fe59c05.tar.xz
forums-83c605a6e222c9d64659c3037f4dddca4fe59c05.zip
More capitalised lang strings, fixed some unset or incorrect variables
git-svn-id: file:///svn/phpbb/trunk@3469 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php15
1 files changed, 6 insertions, 9 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 5863ff1f53..823e62febd 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -201,9 +201,9 @@ function get_forum_rules($mode, &$rules, &$forum_id)
function make_jumpbox($action, $forum_id = false, $extra_form_fields = array())
{
- global $auth, $template, $user, $db, $nav_links, $phpEx;
+ global $auth, $template, $user, $db, $nav_links, $phpEx, $SID;
- $boxstring = '<select name="f" onChange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"><option value="-1">' . $user->lang['Select_forum'] . '</option><option value="-1">-----------------</option>';
+ $boxstring = '<select name="f" onChange="if(this.options[this.selectedIndex].value != -1){ forms[\'jumpbox\'].submit() }"><option value="-1">' . $user->lang['SELECT_FORUM'] . '</option><option value="-1">-----------------</option>';
$sql = 'SELECT forum_id, forum_name, forum_postable, left_id, right_id
FROM ' . FORUMS_TABLE . '
@@ -277,9 +277,6 @@ function make_jumpbox($action, $forum_id = false, $extra_form_fields = array())
}
$template->assign_vars(array(
- 'L_GO' => $user->lang['Go'],
- 'L_JUMP_TO' => $user->lang['Jump_to'],
-
'S_JUMPBOX_SELECT' => $boxstring,
'S_JUMPBOX_ACTION' => $action)
);
@@ -922,10 +919,10 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
break;
case E_NOTICE:
-// if (defined('DEBUG_EXTRA'))
-// {
-// echo "PHP Notice on line <b>$errline</b> in <b>$errfile</b> :: <b>$msg_text</b>";
-// }
+ if (defined('DEBUG_EXTRA'))
+ {
+ echo "PHP Notice on line <b>$errline</b> in <b>$errfile</b> :: <b>$msg_text</b><br />";
+ }
break;
case E_USER_ERROR: