define('SERVER_URL', "http://www.mxchange.org");
// Current SVN revision
-define('CURR_SVN_REVISION', "599");
+define('CURR_SVN_REVISION', "600");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
//* DEBUG: */ echo __LINE__.": DESTROY!<br />\n";
// Remove cache files
if ($cacheInstance->cache_file("extensions", true)) $cacheInstance->cache_destroy();
- if ($cacheInstance->cache_file("mod_reg", true)) $cacheInstance->cache_destroy();
- if ($cacheInstance->cache_file("config", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("mod_reg")) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("config")) $cacheInstance->cache_destroy();
} // END - if
// Check for added include files
//* DEBUG: */ echo __LINE__.": DESTROY!<br />\n";
// Remove cache files
if ($cacheInstance->cache_file("extensions", true)) $cacheInstance->cache_destroy();
- if ($cacheInstance->cache_file("mod_reg", true)) $cacheInstance->cache_destroy();
- if ($cacheInstance->cache_file("config", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("mod_reg")) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("config")) $cacheInstance->cache_destroy();
// @TODO This causes the whole (!) menu cache being purged
CACHE_PURGE_ADMIN_MENU();
// Update cache
if (EXT_IS_ACTIVE("cache")) {
- if ($cacheInstance->cache_file("extensions", true) == true) $cacheInstance->cache_destroy();
- if ($cacheInstance->cache_file("config", true) == true) $cacheInstance->cache_destroy();
- if ($cacheInstance->cache_file("mod_reg", true) == true) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("extensions", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("config")) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("mod_reg")) $cacheInstance->cache_destroy();
} // END - if
// Remove array
}
// Version number
-$EXT_VERSION = "0.1.9";
+$EXT_VERSION = "0.2.0";
// Auto-set extension version
if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION;
// Version history array (add more with , "0.1" and so on)
-$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.1.0", "0.1.1", "0.1.2", "0.1.3", "0.1.4", "0.1.5", "0.1.6", "0.1.7", "0.1.8", "0.1.9");
+$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.1.0", "0.1.1", "0.1.2", "0.1.3", "0.1.4", "0.1.5", "0.1.6", "0.1.7", "0.1.8", "0.1.9", "0.2.0");
switch ($EXT_LOAD_MODE)
{
case "0.0.4": // SQL queries for v0.0.4
// Update notes (these will be set as task text!)
- if (EXT_IS_ACTIVE("cache"))
- {
+ if (EXT_IS_ACTIVE("cache")) {
// Check for cache when extension is already installed
if ($cacheInstance->cache_file("extensions", true)) $cacheInstance->cache_destroy();
- }
+ } // END - if
$UPDATE_NOTES = "Spalte "keep_active" ist hinzugefügt. Cache wurde reinitialisiert.";
break;
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Administratormenü experimentell gecacht.";
break;
+
+ case "0.2.0": // SQL queries for v0.2.0
+ // This update depends on sql_patches
+ $EXT_UPDATE_DEPENDS = "sql_patches";
+
+ // Update notes (these will be set as task text!)
+ $UPDATE_NOTES = "Die Erweiterung hängt nun von der <strong>sql_patches</strong> ab.";
+ break;
}
break;
require_once(PATH."inc/libs/cache_functions.php");
require_once(PATH."inc/extensions/ext-cache.php");
if ($cacheInstance->cache_file("extensions", true)) $cacheInstance->cache_destroy();
- if ($cacheInstance->cache_file("mod_reg", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("mod_reg")) $cacheInstance->cache_destroy();
} // END - if
} // END - if
// Shall I remove the cache file?
if ((EXT_IS_ACTIVE("cache")) && (is_object($cacheInstance))) {
// Rebuild cache
- if ($cacheInstance->cache_file($cache, true)) {
+ if ($cacheInstance->cache_file($cache)) {
// Destroy it
$cacheInstance->cache_destroy();
} // END - if
// Remove cache file
if ((EXT_IS_ACTIVE("cache")) && ($cache_update == "1")) {
- if ($cacheInstance->cache_file("admins", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("admins")) $cacheInstance->cache_destroy();
}
}
// Remove cache if cache system is activated
if ((EXT_IS_ACTIVE("cache")) && ($cache_update == "1")) {
- if ($cacheInstance->cache_file("admins", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("admins")) $cacheInstance->cache_destroy();
}
}
var $cache_pointer = false;
var $cache_data = "";
var $cache_version = "";
+ var $cache_file = "";
// Constructor
function mxchange_cache($interval, $path, $tested) {
}
}
- function cache_file($file, $ignore_ctime=false) {
- global $INC;
+ // Checks validity of cache file and if content is given
+ function cache_file ($file, $forceContent = false) {
+ // Remember cache file
+ $this->cache_file = $file;
+
// Construct FQFN (full qualified file name)
$inc = $this->cache_path.$file.".cache";
$this->cache_ctime = $ctime;
// Is the cache file outdated?
- if (((time() - $ctime) >= $this->update_interval) && (!$ignore_ctime)) {
+ if (($status) && ((time() - $ctime) >= $this->update_interval)) {
// Ok, we need an update!
$status = false;
- }
+ } // END - if
// Return status
return $status;
$cache_version = null;
// Load cache file
- $this->cache_data = implode("", file($this->cache_inc));
+ $this->cache_data[$this->cache_file] = implode("", file($this->cache_inc));
// Execute cache file
- eval($this->cache_data);
+ eval($this->cache_data[$this->cache_file]);
if (is_array($data)) {
// Cache data
- $this->cache_data = $data;
+ $this->cache_data[$this->cache_file] = $data;
// Cache version found?
- if ((isset($cache_version)) && (is_array($cache_version))) {
+ if ((is_array($cache_version)) && (count($cache_version) > 0)) {
// Remember it as well...
- $this->cache_version = $cache_version;
- } // END - if
+ $this->cache_version[$this->cache_file] = $cache_version;
+ } else {
+ // Invalid cache so destroy it
+ $this->cache_destroy();
+
+ // Clear cached data
+ $this->cache_data[$this->cache_file] = array();
+ }
// Return cache
- return $this->cache_data;
+ return $this->cache_data[$this->cache_file];
} else {
// Cache problem detected!
$this->cache_destroy();
}
}
- function cache_remove($search, $data, $array)
- {
+ function cache_remove($search, $data, $array) {
global $ARRAY;
if ((FILE_READABLE($this->cache_inc)) && (is_writeable($this->cache_inc))) {
// Load cache into dummy array
}
}
- function cache_replace($search, $replace, $search_key, $array)
- {
+ function cache_replace($search, $replace, $search_key, $array) {
global $ARRAY;
if ((FILE_READABLE($this->cache_inc)) && (is_writeable($this->cache_inc)))
{
// Get extension version
$ext_ver = GET_EXT_VERSION($ext_name);
- //* DEBUG: */ echo __METHOD__.": ext_name={$ext_name},ext_ver={$ext_ver},cache_version={$this->cache_version}<br />\n";
// Compare both
- return ((isset($this->cache_version[$ext_name])) && ($this->cache_version[$ext_name] == $ext_ver));
+ return ((isset($this->cache_version[$this->cache_file][$ext_name])) && ($this->cache_version[$this->cache_file][$ext_name] == $ext_ver));
}
function add_raw_row ($key, $value) {
if ((($cacheArray['up_refid'][$cacheArray['back_level']] == $uid) || ($cacheArray['up_refid'][$cacheArray['back_level']] == 0)) && (GET_EXT_VERSION("cache") >= "0.1.2") && (!isset($cacheArray['back_cached']))) {
// Remove cache here
//* DEBUG: */ print __FUNCTION__."(<font color=\"#0000aa\">".__LINE__."</font>):uid={$uid},ref={$cacheArray['up_refid'][$cacheArray['back_level']]} - CACHE!<br />\n";
- if ($cacheInstance->cache_file("refback", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("refback")) $cacheInstance->cache_destroy();
$cacheArray['back_cached'] = 1;
} // END - if
include_once(PATH."inc/libs/cache_functions.php");
$cacheMode = "";
include_once(PATH."inc/extensions/ext-cache.php");
- switch($cacheInstance->cache_file("extensions", true)) {
+ switch (($cacheInstance->cache_file("extensions", true)) && ($cacheInstance->ext_version_matches("sql_patches"))) {
case true : $cacheMode = "load"; break;
case false: $cacheMode = "init"; break;
}
if ($cacheMode == "init") {
// Init cache file
$cacheInstance->cache_init("EXTENSIONS");
+ $cacheInstance->store_extension_version("sql_patches");
if ($_CONFIG['cache_exts'] == "N") $cacheMode = "skip";
} // END - if
// Load extension data from cache file
$EXT_DUMMY = $cacheInstance->cache_load();
+ // Is the cache file fine?
+ if (!isset($EXT_DUMMY['ext_name'])) {
+ // Cache file is damaged so kill it
+ $cacheInstance->cache_destroy();
+
+ // Skip any further execution
+ return;
+ } // END - if
+
// Begin with the cache preparation of extensions
$EXT_NAMES = array();
foreach ($EXT_DUMMY['ext_name'] as $k => $name) {
if (FILE_READABLE($INC)) {
// Add it
$EXT_POOL[] = $INC;
- }
+ } // END - if
} // END - if
// Load CSS file
// Version number
$EXT_DUMMY['ext_version'][$name] = $EXT_DUMMY['ext_version'][$k];
unset($EXT_DUMMY['ext_version'][$k]);
+
// Extension is active
$EXT_DUMMY['ext_active'][$name] = $EXT_DUMMY['ext_active'][$k];
unset($EXT_DUMMY['ext_active'][$k]);
+
// Ext menu
$EXT_DUMMY['ext_menu'][$name] = $EXT_DUMMY['ext_menu'][$k];
unset($EXT_DUMMY['ext_menu'][$k]);
+
// Extension id
$EXT_DUMMY['ext_id'][$name] = $EXT_DUMMY['ext_id'][$k];
$id = $EXT_DUMMY['ext_id'][$name];
// Free memory
SQL_FREERESULT($res_ext_crt);
-}
+} // END - if
// Load include files if found
if (!empty($INC_POOL[0])) {
} // END - if
// Let's start with the admins table...
-if (($cacheInstance->cache_file("admins", true) == true) && ($cacheInstance->ext_version_matches("admins"))) {
+if (($cacheInstance->cache_file("admins")) && ($cacheInstance->ext_version_matches("admins"))) {
// Load cache
global $cacheArray;
$cacheArray['admins'] = $cacheInstance->cache_load();
// Next cached table are the admins_acls...
if (GET_EXT_VERSION("admins") >= "0.3") {
// Check for cache file
- if ($cacheInstance->cache_file("admins_acls", true) == true) {
+ if (($cacheInstance->cache_file("admins_acls")) && ($cacheInstance->ext_version_matches("admins"))) {
// Load referal system from cache
global $cacheArray;
$cacheArray['admin_acls'] = $cacheInstance->cache_load();
} elseif (($_CONFIG['cache_acls'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
// Create cache file here
$cacheInstance->cache_init("ADMINS_ACLS");
+ $cacheInstance->store_extension_version("admins");
// Load all modules and their data
$result = SQL_QUERY("SELECT id, admin_id, action_menu, what_menu, access_mode FROM "._MYSQL_PREFIX."_admins_acls ORDER BY admin_id, action_menu, what_menu", __FILE__, __LINE__);
}
// Next cached table is the configuration (config)...
-if ($cacheInstance->cache_file("config", true) == true) {
+if (($cacheInstance->cache_file("config", true)) && ($cacheInstance->ext_version_matches("sql_patches"))) {
// Load config from cache
global $cacheArray;
- $cacheArrayConfig = $cacheInstance->cache_load();
+ $cacheArray['config'] = $cacheInstance->cache_load();
+
+ // TODO: Do we really need to cache the config???
} elseif (($_CONFIG['cache_config'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
// Create cache file here
$cacheInstance->cache_init("CONFIG");
+ $cacheInstance->store_extension_version("sql_patches");
// Load all modules and their data
- $result = SQL_QUERY("SELECT * FROM "._MYSQL_PREFIX."_config ORDER BY config", __FILE__, __LINE__);
+ $result = SQL_QUERY("SELECT * FROM "._MYSQL_PREFIX."_config ORDER BY config ASC", __FILE__, __LINE__);
while ($data = SQL_FETCHARRAY($result)) {
// Add row to cache file
$cacheInstance->add_row($data);
}
// Next cached table is the module registry (mod_reg)...
-if ($cacheInstance->cache_file("mod_reg", true) == true) {
+if (($cacheInstance->cache_file("mod_reg")) && ($cacheInstance->ext_version_matches("sql_patches"))) {
// Load cache
global $cacheArray;
$cacheArray['modules'] = $cacheInstance->cache_load();
} elseif (($_CONFIG['cache_modreg'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
// Create cache file here
$cacheInstance->cache_init("MODULES");
+ $cacheInstance->store_extension_version("sql_patches");
// Load all modules and their data
if (GET_EXT_VERSION("sql_patches") >= "0.3.6") {
}
// Next cached table is the referal system (refdepths)...
-if ($cacheInstance->cache_file("refdepths", true) == true) {
+if (($cacheInstance->cache_file("refdepths")) && ($cacheInstance->ext_version_matches("sql_patches"))) {
// Load referal system from cache
global $cacheArray;
$cacheArray['ref_depths'] = $cacheInstance->cache_load();
} elseif (($_CONFIG['cache_refdepth'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
// Create cache file here
$cacheInstance->cache_init("REFDEPTHS");
+ $cacheInstance->store_extension_version("sql_patches");
// Load all modules and their data
$result = SQL_QUERY("SELECT id, level, percents FROM "._MYSQL_PREFIX."_refdepths ORDER BY level", __FILE__, __LINE__);
}
// Next cached table is the referal system (refsystem)...
-if ($cacheInstance->cache_file("refsystem", true) == true) {
+if (($cacheInstance->cache_file("refsystem")) && ($cacheInstance->ext_version_matches("sql_patches"))) {
// Load referal system from cache
global $cacheArray;
$cacheArray['ref_system'] = $cacheInstance->cache_load();
} elseif (($_CONFIG['cache_refsys'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
// Create cache file here
$cacheInstance->cache_init("REFSYSTEM");
+ $cacheInstance->store_extension_version("sql_patches");
// Load all modules and their data
$result = SQL_QUERY("SELECT id, userid, level, counter FROM "._MYSQL_PREFIX."_refsystem ORDER BY userid, level", __FILE__, __LINE__);
}
// Next cached table is the referal system (themes)...
-if (($cacheInstance->cache_file("themes", true) == true) && ($cacheInstance->ext_version_matches("theme"))) {
+if (($cacheInstance->cache_file("themes")) && ($cacheInstance->ext_version_matches("theme"))) {
// Load referal system from cache
global $cacheArray;
$cache = $cacheInstance->cache_load();
$cacheName = "admin_".$act."_".$wht."_".GET_LANGUAGE()."_".strtolower(get_session('admin_login'));
// Is that cache there?
- if ($cacheInstance->cache_file($cacheName, true)) {
+ if ($cacheInstance->cache_file($cacheName)) {
// Then load it
$data = $cacheInstance->cache_load();
// Display form is default
$FORM = true;
-if ((isset($_POST['add'])) && (!empty($_POST['login'])) && (!empty($_POST['email'])) && (!empty($_POST['pass1'])) && (!empty($_POST['pass2'])) && ($_POST['pass1'] == $_POST['pass2']))
-{
+if ((isset($_POST['add'])) && (!empty($_POST['login'])) && (!empty($_POST['email'])) && (!empty($_POST['pass1'])) && (!empty($_POST['pass2'])) && ($_POST['pass1'] == $_POST['pass2'])) {
// Add admin when not added already
$result = SQL_QUERY_ESC("SELECT id FROM "._MYSQL_PREFIX."_admins WHERE login='%s' LIMIT 1",
- array($_POST['login']), __FILE__, __LINE__);
- if (SQL_NUMROWS($result) == 0)
- {
+ array($_POST['login']), __FILE__, __LINE__);
+ if (SQL_NUMROWS($result) == 0) {
// Login does not exist so we can create it.
$FORM = false;
$result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_admins (login, password, email) VALUES ('%s','%s','%s')",
LOAD_TEMPLATE("admin_settings_saved", false, "<FONT class=\"admin_done\">".ADMIN_ADMINS_ADD_DONE."</FONT>");
// Remove cache file
- if (EXT_IS_ACTIVE("cache"))
- {
- if ($cacheInstance->cache_file("admins", true)) $cacheInstance->cache_destroy();
+ if (EXT_IS_ACTIVE("cache")) {
+ if ($cacheInstance->cache_file("admins")) $cacheInstance->cache_destroy();
}
- }
- else
- {
+ } else {
// Free memory
SQL_FREERESULT($result);
}
}
-if ($FORM)
-{
+if ($FORM) {
// Clear unset variables
if (empty($_POST['login'])) $_POST['login'] = "";
if (empty($_POST['email'])) $_POST['email'] = "";
// Update cache when installed
if (EXT_IS_ACTIVE("cache")) {
- if ($cacheInstance->cache_file("admins_acls", true) == true) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("admins_acls")) $cacheInstance->cache_destroy();
// Purge menu cache
CACHE_PURGE_ADMIN_MENU($_POST['admin'][$id]);
// Update cache when installed
if (EXT_IS_ACTIVE("cache")) {
- if ($cacheInstance->cache_file("admins_acls", true) == true) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("admins_acls")) $cacheInstance->cache_destroy();
// @TODO This causes the whole (!) menu cache being rebuild
CACHE_PURGE_ADMIN_MENU();
// Update cache when installed
if (EXT_IS_ACTIVE("cache")) {
- if ($cacheInstance->cache_file("admins_acls", true) == true) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("admins_acls")) $cacheInstance->cache_destroy();
// Purge cache
CACHE_PURGE_ADMIN_MENU($_POST['admin_id'], $_POST['action_menu'], $_POST['what_menu']);
}
// Delete deactivated cache files
- if (($_POST['cache_admins'] == "N") && ($cacheInstance->cache_file("admins", true))) {
+ if (($_POST['cache_admins'] == "N") && ($cacheInstance->cache_file("admins"))) {
$cacheInstance->cache_destroy();
}
- if (($_POST['cache_acls'] == "N") && ($cacheInstance->cache_file("acls", true))) {
+ if (($_POST['cache_acls'] == "N") && ($cacheInstance->cache_file("acls"))) {
$cacheInstance->cache_destroy();
}
if (($_POST['cache_exts'] == "N") && ($cacheInstance->cache_file("extensions", true))) {
$cacheInstance->cache_destroy();
}
- if (($_POST['cache_config'] == "N") && ($cacheInstance->cache_file("config", true))) {
+ if (($_POST['cache_config'] == "N") && ($cacheInstance->cache_file("config"))) {
$cacheInstance->cache_destroy();
}
- if (($_POST['cache_modreg'] == "N") && ($cacheInstance->cache_file("modreg", true))) {
+ if (($_POST['cache_modreg'] == "N") && ($cacheInstance->cache_file("modreg"))) {
$cacheInstance->cache_destroy();
}
- if (($_POST['cache_refdepth'] == "N") && ($cacheInstance->cache_file("refdepth", true))) {
+ if (($_POST['cache_refdepth'] == "N") && ($cacheInstance->cache_file("refdepth"))) {
$cacheInstance->cache_destroy();
}
- if (($_POST['cache_refsys'] == "N") && ($cacheInstance->cache_file("refsys", true))) {
+ if (($_POST['cache_refsys'] == "N") && ($cacheInstance->cache_file("refsys"))) {
$cacheInstance->cache_destroy();
}
// Remove cache file if version matches
if (GET_EXT_VERSION("cache") >= "0.1.2")
{
- if ($cacheInstance->cache_file("mod_reg", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("mod_reg")) $cacheInstance->cache_destroy();
}
// Entries updated
// Update cache file
if (GET_EXT_VERSION("cache") >= "0.1.2") {
- if ($cacheInstance->cache_file("refdepths", true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("refdepths")) $cacheInstance->cache_destroy();
}
break;
// Do we need to update cache file?
if ((EXT_IS_ACTIVE("cache")) && ($cacheMode != "no")) {
// Remove cache file (will be auto-created again!)
- if ($cacheInstance->cache_file("config" , true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("config")) $cacheInstance->cache_destroy();
if ($cacheInstance->cache_file("extensions", true)) $cacheInstance->cache_destroy();
- if ($cacheInstance->cache_file("mod_reg" , true)) $cacheInstance->cache_destroy();
+ if ($cacheInstance->cache_file("mod_reg")) $cacheInstance->cache_destroy();
} // END - if
} elseif (GET_EXT_VERSION($ext_name) != "") {
// Motify the admin that we have a problem here...
return ((EXT_IS_ACTIVE("demo")) && (get_session('admin_login') == "demo"));
}
//
-function LOAD_CONFIG($no="0") {
+function LOAD_CONFIG ($no="0") {
global $cacheArray;
$CFG_DUMMY = array();
</TR>
<TR>
<TD width="50%" align="right" class="install">{--MYSQL_HOST--} : </TD>
- <TD width="50%"><INPUT type="text" name="mysql[host]" size="15"
+ <TD width="50%"><INPUT type="text" name="mysql[host]" size="25"
value="{!__MYSQL_HOST--}" class="install_normal"></TD>
</TR>
<TR>
</TR>
<TR>
<TD width="50%" align="right" class="install">{--MYSQL_DBASE--} : </TD>
- <TD width="50%"><INPUT type="text" name="mysql[dbase]" size="15"
+ <TD width="50%"><INPUT type="text" name="mysql[dbase]" size="25"
value="{!__MYSQL_DBASE--}" class="install_normal"></TD>
</TR>
<TR>
</TR>
<TR>
<TD width="50%" align="right" class="install">{--MYSQL_PREFIX--} : </TD>
- <TD width="50%"><INPUT type="text" name="mysql[prefix]" size="15"
+ <TD width="50%"><INPUT type="text" name="mysql[prefix]" size="25"
value="{!__MYSQL_PREFIX--}" class="install_normal"></TD>
</TR>
<TR>
</TR>
<TR>
<TD width="50%" align="right" class="install">{--MYSQL_LOGIN--} : </TD>
- <TD width="50%"><INPUT type="text" name="mysql[login]" size="10"
+ <TD width="50%"><INPUT type="text" name="mysql[login]" size="25"
value="{!__MYSQL_LOGIN--}" class="install_normal"></TD>
</TR>
<TR>
<TR>
<TD width="50%" align="right" class="install">{--MYSQL_PASS1--} : </TD>
<TD width="50%"><INPUT type="password" name="mysql[pass1]"
- size="10" class="install_normal" class="install_normal"></TD>
+ size="25" class="install_normal" class="install_normal"></TD>
</TR>
<TR>
<TD colspan="2" height="10" class="seperator"> </TD>
<TR>
<TD width="50%" align="right" class="install">{--MYSQL_PASS2--} : </TD>
<TD width="50%"><INPUT type="password" name="mysql[pass2]"
- size="10" class="install_normal" class="install_normal"></TD>
+ size="25" class="install_normal" class="install_normal"></TD>
</TR>
<TR>
<TD colspan="2" height="21" class="seperator"> </TD>
<TR>
<TD width="50%" align="right" class="install">{--TEXT_SMTP_HOST--} : </TD>
<TD width="50%">
- <INPUT type="text" name="smtp_host" size="15" value="{!__SMTP_HOST--}" class="install_normal">
+ <INPUT type="text" name="smtp_host" size="25" value="{!__SMTP_HOST--}" class="install_normal">
</TD>
</TR>
<TR>
<TR>
<TD width="50%" align="right" class="install">{--TEXT_SMTP_USER--} : </TD>
<TD width="50%">
- <INPUT type="text" name="smtp_user" size="15" value="{!__SMTP_USER--}" class="install_normal">
+ <INPUT type="text" name="smtp_user" size="25" value="{!__SMTP_USER--}" class="install_normal">
</TD>
</TR>
<TR>
<TR>
<TD width="50%" align="right" class="install">{--TEXT_SMTP_PASS1--} : </TD>
<TD width="50%">
- <INPUT type="password" name="smtp_pass1" size="15" value="{!__SMTP_PASS1--}" class="install_normal">
+ <INPUT type="password" name="smtp_pass1" size="25" value="{!__SMTP_PASS1--}" class="install_normal">
</TD>
</TR>
<TR>
<TR>
<TD width="50%" align="right" class="install">{--TEXT_SMTP_PASS2--} : </TD>
<TD width="50%">
- <INPUT type="password" name="smtp_pass2" size="15" value="{!__SMTP_PASS2--}" class="install_normal">
+ <INPUT type="password" name="smtp_pass2" size="25" value="{!__SMTP_PASS2--}" class="install_normal">
</TD>
</TR>
<TR>