tazpanel diff doc/index.cgi @ rev 53

Add a debug page and a QUERY_STRING parser so we can use names CASE WANT VAR_1 VAR_2
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 10 21:28:13 2011 +0200 (2011-04-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/doc/index.cgi	Sun Apr 10 21:28:13 2011 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +# CGI template interface for TazPanel (must go in $PANEL root to work).
     1.7 +#
     1.8 +echo "Content-Type: text/html"
     1.9 +echo ""
    1.10 +
    1.11 +# Common functions from libtazpanel
    1.12 +. ../lib/libtazpanel
    1.13 +get_config
    1.14 +
    1.15 +# Cat translated help content
    1.16 +TITLE="- Help \&amp; Doc"
    1.17 +
    1.18 +xhtml_header
    1.19 +cat tazpanel.html
    1.20 +
    1.21 +echo '<h3>README</h3>'
    1.22 +echo '<pre>'
    1.23 +cat $PANEL/README
    1.24 +echo '</pre>'
    1.25 +
    1.26 +xhtml_footer
    1.27 +exit 0