Webmastersite.net
Register Log In

closing </IF> missing
in postreply.tpl

Comments on closing </IF> missing

gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Jul 26, 2005 - 10:32 AM:

Got a message from postreply.php that closing </IF> was missing.

Looked in the source and added </IF> at the end of this block:

<IF {THISMEMBERGROUPCANUPLOAD}>
<tr>
<td class="labelscolumn" width="20%"><span class="labels">Attach Files:</span></td>
<td class="optionscolumn" width="80%">
<IF {COMMENTNUMATTACHMENTS} is less than {THISMEMBERGROUPATTACHPERPOST}><input type="file" name="filefield"> <input type="submit" name="uploadattachment" value="Attach" class="button"></IF>

<IF {COMMENTNUMATTACHMENTS}>
<br>Current Attachments:<br>
<!-- BEGIN ATTACHMENTS -->
<input type="checkbox" name="attachdelete[]" value="{ATTACHID}"> {ATTACHFILETITLE} ({ATTACHKB} KB)<br>
<!-- END ATTACHMENTS -->
<input type="submit" name="attachdeletion" value="Delete Selected" class="button">
</IF>
</td>
</tr>
</IF>
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 26, 2005 - 5:31 PM:

Must be your own customization since there's no such message.
sleeplessonline
Member

Usergroup: Customer
Joined: Jan 14, 2005

Total Topics: 6
Total Comments: 15
Posted Aug 06, 2005 - 10:06 AM:

I was getting the same error. I never touched the file so it wasn't any mod done by me.
Thanks for the post.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 07, 2005 - 5:40 PM:

Oops, I was thinking of the suggestlink.tpl when it was postreply.tpl. Fixed. Note: only applies to english-only installs.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.