If you have added a new sub-routine in either your html.pl or db.cgi file, you need to add the following codes in the
sub main routine in
db.cgi file in the midst of the elsif statements:
Code:
elsif ($in{'new_routine'}) { if ($per_view) { &html_new_routine; } else { &html_unauth; } }
Change new_routine with the name of the sub-routines you've added. Also, if you want this sub-routine viewed by other permissions, then you will have to change $per_view to the appropriate permission variable (like $per_add, $per_admin, $per_mod, $per_del).
Regards,
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us