diff options
author | ivan <ivan> | 2010-06-17 01:16:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-06-17 01:16:16 +0000 |
commit | 5b612a4a7f3c1055ad0885e0a7741779d9f33a8d (patch) | |
tree | 595b54f753be2abfcfbf17e8d1698278bb670a25 /httemplate/edit | |
parent | 5c53f9ddde280bebb5bd31fef833f169dac8775c (diff) |
new-style mason
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/process/elements/svc_Common.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/httemplate/edit/process/elements/svc_Common.html b/httemplate/edit/process/elements/svc_Common.html index 8e8c99a42..5a8afbd6c 100644 --- a/httemplate/edit/process/elements/svc_Common.html +++ b/httemplate/edit/process/elements/svc_Common.html @@ -1,15 +1,14 @@ -% -% -% my %opt = @_; -% my $table = $opt{'table'}; -% $opt{'fields'} ||= [ fields($table) ]; -% push @{ $opt{'fields'} }, qw( pkgnum svcpart ); -% -% <% include( 'process.html', 'edit_ext' => 'cgi', 'redirect' => popurl(3)."view/$table.cgi?", %opt, ) %> +<%init> +my %opt = @_; +my $table = $opt{'table'}; +$opt{'fields'} ||= [ fields($table) ]; +push @{ $opt{'fields'} }, qw( pkgnum svcpart ); + +</%init> |