adding errorpage popup, RT#6445
authorivan <ivan>
Thu, 29 Oct 2009 23:36:58 +0000 (23:36 +0000)
committerivan <ivan>
Thu, 29 Oct 2009 23:36:58 +0000 (23:36 +0000)
httemplate/elements/errorpage-popup.html [new file with mode: 0644]

diff --git a/httemplate/elements/errorpage-popup.html b/httemplate/elements/errorpage-popup.html
new file mode 100644 (file)
index 0000000..5248ca1
--- /dev/null
@@ -0,0 +1,15 @@
+<% include("/elements/header-popup.html", "Error") %>
+
+% while (@_) {
+
+<P><FONT SIZE="+1" COLOR="#ff0000"><% shift |h %></FONT>
+
+%}
+
+<BR><BR>
+<P ALIGN="center">
+<BUTTON TYPE="button" onClick="parent.cClick();">Close</BUTTON>
+
+% $m->flush_buffer();
+% $HTML::Mason::Commands::m->abort();
+% #die "shouldn't fall through to here (mason \$m->abort didn't)";