diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-03-27 09:20:05 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-03-27 09:20:05 -0400 |
commit | ec34b8903d969fe8ac4ff6947a92e16e07f71fa0 (patch) | |
tree | 39879af88d853b93b5af5ba6d6d40868b4335b91 /httemplate/edit/part_export.cgi | |
parent | c38b6699d83ba0d7e3fd582373b9c8e78c9217d2 (diff) |
RT# 78356 - added ability to create and modify rateplans and access point when changed on freeside. cleanded up documentation.
Diffstat (limited to 'httemplate/edit/part_export.cgi')
-rw-r--r-- | httemplate/edit/part_export.cgi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi index 5411feb..381fbca 100644 --- a/httemplate/edit/part_export.cgi +++ b/httemplate/edit/part_export.cgi @@ -290,6 +290,20 @@ my $widget = new HTML::Widgets::SelectLayers( $html .= ' CHECKED' if $part_export->no_suspend eq 'Y'; $html .= '></TD></TR>'; + foreach my $script ( keys %{$exports->{$layer}{scripts}} ) { + $html .= '<TR><TD ALIGN="left" COLSPAN=2>' . + include('/elements/progress-init.html', + $part_export->exportname, + [ $script.'_exportnum', $script.'_script' ], + rooturl().'view/svc_export/run_script.cgi', + rooturl().'edit/part_export.cgi?'.$part_export->{Hash}->{exportnum}, + $script, + ) . + '<INPUT TYPE="hidden" NAME="'.$script.'_exportnum" VALUE="'.$part_export->{Hash}->{exportnum}.'"> + <INPUT TYPE="hidden" NAME="'.$script.'_script" VALUE="'.$script.'"> + <A HREF="#" onClick="'.$script.'process();">'.$exports->{$layer}{scripts}{$script}->{html_label}.'</A></TD></TR>'; + } + $html .= '</TABLE>'; # false laziness with config_element above |