[freeside-commits] freeside/httemplate/edit/process/elements
process.html, 1.6, 1.7
Ivan,,,
ivan at wavetail.420.am
Fri Dec 29 00:51:35 PST 2006
- Previous message: [freeside-commits] freeside/FS/FS cust_svc.pm, 1.65,
1.66 part_svc.pm, 1.29, 1.30 svc_broadband.pm, 1.8,
1.9 svc_Common.pm, 1.38, 1.39 svc_domain.pm, 1.46,
1.47 svc_External_Common.pm, NONE, 1.1 svc_external.pm, 1.4,
1.5 svc_Parent_Mixin.pm, NONE, 1.1 svc_forward.pm, 1.19,
1.20 svc_phone.pm, 1.1, 1.2 svc_www.pm, 1.13, 1.14 Record.pm,
1.129, 1.130 cust_main.pm, 1.258, 1.259 registrar.pm, NONE,
1.1 svc_acct.pm, 1.209, 1.210 Schema.pm, 1.39,
1.40 cust_pkg.pm, 1.68, 1.69 pkg_svc.pm, 1.6, 1.7
- Next message: [freeside-commits]
freeside/httemplate/edit/process svc_Common.html, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process/elements
In directory wavetail:/tmp/cvs-serv4384/httemplate/edit/process/elements
Modified Files:
process.html
Log Message:
service refactor!
Index: process.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/elements/process.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- process.html 23 Aug 2006 22:25:37 -0000 1.6
+++ process.html 29 Dec 2006 08:51:32 -0000 1.7
@@ -19,6 +19,8 @@
% # OR
% # 'redirect' => 'view/table.cgi?', # value of primary key is appended
% #
+% # 'error_redirect' => popurl(2).'edit/table.cgi?', #query string appended
+% #
% # 'edit_ext' => 'html', #defaults to 'html', you might want 'cgi' while the
% # #naming is still inconsistent
% #
@@ -78,7 +80,8 @@
% if ( $error ) {
% $cgi->param('error', $error);
% my $edit_ext = $opt{'edit_ext'} || 'html';
-% print $cgi->redirect(popurl(2). "$table.$edit_ext?". $cgi->query_string );
+% my $url = $opt{'error_redirect'} || popurl(2)."$table.$edit_ext?";
+% print $cgi->redirect($url. $cgi->query_string );
% } elsif ( $opt{'redirect'} ) {
% print $cgi->redirect( $opt{'redirect'}. $pkeyvalue );
% } else {
- Previous message: [freeside-commits] freeside/FS/FS cust_svc.pm, 1.65,
1.66 part_svc.pm, 1.29, 1.30 svc_broadband.pm, 1.8,
1.9 svc_Common.pm, 1.38, 1.39 svc_domain.pm, 1.46,
1.47 svc_External_Common.pm, NONE, 1.1 svc_external.pm, 1.4,
1.5 svc_Parent_Mixin.pm, NONE, 1.1 svc_forward.pm, 1.19,
1.20 svc_phone.pm, 1.1, 1.2 svc_www.pm, 1.13, 1.14 Record.pm,
1.129, 1.130 cust_main.pm, 1.258, 1.259 registrar.pm, NONE,
1.1 svc_acct.pm, 1.209, 1.210 Schema.pm, 1.39,
1.40 cust_pkg.pm, 1.68, 1.69 pkg_svc.pm, 1.6, 1.7
- Next message: [freeside-commits]
freeside/httemplate/edit/process svc_Common.html, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list