summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-10-29 23:36:58 +0000
committerivan <ivan>2009-10-29 23:36:58 +0000
commit1a1e96639a3b47750e48e1d6a102441fa710405a (patch)
tree73d9f641643e6c287540bbba5ccbe818021ab21c
parentab9dbc622e033ecfea680435046de60e33045b5d (diff)
adding errorpage popup, RT#6445
-rw-r--r--httemplate/elements/errorpage-popup.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/httemplate/elements/errorpage-popup.html b/httemplate/elements/errorpage-popup.html
new file mode 100644
index 000000000..5248ca134
--- /dev/null
+++ b/httemplate/elements/errorpage-popup.html
@@ -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)";