I'm trying to add a setting in the vb options panel that can be used to input html markup, just like the Usergroups Title Markup. This is the code I was working off of, which I got from usergroups.php.
PHP Code:
print_label_row($vbphrase['username_markup'],
'<span style="white-space:nowrap">
<input size="15" type="text" class="bginput" name="usergroup[opentag]" value="' . htmlspecialchars_uni($usergroup['opentag']) . '" tabindex="1" />
<input size="15" type="text" class="bginput" name="usergroup[closetag]" value="' . htmlspecialchars_uni($usergroup['closetag']) . '" tabindex="1" />
</span>', '', 'top', 'htmltags');
This is what I tried using as the optiondata for the setting:
PHP Code:
<input size=15 type=text class=bginput name=sticky[opentag] value=\"\" . htmlspecialchars_uni($sticky[opentag]) . \"\" tabindex=\"1\" />
<input size=15 type=text class=bginput name=sticky[closetag] value=\"\" . htmlspecialchars_uni($sticky[closetag]) . \"\" tabindex=\"1\" />
It looks fine, but upon submitting the data -- it won't stick in the form, so I'm assuming I did something wrong. If someone wouldn't mind lending a hand, I'd really appreciate it.