Changed install instructions;

Changed version check tag to board3_portal_v2_dev; 
Added more language variables; 
Added version check to ACP and limited it to only showing in the general settings area; 
Changed all config variables from portal_ to board3_; 
Added new install file; 
Fixed jumpbox bug that caused a useless error message; 
Added block images for team block and user menu;
This commit is contained in:
Marc Alexander
2010-08-28 13:02:16 +00:00
parent f1a44abc2c
commit 438a9cdd59
16 changed files with 184 additions and 160 deletions

View File

@@ -21,18 +21,13 @@ class board3_portal_check_version
{
function version()
{
global $portal_config, $phpbb_root_path, $phpEx;
if (!function_exists('obtain_portal_config'))
{
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
}
$portal_config = obtain_portal_config();
global $config, $phpbb_root_path, $phpEx;
return array(
'author' => 'Saint_hh',
'title' => 'Board3 Portal',
'tag' => 'board3_portal_v2',
'version' => $portal_config['portal_version'],
'tag' => 'board3_portal_v2_dev',
'version' => $config['board3_portal_version'],
'file' => array('board3.de', 'updatecheck', 'board3_portal.xml'),
);
}

View File

@@ -43,11 +43,11 @@
<fieldset>
<legend>{L_MODULE_OPTIONS}</legend>
<dl>
<dt><label for="module_name">{L_MODULE_NAME}:</label></dt>
<dt><label for="module_name">{L_MODULE_NAME}:</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
</dl>
<dl>
<dt><label for="module_image">{L_MODULE_IMAGE}:</label></dt>
<dt><label for="module_image">{L_MODULE_IMAGE}:</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
</dl>

View File

@@ -4,13 +4,13 @@
<!-- IF S_EDIT -->
<h1>{L_ACP_PORTAL_MODULES}</h1>
<p>{L_ACP_PORTAL_MODULES_EXPLAIN}</p>
<p>{L_ACP_PORTAL_MODULES_EXP}</p>
<form id="acp_portal_modules" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_GENERAL_OPTIONS}</legend>
<dl>
<dt><label for="module_classname">{L_CHOOSE_MODULE}:</label><br /><span>{L_CHOOSE_MODULE_EXPLAIN}</span></dt>
<dt><label for="module_classname">{L_CHOOSE_MODULE}:</label><br /><span>{L_CHOOSE_MODULE_EXP}</span></dt>
<dd><select name="module_classname" id="module_classname">{S_MODULE_NAMES}</select></dd>
</dl>
@@ -25,7 +25,7 @@
<!-- ELSE -->
<h1>{L_ACP_PORTAL_MODULES}</h1>
<p>{L_ACP_PORTAL_MODULES_EXPLAIN}</p>
<p>{L_ACP_PORTAL_MODULES_EXP}</p>
<form id="acp_portal_modules" method="post" action="{U_ACTION}">
<fieldset class="tabulated">