# HG changeset patch # User Christophe Lincoln # Date 1301977119 -7200 # Node ID db8ebfe01790d91cc14b1f49a394a423545599a4 # Parent fa59528e8bdfba34b1b99da88d7aacbc0b1ded0a Forgot hg add for doc/ and fix some things diff -r fa59528e8bdf -r db8ebfe01790 README --- a/README Tue Apr 05 06:06:09 2011 +0200 +++ b/README Tue Apr 05 06:18:39 2011 +0200 @@ -11,8 +11,8 @@ ---- TazPanel have been coded from the beginning with gettext support. Please forget 'echo' and use gettext, but remember that gettext "" is equivalent -to echo -n. Each script have it own TEXTDOMAIN and pot files as well as -translation goes in the po/ folder. To start a new translation please +to echo -n. Each script have it own TEXTDOMAIN and pot files as well, all +translations goes in the po/ folder. To start a new translation please use msginit from the pot file directory. Example for French/France locale (fr_FR): @@ -43,9 +43,9 @@ in an other script you can eventually creat a new CGI page and update all links, but please to talk to the AUTHORS before. - * index.cgi Main Tazpanel CGI script (most stuff may be splited - into system.cgi if too big or slow) - * tazpkg.cgi Tazpkg CGI interface + * index.cgi Main Tazpanel CGI script (some stuff may be splited + into users.cgi, boot.cgi, etc if too big or slow) + * pkgs.cgi Tazpkg packages CGI interface * live.cgi All tools related to Live systems (CD, USB, Frugal) diff -r fa59528e8bdf -r db8ebfe01790 doc/index.cgi --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/index.cgi Tue Apr 05 06:18:39 2011 +0200 @@ -0,0 +1,24 @@ +#!/bin/sh +# +# CGI template interface for TazPanel (must go in $PANEL root to work). +# +echo "Content-Type: text/html" +echo "" + +# Common functions from libtazpanel +. ../lib/libtazpanel +get_config + +# Cat translated help content +TITLE="- Help \& Doc" + +xhtml_header +cat tazpanel.html + +echo '

README

' +echo '
'
+cat $PANEL/README
+echo '
' + +xhtml_footer +exit 0 diff -r fa59528e8bdf -r db8ebfe01790 doc/tazpanel.en.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/tazpanel.en.html Tue Apr 05 06:18:39 2011 +0200 @@ -0,0 +1,7 @@ + +

English Help

+ + +

+ Get support on the Slitaz forum +

diff -r fa59528e8bdf -r db8ebfe01790 doc/tazpanel.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/tazpanel.html Tue Apr 05 06:18:39 2011 +0200 @@ -0,0 +1,1 @@ +tazpanel.en.html \ No newline at end of file diff -r fa59528e8bdf -r db8ebfe01790 pkgs.cgi --- a/pkgs.cgi Tue Apr 05 06:06:09 2011 +0200 +++ b/pkgs.cgi Tue Apr 05 06:18:39 2011 +0200 @@ -22,6 +22,7 @@ export TEXTDOMAIN # xHTML 5 header +TITLE="- Packages" xhtml_header # DEBUG mode