Shortened some labels
authorAndrew DeFaria <Andrew@DeFaria.com>
Fri, 31 May 2019 16:56:37 +0000 (09:56 -0700)
committerAndrew DeFaria <Andrew@DeFaria.com>
Fri, 31 May 2019 16:56:37 +0000 (09:56 -0700)
maps/bin/add2blacklist.cgi
maps/bin/add2nulllist.cgi
maps/bin/add2whitelist.cgi
maps/bin/detail.cgi
maps/bin/processaction.cgi
maps/php/list.php

index f7c29d5..194932d 100755 (executable)
@@ -100,7 +100,7 @@ print '<p></p><center>',
   hidden ({-name => 'type',
      -default    => $type}),
   submit ({-name => 'action',
-     -value      => 'Add New Entry'}),
+     -value      => 'Add'}),
   '</center>';
 
 Footing;
index 65f302a..da698dd 100755 (executable)
@@ -105,7 +105,7 @@ print '<p></p><center>',
   hidden ({-name    => 'type',
            -default => $type}),
   submit ({-name    => 'action',
-           -value   => 'Add New Entry'}),
+           -value   => 'Add'}),
   '</center>';
 
 Footing;
index 46a5fff..dd7068b 100755 (executable)
@@ -114,7 +114,7 @@ print '<p></p><center>',
   hidden ({-name    => 'type',
            -default => $type}),
   submit ({-name    => 'action',
-           -value   => 'Add New Entry'}),
+           -value   => 'Add'}),
   '</center>';
 
 Footing;
index 1d39097..ed7efca 100755 (executable)
@@ -90,49 +90,49 @@ sub MakeButtons {
   if ($type eq 'whitelist') {
     $buttons = $buttons .
       submit ({-name    => 'action',
-               -value   => 'Blacklist Marked',
+               -value   => 'Blacklist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Nulllist Marked',
+               -value   => 'Nulllist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Reset Marks',
+               -value   => 'Reset',
                -onClick => 'return ClearAll (document.detail);'});
   } elsif ($type eq 'blacklist') {
     $buttons = $buttons .
       submit ({-name    => 'action',
-               -value   => 'Whitelist Marked',
+               -value   => 'Whitelist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Nulllist Marked',
+               -value   => 'Nulllist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Reset Marks',
+               -value   => 'Reset',
                -onClick => 'return ClearAll (document.detail);'});
   } elsif ($type eq 'nulllist') {
     $buttons = $buttons .
       submit ({-name    => 'action',
-               -value   => 'Whitelist Marked',
+               -value   => 'Whitelist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Blacklist Marked',
+               -value   => 'Blacklist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Reset Marks',
+               -value   => 'Reset',
                -onClick => 'return ClearAll (document.detail);'});
   } else {
     $buttons = $buttons .
       submit ({-name    => 'action',
-               -value   => 'Whitelist Marked',
+               -value   => 'Whitelist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Blacklist Marked',
+               -value   => 'Blacklist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Nulllist Marked',
+               -value   => 'Nulllist',
                -onClick => 'return CheckAtLeast1Checked (document.detail);'}) .
       submit ({-name    => 'action',
-               -value   => 'Reset Marks',
+               -value   => 'Reset',
                -onClick => 'return ClearAll (document.detail);'});
   } # if
 
index c9f0f58..082be8a 100755 (executable)
@@ -426,17 +426,17 @@ $lines = $options{'Page'};
 
 $total = count('list', "userid = \"$userid\" and type = \"$type\"") if $type;
 
-if ($action eq 'Add New Entry') {
+if ($action eq 'Add') {
   AddNewEntry($type);
-} elsif ($action eq 'Delete Marked') {
+} elsif ($action eq 'Delete') {
   DeleteEntries($type);
-} elsif ($action eq 'Modify Marked') {
+} elsif ($action eq 'Modify') {
   ModifyEntries($type);
-} elsif ($action eq 'Whitelist Marked') {
+} elsif ($action eq 'Whitelist') {
   WhitelistMarked;
-} elsif ($action eq 'Blacklist Marked') {
+} elsif ($action eq 'Blacklist') {
   BlacklistMarked;
-} elsif ($action eq 'Nulllist Marked') {
+} elsif ($action eq 'Nulllist') {
   NulllistMarked;
 } else {
   Heading(
index 8edb44a..672f09d 100755 (executable)
@@ -93,13 +93,13 @@ $this_page = $next / $lines + 1;
       "<a href=list.php?type=$type&next=" . ($next + $lines) . "><img src=/maps/images/next.gif border=0 alt=Next align=middle accesskey=n></a>" : "";
     print $prev_button;
     ?>
-    <input type="submit" name="action" value="Add New Entry"
+    <input type="submit" name="action" value="Add"
       onclick="return NoneChecked (document.list);">
-    <input type="submit" name="action" value="Delete Marked"
+    <input type="submit" name="action" value="Delete"
       onclick="return CheckAtLeast1Checked (document.list) && AreYouSure ('Are you sure you want to delete these entries?');">
-    <input type="submit" name="action" value="Modify Marked"
+    <input type="submit" name="action" value="Modify"
       onclick="return CheckAtLeast1Checked (document.list);">
-    <input type="submit" name="action" value="Reset Marks"
+    <input type="submit" name="action" value="Reset"
       onclick="return ClearAll (document.list);">
     <?php print $next_button?>
   </div>