Can anyone help me to edit this template:
HTML:
<script type="text/javascript">
$jscode
Date.firstDayOfWeek = $firstdayofweek;
Date.format = '<if condition="$dateformat==1">dd/mm/yyyy<else />mm/dd/yyyy</if>';
</script>
<form enctype="multipart/form-data" name="ad" method="post" action="classifieds.php"
onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])">
<input type="hidden" name="adid" value="$ad[id]" />
<input type="hidden" name="do" value="savead" />
<input type="hidden" name="pagenumber" value="$pagenumber" />
<input type="hidden" name="return" value="$return" />
<table cellpadding="4" cellspacing="0" width="100%" class="tborder">
<tr>
<td class="tcat" align="left" height="20">
<div class="smallfont"><b> »
<if condition="$ad[id] == -1">$vbphrase[classifieds_newad]<else />$vbphrase[classifieds_editad]</if></div>
</td>
</tr>
<tr>
<td class="alt1">
<fieldset><legend>$vbphrase[classifieds_general_info]</legend>
<table cellpadding="0" cellspacing="0" border="0" class="fieldset" width="100%">
<tr>
<td width="20%">$vbphrase[classifieds_title]</td>
<if condition="$allowtitlechange || $ad[active]==0">
<td align="left"><input type="text" size="60" name="title" value="$ad[title]" /></td>
<else />
<td><b>$ad[title]</b></td>
</if>
</tr>
<if condition="$ad[active]==0 || ($canmod && $canmoveads) || $userscanmoveads">
<tr>
<td>$vbphrase[classifieds_category]:</td>
<td>
<select name="catid" onChange="catChanged(this)">
$categories
</select>
</td>
</tr>
<tr>
<td>$vbphrase[classifieds_subcat]:</td>
<td>
<select name="subcatid" id="subcategory" onChange="subCatChanged()">
$subcategories
</select>
</td>
</tr>
</if>
<tr>
<td>$vbphrase[classifieds_status]:</td>
<td>
<input type="radio" name="hidden" value="0" <if condition="$ad[hidden]==0">checked</if> /> $vbphrase[classifieds_status_show]
<input type="radio" name="hidden" value="1" <if condition="$ad[hidden]==1">checked</if> /> $vbphrase[classifieds_status_hide]
</td>
</tr>
<tr>
<td colspan="2">
$vbphrase[classifieds_description]:<br />
$messagearea
</td>
</tr>
<tr>
<td>$vbphrase[classifieds_publishdate]:</td>
<td>
<input name="publishdate" id="publishdate" value="$ad[publishdate]" />
<select name="publishhour">
$publishhour
</select>
:
<select name="publishminute">
$publishminute
</select>
</td>
</tr>
<tr>
<td>$vbphrase[classifieds_expirationdate]:</td>
<td>
<input name="expirationdate" id="expirationdate" value="$ad[expirationdate]" />
<select name="expirationhour">
$expirationhour
</select>
:
<select name="expirationminute">
$expirationminute
</select>
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
<tr>
<td class="alt1">
<fieldset><legend>$vbphrase[classifieds_billing]</legend>
<table cellpadding="0" cellspacing="0" border="0" class="fieldset" width="100%">
<tr>
<td width="20%">$vbphrase[classifieds_price]:</td>
<td align="left"><input name="price" size="10" value="$ad[price]" /></td>
</tr>
<tr>
<td width="20%">$vbphrase[classifieds_currency]:</td>
<td align="left">
<select name="currency">
<option value="1" <if condition="$currency==1">selected</if> >Australian Dollar (AUD)</option>
<option value="2" <if condition="$currency==2">selected</if> >Canadian Dollar (CAD)</option>
<option value="3" <if condition="$currency==3">selected</if> >Swiss Franc (CHF)</option>
<option value="4" <if condition="$currency==4">selected</if> >Danish Krone (DKK)</option>
<option value="5" <if condition="$currency==5">selected</if> >Euro (EUR)</option>
<option value="6" <if condition="$currency==6">selected</if> >British Pound (GBP)</option>
<option value="7" <if condition="$currency==7">selected</if> >Hong Kong Dollar (HKD)</option>
<option value="8" <if condition="$currency==8">selected</if> >Japanese Yen (JPY)</option>
<option value="9" <if condition="$currency==9">selected</if> >Norwegian Krone (NOK)</option>
<option value="10" <if condition="$currency==10">selected</if> >New Zealand Dollar (NZD)</option>
<option value="11" <if condition="$currency==11">selected</if> >Swedish Krona (SEK)</option>
<option value="12" <if condition="$currency==12">selected</if> >U.S. Dollar (USD)</option>
</select>
</td>
</tr>
<tr>
<td>$vbphrase[classifieds_paypal]:</td>
<td><input name="paypalemail" size="35" value="$ad[paypalemail]" /></td>
</tr>
</table>
</fieldset>
</td>
</tr>
<tr>
<td class="alt1">
<div id="extrafields">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="fieldset">
$extrafields
</table>
</div>
</td>
</tr>
<tr>
<td class="alt1">
<fieldset><legend>$vbphrase[classifieds_photos]</legend>
<table cellpadding="0" cellspacing="0" border="0" class="fieldset" width="100%">
<tr>
<td width="20%">$vbphrase[classifieds_upload_photo]:</td>
<td align="left"><input type="file" name="photo" /></td>
</tr>
<if condition="!empty($pictures)">
<tr><td> </td></tr>
<tr>
<td colspan="2">
$pictures
</td>
</tr>
</if>
</table>
</fieldset>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="$vbphrase[classifieds_save]" />
</td>
</tr>
</table>
</form>
<script type="text/javascript">
$('#publishdate').datePicker({startDate:'01/01/0'});
<if condition="!empty($ad[publishdate])">
$('#publishdate').dpSetSelected('$ad[publishdate]');
</if>
$('#expirationdate').datePicker({startDate:'01/01/0'});
<if condition="!empty($ad[expirationdate])">
$('#expirationdate').dpSetSelected('$ad[expirationdate]');
</if>
</script>
As it is currently; In fixed width styles- the page is stretched because of the editor. The smilies go way off the page making it too wide.
I had this problem with my forum text editor, but thanks to (ThePhophet, I think) I installed a mod which resolved the problem. Now I need to fix the problem with the editor in classifieds.
If anyone can help me it would be most appreciated. If it's easier- You can just make classifieds not show the smilies.
The template code I've posted here is: classifieds_editad
Cheers