<tr>
- <td align="center" class="bottom right switch_sw$content[sw]">
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
<input type="hidden" name="url_id[$content[url_id]]" value="1" />
- <input type="hidden" name="url_userid[$content[url_id]]" value="$content[url_userid_raw]" />
+ <input type="hidden" name="url_userid[$content[url_id]]" value="{%pipe,convertZeroToNull=$content[url_userid_raw]%}" />
$content[url_userid]
</td>
- <td align="center" class="bottom right switch_sw$content[sw]">
- <input type="text" name="url[$content[url_id]]" size="20" maxlength="255" value="$content[url]" />
+ <td align="center" class="bottom right {%template,ColorSwitch%}">
+ <input type="text" class="form_field" name="url[$content[url_id]]" size="20" maxlength="255" value="$content[url]" />
</td>
</tr>