3 # This script will simply have links to other scripts which will do the
4 # actual work in managing data.
10 use CXGN
::Insitu
::Toolbar
;
11 our $debug = 2; # higher for more verbosity
13 # default operation; print form
16 print "Please select which data you want to update:<br /><br />\n\n";
18 print "<div class=\"subheading\">Experiments / Images</div>\n";
20 print "<li><a href=\"detail/experiment.pl?action=new\"><strong>Add new experiment</strong></a></li>\n";
23 # print "<div class=\"subheading\">Categories</div>\n";
25 # print "<li><a href=\"/insitu/detail/tag.pl?action=new\"><strong>Add new tag</strong></a></li>\n";
26 # # print "<li><a href=\"/cgi-bin/edit_cats.pl?op=edit\"><strong>Edit categories</strong></a><br /> <em>Change category names and descriptions, as well as add implied categories, for your tags.</em></li>\n";
29 print qq { <div
class="subheading">Probes
</div
>\n
31 <li
><a href
="/insitu/detail/probe.pl?action=new"><strong
>Add new probe
</strong
></a></li>
37 # only curators can add/edit organisms
38 # FIXME -- the first submitters shouldn't be curators, but they should
39 # be allowed to enter the species they want regardless
40 #if ($user_type eq 'curator') {
41 print "<div class=\"subheading\">Organisms</div>\n";
43 print "<li><a href=\"/insitu/detail/organism.pl?action=new\"><strong>Add organisms</strong></a></li>\n";
44 #print "<li><a href=\"/cgi-bin/edit_species.pl?op=edit\"><strong>Edit organisms</strong></a></li>\n";
45 #print "<li><a href=\"/cgi-bin/edit_species.pl?op=del\"><strong>Delete organisms</strong></a></li>\n";
51 #####################################################################
52 #####################################################################
54 #####################################################################
55 #####################################################################
57 # display what needs displaying, do what needs doing
58 ####################################################
59 my $page = CXGN
::Page
->new( "Manage Data", "Teri");
60 $page->header("Insitu Manager", "<a href=\"/insitu\">Insitu</a>: Manage Data");
62 CXGN
::Insitu
::Toolbar
::display_toolbar
("Manage");