tazpanel diff doc/index.cgi @ rev 34
Forgot hg add for doc/ and fix some things
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 05 06:18:39 2011 +0200 (2011-04-05) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/doc/index.cgi Tue Apr 05 06:18:39 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 \& 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