Apr 6, 1999, 8:48 AM
Veteran / Moderator (8669 posts)
Apr 6, 1999, 8:48 AM
Post #3 of 3
Views: 1904
In html.pl, sub html_footer, take out the line
print qq!| <A HREF="$db_script_link_url&view_records=1&$db_key=*">List All</A> ! if ($per_view);
If you would like a registered user to be able to "List All," edit the above line to read
print qq!| <A HREF="$db_script_link_url&view_records=1&$db_key=*">List All</A> ! unless ($db_userid eq "default");
To prevent anyone from being able to do a "List All" by entering an * in a field on the search form, in db.cgi sub query, take out the line
($in{$db_cols[$field]} eq "*") and ($tmpreg = ".*"); # A "*" matches anything.
------------------
JPD