The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
conditional problem?
PHP Code:
HTML Code:
<form method="post" name="confess_delete" action="index.php?confessionid=$confessionid&action=report&confirm=delete" source="index.php?confessionid=$confessionid&action=report"> <input type="hidden" name="confessionid" value="$confessionid"> <input type="hidden" name="userid" value="$bbuserinfo[userid]"> <table class="tborder" cellpadding="5" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> are you sure you want to delete this confession</td> </tr> <tr> <td valign="top" class="alt1" align="center"> <textarea name="reason" cols="50" rows="5"> please confirm deletion of confession number $confessionid this should be the same as the number above </textarea> </td> </tr> <tr> <td class="thead" align="center"> <input type="submit" name="confession_delete" value="Delete Confession" accesskey="s"> <input type="button" value="Cancel" onClick="history.back()"> </td> </tr> </table> </form> Code:
/confessions/index.php?confessionid=170&action=delete |
#2
|
||||
|
||||
PHP Code:
PHP Code:
|
#3
|
||||
|
||||
that never worked so i thought ok xhtml compliancy and moved the php to the main part of the script
PHP Code:
HTML Code:
<form method="post" name="confess_delete" action="index.php" source="index.php?confessionid=$confessionid&action=report"> <input type="hidden" name="confessionid" value="$confessionid"> <input type="hidden" name="userid" value="$bbuserinfo[userid]"> <table class="tborder" cellpadding="5" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> are you sure you want to delete this confession</td> </tr> <tr> <td valign="top" class="alt1" align="center"> <textarea name="reason" cols="50" rows="5"> please confirm deletion of confession number $confessionid this should be the same as the number above </textarea> </td> </tr> <tr> <td class="thead" align="center"> <input type="submit" name="confession_delete" value="Delete Confession" accesskey="s"> <input type="button" value="Cancel" onClick="history.back()"> </td> </tr> </table> </form> |
#4
|
|||
|
|||
Try this:
PHP Code:
HTML Code:
<form action="index.php" name="confess_delete" method="post"> <input type="hidden" name="do" value="report" /> <input type="hidden" name="confessionid" value="$confessionid" /> <input type="hidden" name="userid" value="$bbuserinfo[userid]" /> <table class="tborder" cellpadding="5" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"> are you sure you want to delete this confession</td> </tr> <tr> <td valign="top" class="alt1" align="center"> <textarea name="reason" cols="50" rows="5"> please confirm deletion of confession number $confessionid this should be the same as the number above </textarea> </td> </tr> <tr> <td class="thead" align="center"> <input type="submit" name="confession_delete" value="Delete Confession" accesskey="s"> <input type="button" value="Cancel" onClick="history.back()"> </td> </tr> </table> </form> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|