tazpanel view help.cgi @ rev 117

settings.cgi: Password entry on bottom (small ajustement, well done Pascal)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 15 12:11:44 2011 +0200 (2011-04-15)
parents
children 2ba626801335
line source
1 #!/bin/sh
2 #
3 # help.cgi - Display TazPanel doc and README.
4 #
5 # Copyright (C) 2011 SliTaz GNU/Linux - BSD License
6 #
7 echo "Content-Type: text/html"
8 echo ""
10 # Common functions from libtazpanel
11 . lib/libtazpanel
12 get_config
14 # Cat translated help content
15 TITLE="- Help \&amp; Doc"
17 xhtml_header
19 if [ -d doc ]; then
20 cat doc/tazpanel.html
21 else
22 cat /usr/share/doc/tazpanel/tazpanel.html
23 fi
25 echo '<h3>README</h3>'
26 echo '<pre>'
27 cat $PANEL/README
28 echo '</pre>'
30 xhtml_footer
31 exit 0