Added check for existence of block image;
Made language/en/mods/portal.php look nicer
This commit is contained in:
@@ -221,6 +221,8 @@ class acp_portal
|
||||
'module_image_height' => request_var('module_img_height', 0),
|
||||
'module_group_ids' => $module_permission,
|
||||
);
|
||||
|
||||
check_file_src($sql_ary['module_image_src'], '', $module_id);
|
||||
|
||||
$sql = 'UPDATE ' . PORTAL_MODULES_TABLE . '
|
||||
SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
|
||||
|
||||
@@ -37,7 +37,7 @@ if (empty($lang) || !is_array($lang))
|
||||
// Common
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL' => 'Portal',
|
||||
'VIEWING_PORTAL' => 'Portal page',
|
||||
'VIEWING_PORTAL' => 'Portal page',
|
||||
'BACK' => 'Back',
|
||||
));
|
||||
?>
|
||||
Reference in New Issue
Block a user