diff --git a/root/adm/style/acp_portal_modules.html b/root/adm/style/acp_portal_modules.html new file mode 100644 index 00000000..977d85a9 --- /dev/null +++ b/root/adm/style/acp_portal_modules.html @@ -0,0 +1,149 @@ + + + + + +
{L_ACP_PORTAL_MODULES_EXPLAIN}
+ + + + + +{L_ACP_PORTAL_MODULES_EXPLAIN}
+ + + + + + \ No newline at end of file diff --git a/root/portal.php b/root/portal.php index a356a00e..82fef4c3 100644 --- a/root/portal.php +++ b/root/portal.php @@ -6,8 +6,6 @@ * @license http://opensource.org/licenses/gpl-license.php GNU Public License */ -// DO NOT TOUCH YET! - /** * @ignore */ @@ -17,7 +15,7 @@ define('IN_PORTAL', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); -require($phpbb_root_path . 'common.' . $phpEx); +include($phpbb_root_path . 'common.' . $phpEx); $portal_root_path = PORTAL_ROOT_PATH; $portal_icons_path = PORTAL_ICONS_PATH; include($phpbb_root_path . $portal_root_path . 'includes/functions_modules.' . $phpEx); @@ -28,6 +26,7 @@ $user->session_begin(); $auth->acl($user->data); $user->setup('mods/portal'); + $sql = 'SELECT * FROM ' . PORTAL_MODULES_TABLE; $result = $db->sql_query($sql);