phpBB

Code Changes

File: includes/acp/acp_language.php

  Unmodified   Added   Modified   Removed
Line 274Line 274

$lang_pack = array(
'iso' => $lang_iso,


$lang_pack = array(
'iso' => $lang_iso,

					'name'		=> trim(htmlspecialchars($file[0])),

					'name'		=> trim(htmlspecialchars($file[0], ENT_COMPAT)),

					'local_name'=> trim(htmlspecialchars($file[1], ENT_COMPAT, 'UTF-8')),
'author' => trim(htmlspecialchars($file[2], ENT_COMPAT, 'UTF-8'))
);

					'local_name'=> trim(htmlspecialchars($file[1], ENT_COMPAT, 'UTF-8')),
'author' => trim(htmlspecialchars($file[2], ENT_COMPAT, 'UTF-8'))
);

Line 420Line 420
			foreach ($new_ary as $iso => $lang_ary)
{
$template->assign_block_vars('notinst', array(

			foreach ($new_ary as $iso => $lang_ary)
{
$template->assign_block_vars('notinst', array(

					'ISO'			=> htmlspecialchars($lang_ary['iso']),

					'ISO'			=> htmlspecialchars($lang_ary['iso'], ENT_COMPAT),

					'LOCAL_NAME'	=> htmlspecialchars($lang_ary['local_name'], ENT_COMPAT, 'UTF-8'),
'NAME' => htmlspecialchars($lang_ary['name'], ENT_COMPAT, 'UTF-8'),
'U_INSTALL' => $this->u_action . '&action=install&iso=' . urlencode($lang_ary['iso']) . '&hash=' . generate_link_hash('acp_language'))

					'LOCAL_NAME'	=> htmlspecialchars($lang_ary['local_name'], ENT_COMPAT, 'UTF-8'),
'NAME' => htmlspecialchars($lang_ary['name'], ENT_COMPAT, 'UTF-8'),
'U_INSTALL' => $this->u_action . '&action=install&iso=' . urlencode($lang_ary['iso']) . '&hash=' . generate_link_hash('acp_language'))