[freeside-commits] freeside/httemplate/edit cgp_rule.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Thu Apr 22 23:43:42 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv14727/httemplate/edit
Added Files:
cgp_rule.html
Log Message:
communigate (phase 2): rules. RT#7514
--- NEW FILE: cgp_rule.html ---
<% include('elements/edit.html',
'name_singular' => 'rule',
'table' => 'cgp_rule',
'labels' => { 'rulenum' => 'Rule',
'name' => 'Name',
'comment' => 'Comment',
'priority' => 'Priority',
},
'fields' => [ 'name',
'comment',
{ 'field' => 'priority',
'type' => 'select',
'options' => [ 0 .. 10 ],
'labels' => { 0 => 'Inactive' },
},
{ 'field' => 'svcnum', 'type' => 'hidden', },
],
'new_callback' => sub { my( $cgi, $cgp_rule ) = @_;
$cgp_rule->svcnum( $cgi->param('svcnum') );
},
#'viewall_url' => $viewall_url,
'menubar' => [],
)
%>
<%init>
#my $svcnum #huh
#my $viewall_url = $p. "browse/$table.html?svcnum=$svcnum";
</%init>
More information about the freeside-commits
mailing list