PDA

View Full Version : Restoring deleted post


Paul
Tue 17th Jun '03, 5:21am
Hi,

There appears to be a small typo in the threadadmin template that prevents deleted posts from being restored:

<label for="rb_poststatus_0"><input type="radio" name="poststatus" value="0" id="rb_poststatus_0" checked="checked" />Leave as-is</label><br />
<label for="rb_poststatus_0"><input type="radio" name="poststatus" value="1" id="rb_poststatus_1" />Undelete (Restore)</label><br />

should be:


<label for="rb_poststatus_0"><input type="radio" name="poststatus" value="0" id="rb_poststatus_0" checked="checked" />Leave as-is</label><br />
<label for="rb_poststatus_1"><input type="radio" name="poststatus" value="1" id="rb_poststatus_1" />Undelete (Restore)</label><br />

IDN
Tue 17th Jun '03, 5:24am
Works for me..

Paul
Tue 17th Jun '03, 5:28am
Since this relies on html, it's very much browser dependent. It's clearly incorrect and will not work using Netscape. I did not try it with IE once I found the offending code.

Stadler
Tue 17th Jun '03, 5:40am
It worked with IE. I have tested it, before I've altered the code.

btw: http://www.vbulletin.com/forum/showthread.php?threadid=74511 ;)

Boofo
Tue 17th Jun '03, 5:43am
It worked with IE. I have tested it, before I've altered the code.

btw: http://www.vbulletin.com/forum/showthread.php?threadid=74511 ;)

Will your altered code work with IE also?

Stadler
Tue 17th Jun '03, 6:02am
Yes, sure, cause this is valid HTML and the other wasn't.

Anyway: Why are you asking? MSIE eats crappy (X)HTML *yuck* :o:D

Boofo
Tue 17th Jun '03, 6:16am
Yes, sure, cause this is valid HTML and the other wasn't.

Anyway: Why are you asking? MSIE eats crappy (X)HTML *yuck* :o:D

LOL Because IE is all I use. It is the only one that seems to work witrh almost anything on the net and also the WYSIWYG editor in vB3.

Chris M
Tue 17th Jun '03, 8:23am
LOL Because IE is all I use. It is the only one that seems to work witrh almost anything on the net and also the WYSIWYG editor in vB3.
IE was designed this way - You can enter any old crappy HTML/XHTML code, and IE will make it work or just ignore it...

Satan

Scott MacVicar
Tue 17th Jun '03, 1:40pm
fixed.