tazpanel 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 fa59528e8bdf
children f57db6b5b4c6
files README doc/index.cgi doc/tazpanel.en.html doc/tazpanel.html pkgs.cgi
line diff
     1.1 --- a/README	Tue Apr 05 06:06:09 2011 +0200
     1.2 +++ b/README	Tue Apr 05 06:18:39 2011 +0200
     1.3 @@ -11,8 +11,8 @@
     1.4  ----
     1.5  TazPanel have been coded from the beginning with gettext support. Please
     1.6  forget 'echo' and use gettext, but remember that gettext "" is equivalent
     1.7 -to echo -n. Each script have it own TEXTDOMAIN and pot files as well as
     1.8 -translation goes in the po/ folder. To start a new translation please
     1.9 +to echo -n. Each script have it own TEXTDOMAIN and pot files as well, all
    1.10 +translations goes in the po/ folder. To start a new translation please
    1.11  use msginit from the pot file directory. Example for French/France
    1.12  locale (fr_FR):
    1.13  
    1.14 @@ -43,9 +43,9 @@
    1.15  in an other script you can eventually creat a new CGI page and update all
    1.16  links, but please to talk to the AUTHORS before.
    1.17  
    1.18 -	* index.cgi   Main Tazpanel CGI script (most stuff may be splited
    1.19 -	              into system.cgi if too big or slow)
    1.20 -	* tazpkg.cgi  Tazpkg CGI interface
    1.21 +	* index.cgi   Main Tazpanel CGI script (some stuff may be splited
    1.22 +	              into users.cgi, boot.cgi, etc if too big or slow)
    1.23 +	* pkgs.cgi    Tazpkg packages CGI interface
    1.24  	* live.cgi    All tools related to Live systems (CD, USB, Frugal)
    1.25  	
    1.26  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/doc/index.cgi	Tue Apr 05 06:18:39 2011 +0200
     2.3 @@ -0,0 +1,24 @@
     2.4 +#!/bin/sh
     2.5 +#
     2.6 +# CGI template interface for TazPanel (must go in $PANEL root to work).
     2.7 +#
     2.8 +echo "Content-Type: text/html"
     2.9 +echo ""
    2.10 +
    2.11 +# Common functions from libtazpanel
    2.12 +. ../lib/libtazpanel
    2.13 +get_config
    2.14 +
    2.15 +# Cat translated help content
    2.16 +TITLE="- Help \&amp; Doc"
    2.17 +
    2.18 +xhtml_header
    2.19 +cat tazpanel.html
    2.20 +
    2.21 +echo '<h3>README</h3>'
    2.22 +echo '<pre>'
    2.23 +cat $PANEL/README
    2.24 +echo '</pre>'
    2.25 +
    2.26 +xhtml_footer
    2.27 +exit 0
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/doc/tazpanel.en.html	Tue Apr 05 06:18:39 2011 +0200
     3.3 @@ -0,0 +1,7 @@
     3.4 +
     3.5 +<h2>English Help</h2>
     3.6 +
     3.7 +
     3.8 +<p>
     3.9 +	Get support on the Slitaz <a href="http://forum.slitaz.org/">forum</a>
    3.10 +</p>
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/doc/tazpanel.html	Tue Apr 05 06:18:39 2011 +0200
     4.3 @@ -0,0 +1,1 @@
     4.4 +tazpanel.en.html
     4.5 \ No newline at end of file
     5.1 --- a/pkgs.cgi	Tue Apr 05 06:06:09 2011 +0200
     5.2 +++ b/pkgs.cgi	Tue Apr 05 06:18:39 2011 +0200
     5.3 @@ -22,6 +22,7 @@
     5.4  export TEXTDOMAIN
     5.5  
     5.6  # xHTML 5 header
     5.7 +TITLE="- Packages"
     5.8  xhtml_header
     5.9  
    5.10  # DEBUG mode