Mythotical
11-17-2009, 10:02 PM
Ok that has me confused, all I did was update a template to reflect the new changes in vB4 but that keeps coming up when I save the new template.
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">{vb:rawphrase bfc_download_edit_file}</td>
</tr>
<tr>
<td align="center" width="100%">
<form enctype="multipart/form-data" action="{vb:raw vboptions.bburl}/{vb:raw vboptions bfc_download_file_name}.php?do=doedit" name="vbform" method="post" <vb:if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, {vb:raw vboptions.postminchars})"</vb:if>>
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="username" value="{vb:var efile.username}" />
<input type="hidden" name="userid" value="{vb:var efile.userid}" />
<input type="hidden" name="fid" value="{vb:var efile.file_id}" />
<table width="100%" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder">
<tr>
<td class="alt1">
{vb:rawphrase bfc_download_title}
<input type="text" name="title" value="{vb:var efile.title}" /><br />
</td>
<td class="alt1">
{vb:rawphrase bfc_download_version_number}
<input type="text" name="version" value="{vb:var efile.version}" /><br />
</td>
</tr>
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)" />
<tr>
<td class="alt2">
{vb:rawphrase bfc_download_categories}
<select name="catid">
{vb:var optionhtml}
</select>
</td>
<td class="alt2">
{vb:rawphrase bfc_download_usergroup}
<input type="text" name="usergroupid" value="{vb:var efile.usergroupid}" /><br />
</td>
</tr>
<vb:else />
<input type="hidden" name="usergroupid" value="" />
<tr>
<td class="alt2" colspan="2">
{vb:rawphrase bfc_download_categories}
<select name="catid" />
{vb:var optionhtml}
</select>
</td>
</tr>
</vb:if>
<tr>
<td class="alt1" colspan="2">
{vb:var messagearea}
</td>
</tr>
<tr>
<td class="alt2" colspan="2">
Current File: {vb:var efile.name}<br />
{vb:rawphrase bfc_download_file_select}
<input type="hidden" name="MAX_FILE_SIZE" value="{vb:raw vboptions.bfc_download_maxfilesize}" />
<input name="userfile" type="file" id="userfile" />
</td>
</tr>
<tr>
<td class="alt1" colspan="2" align="right"><input name="upload" type="submit" class="box" id="upload" value="Submit"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
Ignore the table tags and such, not ready to alter the loook as of yet, just want to get it working first.
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">{vb:rawphrase bfc_download_edit_file}</td>
</tr>
<tr>
<td align="center" width="100%">
<form enctype="multipart/form-data" action="{vb:raw vboptions.bburl}/{vb:raw vboptions bfc_download_file_name}.php?do=doedit" name="vbform" method="post" <vb:if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, {vb:raw vboptions.postminchars})"</vb:if>>
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="username" value="{vb:var efile.username}" />
<input type="hidden" name="userid" value="{vb:var efile.userid}" />
<input type="hidden" name="fid" value="{vb:var efile.file_id}" />
<table width="100%" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder">
<tr>
<td class="alt1">
{vb:rawphrase bfc_download_title}
<input type="text" name="title" value="{vb:var efile.title}" /><br />
</td>
<td class="alt1">
{vb:rawphrase bfc_download_version_number}
<input type="text" name="version" value="{vb:var efile.version}" /><br />
</td>
</tr>
<vb:if condition="is_member_of($bbuserinfo, 5,6,7)" />
<tr>
<td class="alt2">
{vb:rawphrase bfc_download_categories}
<select name="catid">
{vb:var optionhtml}
</select>
</td>
<td class="alt2">
{vb:rawphrase bfc_download_usergroup}
<input type="text" name="usergroupid" value="{vb:var efile.usergroupid}" /><br />
</td>
</tr>
<vb:else />
<input type="hidden" name="usergroupid" value="" />
<tr>
<td class="alt2" colspan="2">
{vb:rawphrase bfc_download_categories}
<select name="catid" />
{vb:var optionhtml}
</select>
</td>
</tr>
</vb:if>
<tr>
<td class="alt1" colspan="2">
{vb:var messagearea}
</td>
</tr>
<tr>
<td class="alt2" colspan="2">
Current File: {vb:var efile.name}<br />
{vb:rawphrase bfc_download_file_select}
<input type="hidden" name="MAX_FILE_SIZE" value="{vb:raw vboptions.bfc_download_maxfilesize}" />
<input name="userfile" type="file" id="userfile" />
</td>
</tr>
<tr>
<td class="alt1" colspan="2" align="right"><input name="upload" type="submit" class="box" id="upload" value="Submit"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
Ignore the table tags and such, not ready to alter the loook as of yet, just want to get it working first.