add a note about hiding all hidden OUs
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Feb 2007 16:43:44 +0000 (16:43 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Feb 2007 16:43:44 +0000 (16:43 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@7010 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/cgi-bin/lib-setup.cgi

index a4186e6..3d0cb1a 100755 (executable)
@@ -255,13 +255,13 @@ if (my $action = $cgi->param('action')) {
                        );
 
                        print Tr(
-                               th($org_cols{opac_visible}),
+                               th($org_cols{opac_visible} .'<span style="color:red">*</span>'),
                                td("<select name='opac_visible_$node'>".
                                        do {
                                                my $out = "<option value='t' ";
-                                               $out .= ($node->opac_visible =~ /^[y1t]+/) ?  "selected='yes'" : "";
+                                               $out .= ($node->opac_visible =~ /^[y1t]+/i) ?  "selected='yes'" : "";
                                                $out .= ">True</option><option value='f' ";
-                                               $out .= ($node->opac_visible =~ /^[n0f]+/) ?  "selected='yes'" : "";
+                                               $out .= ($node->opac_visible =~ /^[n0f]+/i) ?  "selected='yes'" : "";
                                                $out .= ">False</option>";
                                                $out;
                                        }."</select>"
@@ -283,7 +283,8 @@ if (my $action = $cgi->param('action')) {
                        );
 
                        print Tr( "<td colspan='2'><input type='submit' name='action' value='Update'/></td>" );
-                       print   "</table></form>";
+                       print   "</table><span style='color:red;'>*</span>".
+                               "You must hide every OU you want hidden, not just an anscestor!</form>";
 
                        #-------------------------------------------------------------------------
                        # Hours of operation form