Kirk Y
06-11-2006, 11:15 PM
I'm trying to create a pair of HTML Markup Fields in a vBulletin Option Setting. This is the code I'm using:
print_label_row($vbphrase['tt_mark'],
'<span style="white-space:nowrap">
<input size="15" type="text" class="bginput" name="setting[thread_opentag]" value="' . htmlspecialchars_uni($setting['thread_opentag']) . '" tabindex="1" />
<input size="15" type="text" class="bginput" name="setting[thread_closetag]" value="' . htmlspecialchars_uni($setting['thread_closetag']) . '" tabindex="1" />
</span>', '', 'top', 'htmltags'
);
My problem is that the inputted data won't save! Someone please save me from pulling out my hair.
print_label_row($vbphrase['tt_mark'],
'<span style="white-space:nowrap">
<input size="15" type="text" class="bginput" name="setting[thread_opentag]" value="' . htmlspecialchars_uni($setting['thread_opentag']) . '" tabindex="1" />
<input size="15" type="text" class="bginput" name="setting[thread_closetag]" value="' . htmlspecialchars_uni($setting['thread_closetag']) . '" tabindex="1" />
</span>', '', 'top', 'htmltags'
);
My problem is that the inputted data won't save! Someone please save me from pulling out my hair.