tazpanel view help.cgi @ rev 165
libtazpanel: align status
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 22 11:34:07 2011 +0200 (2011-04-22) |
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 \& 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