summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-did.html
diff options
context:
space:
mode:
authorlevinse <levinse>2010-12-21 06:26:12 +0000
committerlevinse <levinse>2010-12-21 06:26:12 +0000
commit46e04077cc22ff9d31e8e9896cbf97e31f1b0e7d (patch)
tree24fd7eb75360d3bda1cc8fc535f71ef013b87782 /httemplate/elements/select-did.html
parent1eff7a1cd742bab7a0084d55f74b2f53c1f84e64 (diff)
self-service improvements: DIDs, RT10885
Diffstat (limited to 'httemplate/elements/select-did.html')
-rw-r--r--httemplate/elements/select-did.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/httemplate/elements/select-did.html b/httemplate/elements/select-did.html
index b62d6a089..062c98a80 100644
--- a/httemplate/elements/select-did.html
+++ b/httemplate/elements/select-did.html
@@ -44,6 +44,7 @@ Example:
<% include('/elements/select-phonenum.html',
'svcpart' => $svcpart,
'empty' => 'Select phone number',
+ 'bulknum' => $bulknum,
)
%>
</TD>
@@ -57,6 +58,19 @@ Example:
</TR>
</TABLE>
+% if ( $bulknum ) {
+ <div id="bulkdid" style="padding-top: 11px">
+% my $i;
+% for($i=0; $i < $bulknum; $i++) {
+ <div id="bulkdid_<%$i%>" style="display: none">
+ <input type="checkbox" id="checkbox_bulkdid_<%$i%>"
+ name="bulkdid" value="">
+ <label for="checkbox_bulkdid_<%$i%>"
+ id="label_bulkdid_<%$i%>"></label>
+ </div>
+% }
+ </div>
+% }
% } else {
@@ -86,6 +100,8 @@ if ( scalar(@exports) > 1 ) {
my $use_selector = scalar(@exports) ? 1 : 0;
+my $bulknum = $opt{'bulknum'} || 0;
+
#my $field = $opt{'field'} || 'phonenum';
</%init>