summaryrefslogtreecommitdiff
path: root/httemplate/elements/email-link.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/email-link.html')
-rw-r--r--httemplate/elements/email-link.html16
1 files changed, 0 insertions, 16 deletions
diff --git a/httemplate/elements/email-link.html b/httemplate/elements/email-link.html
deleted file mode 100644
index 692e5bc..0000000
--- a/httemplate/elements/email-link.html
+++ /dev/null
@@ -1,16 +0,0 @@
-% if ( $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices') ) {
-<A HREF="<%$p%>misc/email-customers.html?table=<%$table%>&<%$query%>"><%$label%></A>
-% }
-<%init>
-my %opt = @_;
-my $table = $opt{'table'};
-my $search_hash = $opt{'search_hash'};
-die "'table' required" if !$table;
-die "'search_hash' required" if !$search_hash;
-
-my $uri = new URI;
-$uri->query_form($search_hash);
-my $query = $uri->query;
-my $label = ($opt{'label'} || 'Email a notice to these customers');
-</%init>
-