summaryrefslogtreecommitdiff
path: root/httemplate/browse/rate.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse/rate.cgi')
-rw-r--r--httemplate/browse/rate.cgi33
1 files changed, 0 insertions, 33 deletions
diff --git a/httemplate/browse/rate.cgi b/httemplate/browse/rate.cgi
deleted file mode 100644
index c4ae2f081..000000000
--- a/httemplate/browse/rate.cgi
+++ /dev/null
@@ -1,33 +0,0 @@
-<%
-
-my $html_init =
- 'Rate plans, regions and prefixes for VoIP and call billing.<BR><BR>'.
- qq!<A HREF="${p}edit/rate.cgi"><I>Add a rate plan</I></A>!.
- qq! | <A HREF="${p}edit/rate_region.cgi"><I>Add a region</I></A>!.
- '<BR><BR>
- <SCRIPT>
- function rate_areyousure(href) {
- if (confirm("Are you sure you want to delete this rate plan?") == true)
- window.location.href = href;
- }
- </SCRIPT>';
-
-my $count_query = 'SELECT COUNT(*) FROM rate';
-
-my $link = [ $p.'edit/rate.cgi?', 'ratenum' ];
-
-%><%= include( 'elements/browse.html',
- 'title' => 'Rate plans',
- 'menubar' => [ 'Main menu' => $p, ],
- 'html_init' => $html_init,
- 'name' => 'rate plans',
- 'query' => { 'table' => 'rate',
- 'hashref' => {},
- 'extra_sql' => 'ORDER BY ratenum',
- },
- 'count_query' => $count_query,
- 'header' => [ '#', 'Rate plan', ],
- 'fields' => [ 'ratenum', 'ratename' ],
- 'links' => [ $link, $link ],
- )
-%>