mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 04:48:53 +00:00
merge
git-svn-id: file:///svn/phpbb/trunk@8534 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4b9077a58b
commit
ebb801ebff
1 changed files with 9 additions and 0 deletions
|
@ -696,6 +696,15 @@ parse_css_file = {PARSE_CSS_FILE}
|
||||||
trigger_error($user->lang['NO_TEMPLATE'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_TEMPLATE'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($save_changes && !check_form_key('acp_styles'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
else if (!$save_changes)
|
||||||
|
{
|
||||||
|
add_form_key('acp_styles');
|
||||||
|
}
|
||||||
|
|
||||||
// save changes to the template if the user submitted any
|
// save changes to the template if the user submitted any
|
||||||
if ($save_changes && $template_file)
|
if ($save_changes && $template_file)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue