Log in

View Full Version : Template History box checked


Nudda
01-31-2007, 03:09 AM
Does anyone know how to make it so that the check box for "Save in Template History" is auto-set to checked, so that i dont have to click the box myself to save in history (i always forget to do it)...the other day i accidently edited the wrong template, and having template history would have helped fix my mistake sooner


thanks

webmazter
01-31-2007, 10:13 AM
find this line and add the red one.


print_label_row($vbphrase['save_in_template_history'], '<label for="savehistory"><input type="checkbox" name="savehistory" id="savehistory" value="1" tabindex="1" checked="checked" />' . $vbphrase['yes'] . '</label><br /><span class="smallfont">' . $vbphrase['comment'] . '</span> <input type="text" name="histcomment" value="" tabindex="1" class="bginput" size="50" />');

Nudda
01-31-2007, 10:21 PM
^^awesome...thanks

webmazter
02-01-2007, 12:20 AM
^^awesome...thanks
Nice. :)