Commit info for scoop/struct:
Modified Files:
scoop.sql
Log Message:
Committing janra's bug fix for #65 Invalid boxes can crash scoop --hulver
Index: scoop.sql
===================================================================
RCS file: /cvs/scoop/scoop/struct/scoop.sql,v
retrieving revision 1.192
retrieving revision 1.193
diff -r1.192 -r1.193
365a366,367
> INSERT INTO blocks VALUES ('error_box','<DIV><P>%%title%%</P>\n<P>%%bid%%: %%content%%</P>\n</DIV>','1','<P>This block is used to provide a container for box output, and is not used directly in the page templates. It should be self-contained HTML. It provides the frame for the error message generated by any box that fails with a fatal error. The special keys recognised are:</P>\n<DL>\n <DT>title</DT>\n <DD>The title of the box; if the box code returns a value for the title, that is used, otherwise the title field set in the Boxes Admin Tool is used</DD>\n <DT>content</DT>\n <DD>The main body of the box. For a box that fails with a fatal error, the content is set by the block <B>box_failed_msg</B>. (The actual error code will be in your server error log.)</DD>\n <DT>bid</DT>\n <DD>The internal name for the box.</DD>\n</DL>','Box Templates','default','en');
> INSERT INTO blocks VALUES ('box_failed_msg','This box seems to be broken. Please <A href=\"mailto:%%local_email%%?subject=broken%20box%20on%20%%sitename%%\">email the site admin</A> and tell them the time and date (and your timezone) so it can be fixed.','1','<P>The message displayed inside the template <B>error_box</B> when a box fails with a fatal error. The actual error message generated will be printed to the site\'s error log. There are no special keys.</P>','Error Messages','default','en');
872a875
> INSERT INTO patches VALUES ('1_0-dev',36,'BoxError','sql');