phpBB

Code Changes

File: includes/acp/acp_reasons.php

  Unmodified   Added   Modified   Removed
Line 103Line 103
						}
}


						}
}


					if (!sizeof($error))

					if (!count($error))

					{
// New reason?
if ($action == 'add')

					{
// New reason?
if ($action == 'add')

Line 171Line 171
					'L_TITLE'		=> $user->lang['REASON_' . $l_title],
'U_ACTION' => $this->u_action . "&id=$reason_id&action=$action",
'U_BACK' => $this->u_action,

					'L_TITLE'		=> $user->lang['REASON_' . $l_title],
'U_ACTION' => $this->u_action . "&id=$reason_id&action=$action",
'U_BACK' => $this->u_action,

					'ERROR_MSG'		=> (sizeof($error)) ? implode('<br />', $error) : '',

					'ERROR_MSG'		=> (count($error)) ? implode('<br />', $error) : '',


'REASON_TITLE' => $reason_row['reason_title'],
'REASON_DESCRIPTION' => $reason_row['reason_description'],


'REASON_TITLE' => $reason_row['reason_title'],
'REASON_DESCRIPTION' => $reason_row['reason_description'],

Line 182Line 182
					'S_AVAILABLE_TITLES'	=> implode($user->lang['COMMA_SEPARATOR'], array_map('htmlspecialchars', array_keys($user->lang['report_reasons']['TITLE']))),
'S_EDIT_REASON' => true,
'S_TRANSLATED' => $translated,

					'S_AVAILABLE_TITLES'	=> implode($user->lang['COMMA_SEPARATOR'], array_map('htmlspecialchars', array_keys($user->lang['report_reasons']['TITLE']))),
'S_EDIT_REASON' => true,
'S_TRANSLATED' => $translated,

					'S_ERROR'				=> (sizeof($error)) ? true : false,

					'S_ERROR'				=> (count($error)) ? true : false,

					)
);


					)
);