Code: Select all
'confirm_code' => request_var('confirm_code', ''),
Code: Select all
'confirm_code' => request_var($confirm_code_hash, ''),
As with installing >any< modification it's the one that follows the previous FIND.tanrek wrote:There is a small issue in the installation instructions:
Code: Select all
Open: language/en/common/ucp.php
Code: Select all
Open: language/en/ucp.php
Code: Select all
$is_dst = $config['board_dst'];
$timezone = $config['board_timezone'];
}
Code: Select all
if ($config['board_timezone'] == $timezone || $config['board_timezone'] == ($timezone - 1))
{
$is_dst = DST_AUTO;
$timezone = (date('I')) ? $timezone - 1 : $timezone;
if (!isset($user->lang['tz_zones'][(string) $timezone]))
{
$timezone = $config['board_timezone'];
}
}
else
{
$is_dst = DST_OFF;
$timezone = $config['board_timezone'];
}
Code: Select all
$is_dst = DST_OFF;
$timezone = $config['board_timezone'];
}
Hi,daroPL wrote:You should add it after:Code: Select all
$is_dst = DST_OFF; $timezone = $config['board_timezone']; }
Code: Select all
<tr>
<td class="row1" width="38%"><b class="genmed">{L_USERNAME}: </b><br /><span class="gensmall">{L_USERNAME_EXPLAIN}</span></td>
<td class="row2"><input class="post" type="text" name="username" size="25" value="{USERNAME}" /></td>
</tr>
<tr>
<td class="row1"><b class="genmed">{L_EMAIL_ADDRESS}: </b></td>
<td class="row2"><input class="post" type="text" name="email" size="25" maxlength="100" value="{EMAIL}" /></td>
</tr>
<tr>
<td class="row1"><b class="genmed">{L_CONFIRM_EMAIL}: </b></td>
<td class="row2"><input class="post" type="text" name="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" /></td>
</tr>
<tr>
<td class="row1"><b class="genmed">{L_PASSWORD}: </b><br /><span class="gensmall">{L_PASSWORD_EXPLAIN}</span></td>
<td class="row2"><input class="post" type="password" name="new_password" size="25" value="{PASSWORD}" /></td>
</tr>
<tr>
<td class="row1"><b class="genmed">{L_CONFIRM_PASSWORD}: </b></td>
<td class="row2"><input class="post" type="password" name="password_confirm" size="25" value="{PASSWORD_CONFIRM}" /></td>
</tr>
<tr>
<td class="row1"><b class="genmed">{L_LANGUAGE}: </b></td>
<td class="row2"><select name="lang" onchange="change_language(this.value); return false;">{S_LANG_OPTIONS}</select></td>
</tr>
<tr>
<td class="row1"><b class="genmed">{L_TIMEZONE}: </b></td>
<td class="row2"><select name="tz">{S_TZ_OPTIONS}</select></td>
</tr>
<!-- BEGIN profile_fields -->
<tr>
<td class="row1" width="35%">
<b class="genmed">{profile_fields.LANG_NAME}: </b>
<!-- IF profile_fields.S_REQUIRED --><b>*</b><!-- ENDIF -->
<!-- IF profile_fields.LANG_EXPLAIN --><br /><span class="gensmall">{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF -->
</td>
<td class="row2">{profile_fields.FIELD}<!-- IF profile_fields.ERROR --><br /><span class="gensmall error">{profile_fields.ERROR}</span><!-- ENDIF --></td>
</tr>
<!-- END profile_fields -->
<!-- IF S_CONFIRM_CODE -->
<tr>
<th colspan="2" valign="middle">{L_CONFIRMATION}</th>
</tr>
<tr>
<td class="row3" colspan="2"><span class="gensmall">{L_CONFIRM_EXPLAIN}</span></td>
</tr>
<tr>
<td class="row1" colspan="2" align="center">{CONFIRM_IMG}</td>
</tr>
<tr>
<td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
<td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" /></td>
</tr>
<!-- ENDIF -->
<tr>
<td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
<td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" /></td>
</tr>
Code: Select all
<tr>
<td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
<td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" /></td>
</tr>
Code: Select all
<tr>
<td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
<td class="row2"><input class="post" type="text" name="{ANTISPAM}" size="{CONFIRM_FIELD_SIZE}" maxlength="8" /></td>
</tr>
Code: Select all
<open src="styles/subsilver2/template/ucp_register.html">
<edit>
<find><![CDATA[<td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" /></td>]]></find>
<action type="replace-with"><![CDATA[<td class="row2"><input class="post" type="text" name="{ANTISPAM}" size="8" maxlength="8" /></td>]]></action>
</edit>
</open>