diff --git a/phpBB/admin/admin_groups.php b/phpBB/admin/admin_groups.php
index 1e6bed8b26..e66aa2187b 100644
--- a/phpBB/admin/admin_groups.php
+++ b/phpBB/admin/admin_groups.php
@@ -343,9 +343,17 @@ else
"S_GROUP_SELECT" => $select_list)
);
+ //
+ // Faking the IF... ELSE statements again...
+ //
+ if( count($group_list) > 0 )
+ {
+ $template->assign_block_vars("select_box", array());
+ }
+
$template->pparse('body');
}
include('page_footer_admin.'.$phpEx);
-?>
\ No newline at end of file
+?>
diff --git a/phpBB/login.php b/phpBB/login.php
index f0c5e0e94e..c8d7bfa65b 100644
--- a/phpBB/login.php
+++ b/phpBB/login.php
@@ -97,10 +97,10 @@ if( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) || isset($
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? $HTTP_POST_VARS['redirect'] : "";
$template->assign_vars(array(
- "META" => '')
+ "META" => '')
);
- $message = $lang['Error_login'] . '
' . sprintf($lang['Click_return_login'], '', '') . '
' . sprintf($lang['Click_return_index'], '', '');
+ $message = $lang['Error_login'] . '
' . sprintf($lang['Click_return_login'], '', '') . '
' . sprintf($lang['Click_return_index'], '', '');
message_die(GENERAL_MESSAGE, $message);
}
@@ -111,10 +111,10 @@ if( isset($HTTP_POST_VARS['login']) || isset($HTTP_GET_VARS['login']) || isset($
$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? $HTTP_POST_VARS['redirect'] : "";
$template->assign_vars(array(
- "META" => '')
+ "META" => '')
);
- $message = $lang['Error_login'] . '
' . sprintf($lang['Click_return_login'], '', '') . '
' . sprintf($lang['Click_return_index'], '', '');
+ $message = $lang['Error_login'] . '
' . sprintf($lang['Click_return_login'], '', '') . '
' . sprintf($lang['Click_return_index'], '', '');
message_die(GENERAL_MESSAGE, $message);
}
@@ -227,4 +227,4 @@ else
}
-?>
\ No newline at end of file
+?>
diff --git a/phpBB/templates/subSilver/admin/group_select_body.tpl b/phpBB/templates/subSilver/admin/group_select_body.tpl
index e00f85e110..7428918896 100644
--- a/phpBB/templates/subSilver/admin/group_select_body.tpl
+++ b/phpBB/templates/subSilver/admin/group_select_body.tpl
@@ -8,9 +8,11 @@