clarify "no sector" option, #15950
authormark <mark>
Wed, 25 Jan 2012 20:36:20 +0000 (20:36 +0000)
committermark <mark>
Wed, 25 Jan 2012 20:36:20 +0000 (20:36 +0000)
httemplate/elements/select-tower_sector.html

index 456ef41..c783c4b 100644 (file)
@@ -34,7 +34,7 @@ function change_towernum(towernum) {
 change_towernum('');
 </SCRIPT>
 <BR>
-<INPUT TYPE="checkbox" VALUE="none" NAME="sectornum" CHECKED> No sector
+<INPUT TYPE="checkbox" VALUE="none" NAME="sectornum" CHECKED> <% $empty_label %>
 % }
 <%init>
 my %opt = @_;
@@ -47,4 +47,5 @@ if ( $opt{'multiple'} ) {
     $sectors_of{''}->{$sector->sectornum} = $sector->description;
   }
 }
+my $empty_label = $opt{'empty_label'} || 'Include services with no tower/sector';
 </%init>