use Insipid::Snapshots;
use Insipid::Tags;
use Insipid::Util;
-use Insipid::Manage;
+use Insipid::Stats;
use CGI qw/:standard/;
use CGI::Carp qw(fatalsToBrowser);
}
# management
- if (param('op') eq 'manage') {
- show_management();
+ if (param('op') eq 'stats') {
+ show_stats();
print '</body></html>';
exit;
}
if (logged_in() eq 1) {
print "<a class=\"tools\" href=\"$site_url/insipid.cgi?op=options\">options</a> | ";
- print "<a class=\"tools\" href=\"$site_url/insipid.cgi?op=manage\">manage</a> | ";
+ print "<a class=\"tools\" href=\"$site_url/insipid.cgi?op=stats\">stats</a> | ";
print "<a class=\"tools\" href=\"$site_url/insipid.cgi?op=tags\">tags</a> | ";
print "<a class=\"tools\" href=\"$site_url/insipid.cgi?op=import\">import</a> | ";
print "<a class=\"tools\" href=\"$site_url/insipid.cgi?op=export\">export</a> | ";
+++ /dev/null
-#!/usr/bin/perl
-#
-# Copyright (C) 2012 jumpin.banana
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-# USA
-#
-
-package Insipid::Manage;
-
-use strict;
-use warnings;
-
-use vars qw(@ISA @EXPORT @EXPORT_OK);
-use CGI qw/:standard/;
-use CGI::Carp qw(fatalsToBrowser);
-use Insipid::Config;
-use Insipid::Database;
-use Insipid::Sessions;
-use Insipid::Util;
-require Exporter;
-
-use Data::Dumper;
-
-@ISA = qw(Exporter);
-
-@EXPORT = qw(
-show_management
-);
-
-sub show_management {
-
-}
-
-1;
-__END__
--- /dev/null
+#!/usr/bin/perl
+#
+# Copyright (C) 2012 jumpin.banana
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+#
+
+package Insipid::Stats;
+
+use strict;
+use warnings;
+
+use vars qw(@ISA @EXPORT @EXPORT_OK);
+use CGI qw/:standard/;
+use CGI::Carp qw(fatalsToBrowser);
+use Insipid::Config;
+use Insipid::Database;
+use Insipid::Sessions;
+use Insipid::Util;
+require Exporter;
+
+use Data::Dumper;
+
+@ISA = qw(Exporter);
+
+@EXPORT = qw(
+show_stats
+);
+
+sub show_stats {
+
+}
+
+1;
+__END__