// You have submitted data then we have to reset the SQLs
initSqls();
- // Connect to MySQL server
+ // Restore PHPs error handler to prevent ours to handle errors,
+ // e.g. failed connection attempts. We want to handle them on
+ // our own.
restore_error_handler();
+
+ // Connect to MySQL server
SQL_CONNECT($GLOBALS['install_mysql']['host'], $GLOBALS['install_mysql']['login'], $GLOBALS['install_mysql']['pass1'], __FILE__, __LINE__);
// Is the link up?
$content['wait_selection'] = createTimeSelections(getConfig('beg_notify_wait') , 'beg_notify_wait' , 'ms' );
// Init all Y/N selections
- foreach (array('rallye', 'active', 'mode', 'ral_enable_notify', 'ral_disable_notify', 'new_member_notify', 'include_own') as $entry) {
+ foreach (array('rallye', 'active', 'mode', 'rallye_enable_notify', 'rallye_disable_notify', 'new_member_notify', 'include_own') as $entry) {
$content[$entry . '_y'] = '';
$content[$entry . '_n'] = '';
$content[$entry . '_' . strtolower(getConfig('beg_' . $entry))] = ' checked="checked"';
}
} else {
// Load template
- loadTemplate('admin_config_proxy', false, $content);
+ loadTemplate('admin_config_proxy');
}
// [EOF]
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_ACTIVE_LIMIT--}:</td>
- <td align="center">
+ <td class="bottom" align="right">{--ADMIN_ACTIVE_LIMIT--}:</td>
+ <td class="bottom" align="center">
<input type="input" name="active_limit" class="admin_normal" value="{?active_limit?}" size="5" maxlength="20" />
</td>
</tr>
{--ADMIN_BEG_RAL_ENABLE_NOTIFY--}
</td>
<td align="center">
- <input type="radio" name="beg_ral_enable_notify" class="admin_normal" value="Y"$content[ral_enable_notify_y] /> {--YES--}<br />
- <input type="radio" name="beg_ral_enable_notify" class="admin_normal" value="N"$content[ral_enable_notify_n] /> {--NO--}
+ <input type="radio" name="beg_rallye_enable_notify" class="admin_normal" value="Y"$content[rallye_enable_notify_y] /> {--YES--}<br />
+ <input type="radio" name="beg_rallye_enable_notify" class="admin_normal" value="N"$content[rallye_enable_notify_n] /> {--NO--}
</td>
</tr>
<tr>
{--ADMIN_BEG_RAL_DISABLE_NOTIFY--}
</td>
<td align="center">
- <input type="radio" name="beg_ral_disable_notify" class="admin_normal" value="Y"$content[ral_disable_notify_y] /> {--YES--}<br />
- <input type="radio" name="beg_ral_disable_notify" class="admin_normal" value="N"$content[ral_disable_notify_n] /> {--NO--}
+ <input type="radio" name="beg_rallye_disable_notify" class="admin_normal" value="Y"$content[rallye_disable_notify_y] /> {--YES--}<br />
+ <input type="radio" name="beg_rallye_disable_notify" class="admin_normal" value="N"$content[rallye_disable_notify_n] /> {--NO--}
</td>
</tr>
<tr>