default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / httemplate / edit / process / cust_pkg_detail.html
index 132ff63..c0506dc 100644 (file)
@@ -1,12 +1,12 @@
 % if ( $error ) {
-<% header('Error') %>
+<& /elements/header-popup.html, 'Error' &>
 <FONT COLOR="#ff0000"><B><% $error |h %></B></FONT><BR><BR>
 <CENTER><INPUT TYPE="BUTTON" VALUE="OK" onClick="parent.cClick()"></CENTER>
 </BODY></HTML>
 % } else {
-<% header($action) %>
+<& /elements/header-popup.html, $action &>
   <SCRIPT TYPE="text/javascript">
-    window.top.location.reload();
+    topreload();
   </SCRIPT>
   </BODY></HTML>
 % }