Fixed not working module deletion;
Updated language files; Updated module files and fixed a few errors; Added HTML files for modules; Fixed not working odering of modules;
This commit is contained in:
@@ -280,6 +280,8 @@ class acp_portal
|
||||
$result = $db->sql_query_limit($sql, 1);
|
||||
$module_data = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$directory = $phpbb_root_path . 'portal/modules/';
|
||||
|
||||
if ($module_data !== false)
|
||||
{
|
||||
@@ -438,7 +440,7 @@ class acp_portal
|
||||
'MODULE_NAME' => (isset($user->lang[$row['module_name']])) ? $user->lang[$row['module_name']] : $row['module_name'],
|
||||
'MODULE_IMAGE' => ($row['module_image_src']) ? '<img src="' . $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/' . $row['module_image_src'] . '" alt="' . $row['module_name'] . '" />' : '',
|
||||
|
||||
'U_DELETE' => $this->u_action . '&module_id=' . $row['module_id'] . '&action=delete',
|
||||
'U_DELETE' => $this->u_action . '&module_id=' . $row['module_id'] . '&module_classname=' . $row['module_classname'] . '&action=delete',
|
||||
'U_EDIT' => append_sid("{$phpbb_admin_path}index.$phpEx", 'i=portal&mode=config&module_id=' . $row['module_id']),
|
||||
'U_MOVE_UP' => $this->u_action . '&module_id=' . $row['module_id'] . '&action=move_up',
|
||||
'U_MOVE_DOWN' => $this->u_action . '&module_id=' . $row['module_id'] . '&action=move_down',
|
||||
|
||||
Reference in New Issue
Block a user