# HG changeset patch # User Christophe Lincoln # Date 1392675368 -3600 # Node ID 2808fc73ac9f75dbb067695350168cc78c748339 # Parent 065aa0214da679d4121c9382ba75ea3d693e9f92 web: plugins dont need to source httphelper.sh diff -r 065aa0214da6 -r 2808fc73ac9f web/plugins/dashboard/dashboard.cgi --- a/web/plugins/dashboard/dashboard.cgi Mon Feb 17 22:58:22 2014 +0100 +++ b/web/plugins/dashboard/dashboard.cgi Mon Feb 17 23:16:08 2014 +0100 @@ -2,10 +2,8 @@ # # TazBug Plugin - Dashboard # -. /usr/lib/slitaz/httphelper -case " $(GET) " in - *\ dashboard\ *) +if [ "$(GET dashboard)" ]; then d="Dashboard" users=$(ls -1 $PEOPLE | wc -l) bugs=$(ls -1 $bugdir | wc -l) @@ -61,5 +59,5 @@ echo "$PLUGIN - $SHORT_DESC" done echo '' - html_footer && exit 0 ;; -esac + html_footer && exit 0 +fi diff -r 065aa0214da6 -r 2808fc73ac9f web/plugins/pkgs/pkgs.cgi --- a/web/plugins/pkgs/pkgs.cgi Mon Feb 17 22:58:22 2014 +0100 +++ b/web/plugins/pkgs/pkgs.cgi Mon Feb 17 23:16:08 2014 +0100 @@ -1,6 +1,6 @@ #!/bin/sh # -# TinyCM/TazBug Plugin - Skeleton +# TazBug Plugin - Skeleton # if [ "$(GET packages)" ] || [ "$(GET pkg)" ]; then diff -r 065aa0214da6 -r 2808fc73ac9f web/plugins/skel/skel.cgi --- a/web/plugins/skel/skel.cgi Mon Feb 17 22:58:22 2014 +0100 +++ b/web/plugins/skel/skel.cgi Mon Feb 17 23:16:08 2014 +0100 @@ -2,7 +2,6 @@ # # TinyCM/TazBug Plugin - Skeleton # -. /usr/lib/slitaz/httphelper if [ "$(GET skel)" ]; then d="Skel" diff -r 065aa0214da6 -r 2808fc73ac9f web/plugins/users/users.cgi --- a/web/plugins/users/users.cgi Mon Feb 17 22:58:22 2014 +0100 +++ b/web/plugins/users/users.cgi Mon Feb 17 23:16:08 2014 +0100 @@ -2,7 +2,6 @@ # # TinyCM/TazBug Plugin - Users Admin # -. /usr/lib/slitaz/httphelper case " $(GET) " in *\ users\ *)