tazpanel view doc/index.cgi @ rev 56

Add a file view CASE so we can displa any file on the system (ex at boot.cgi with rcS.conf)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 10 20:20:19 2011 +0200 (2011-04-10)
parents
children
line source
1 #!/bin/sh
2 #
3 # CGI template interface for TazPanel (must go in $PANEL root to work).
4 #
5 echo "Content-Type: text/html"
6 echo ""
8 # Common functions from libtazpanel
9 . ../lib/libtazpanel
10 get_config
12 # Cat translated help content
13 TITLE="- Help \&amp; Doc"
15 xhtml_header
16 cat tazpanel.html
18 echo '<h3>README</h3>'
19 echo '<pre>'
20 cat $PANEL/README
21 echo '</pre>'
23 xhtml_footer
24 exit 0