Home
>
Outdated forums
>
Phorum 3 forums (READ ONLY)
>
Beta Mods and Plug-ins (READ ONLY)
>
Topic
>
Page 2
"Edit Post" hack
Posted by Gertjan
I can't get the edit hack to work, should the Submit name not be "edit" to call the edit script so that it performs the update ?
the following lines from the bottom of the edit.php file:
cheers, Brian
<tr>
<td <?php echo bgcolor($ForumTableBodyColor1); ?> colspan=2 width="100%" nowrap align="left"><table cellpadding="5" cellspacing="0" border="0"><tr><td align="CENTER" valign="TOP"><font face="courier"><textarea class="PhorumBodyArea" name="body" cols="45" rows="20" wrap="VIRTUAL"><?php echo htmlspecialchars($mtext["body"]); ?></textarea></font></td></tr></table></td>
</tr>
</td>
</tr>
<tr>
<td <?php echo bgcolor($ForumTableBodyColor1); ?> colspan="2" align="RIGHT">
<input type="Submit" name="post" value=" <?php echo $lFormUpdate;?> "> <br><img src="images/trans.gif" width=3 height=3 border=0></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<?php
include phorum_get_file_name("footer");
?>
the following lines from the bottom of the edit.php file:
cheers, Brian
<tr>
<td <?php echo bgcolor($ForumTableBodyColor1); ?> colspan=2 width="100%" nowrap align="left"><table cellpadding="5" cellspacing="0" border="0"><tr><td align="CENTER" valign="TOP"><font face="courier"><textarea class="PhorumBodyArea" name="body" cols="45" rows="20" wrap="VIRTUAL"><?php echo htmlspecialchars($mtext["body"]); ?></textarea></font></td></tr></table></td>
</tr>
</td>
</tr>
<tr>
<td <?php echo bgcolor($ForumTableBodyColor1); ?> colspan="2" align="RIGHT">
<input type="Submit" name="post" value=" <?php echo $lFormUpdate;?> "> <br><img src="images/trans.gif" width=3 height=3 border=0></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<?php
include phorum_get_file_name("footer");
?>
|
Re: &quot;Edit Post&quot; hack June 08, 2002 01:42AM |
Sorry, you do not have permission to post/reply in this forum.
