[SimBot-commits] CVS: simbot/plugins httpd.pl,1.13,1.14
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-08-10 02:23:56
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11427/plugins Modified Files: httpd.pl Log Message: - Remove the 500 generator page. - Fix the HTML in the admin page. Index: httpd.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/httpd.pl,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -p -r1.13 -r1.14 --- httpd.pl 9 Aug 2005 01:38:19 -0000 1.13 +++ httpd.pl 9 Aug 2005 02:33:57 -0000 1.14 @@ -175,6 +175,7 @@ sub admin_page { $msg .= '<ul><li><a href="/admin?restart">Restart Simbot</a></li>'; $msg .= '<li><form method="get" action=""><label for="say">Say: </label><input name="say"/></form></li>'; $msg .= '<li><form method="get" action=""><label for="action">Action: </label><input name="action"/></form></li>'; + $msg .= '</ul>'; $response->code(RC_OK); my $template = &get_template('base'); @@ -196,11 +197,6 @@ sub messup_httpd { 'handler' => \&admin_page, }; } - - $SimBot::hash_plugin_httpd_pages{'fiveohoh'} = { - 'title' => 'Internal Server Error Generation Department', - 'handler' => sub {}, - }; } sub cleanup_httpd { |