diff options
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/popup-topreload.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/httemplate/elements/popup-topreload.html b/httemplate/elements/popup-topreload.html new file mode 100644 index 000000000..00d5cdf50 --- /dev/null +++ b/httemplate/elements/popup-topreload.html @@ -0,0 +1,21 @@ +<%doc> + +Example: + + <& /elements/popup-topreload, mt('Action completed') &> + +</%doc> +<& /elements/header-popup.html, encode_entities($message) &> + <script src="<% $fsurl %>elements/js.cookie.js"></script> + <SCRIPT TYPE="text/javascript"> + Cookies.set('freeside_status', <% $message |js_string %>,{ + expires: 0.0035 + }); + topreload(); + </SCRIPT> +<& /elements/footer-popup.html &> +<%init> + +my $message = shift; + +</%init> |