The change there should be:
Code: Select all
</dl>
<dl>
<dt><label for="custom_title">{L_CUSTOM_TITLE}:</label></dt>
<dd><input type="text" id="custom_title" name="custom_title" value="{CUSTOM_TITLE}" /></dd>
Code: Select all
</dl>
<dl>
<dt><label for="custom_title">{L_CUSTOM_TITLE}:</label></dt>
<dd><input type="text" id="custom_title" value="{CUSTOM_TITLE}" /></dd>
And a suggestion for user-friendliness - could the code changes be more in keeping with or less invasive to the existing code. Sorry, I wasn't quite sure how to phrase that so using the code above as an example, if we could instead find eg:
Code: Select all
<dd><textarea id="interests" name="interests" rows="3" cols="30">{INTERESTS}</textarea></dd>
</dl>
Code: Select all
<dl>
<dt><label for="custom_title">{L_CUSTOM_TITLE}:</label></dt>
<dd><input type="text" id="custom_title" name="custom_title" value="{CUSTOM_TITLE}" /></dd>
</dl>
Find:
Code: Select all
'max_sig_img_height' => array('lang' => 'MAX_SIG_IMG_HEIGHT', 'validate' => 'int:0', 'type' => 'text:5:4', 'explain' => true, 'append' => ' ' . $user->lang['PIXEL']),
'legend3' => 'ACP_SUBMIT_CHANGES',
)
);
break;
Code: Select all
case 'custom_title':
$display_vars = array(
'title' => 'ACP_CUSTOM_TITLE_SETTINGS',
'vars' => array(
'legend1' => 'GENERAL_SETTINGS',
'custom_title_mode' => array('lang' => 'CUSTOM_TITLE_MODE', 'validate' => 'int', 'type' => 'custom', 'method' => 'select_custom_title_mode', 'explain' => true),
'custom_title_days' => array('lang' => 'CUSTOM_TITLE_DAYS', 'validate' => 'int', 'type' => 'text:5:4', 'explain' => false),
'custom_title_posts' => array('lang' => 'CUSTOM_TITLE_POSTS', 'validate' => 'int', 'type' => 'text:5:4', 'explain' => false),
'custom_title_maxlength' => array('lang' => 'CUSTOM_TITLE_MAXLENGTH', 'validate' => 'int', 'type' => 'text:5:4', 'explain' => true),
)
);
break;
Otherwise, thanks for picking this up again!