tazpanel rev 22

*.cgi clean up and update for last CSS style
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 05 01:34:37 2011 +0200 (2011-04-05)
parents 8837cdc7c1c5
children 2274e489400c
files index.cgi styles/default/header.html tazpkg.cgi
line diff
     1.1 --- a/index.cgi	Tue Apr 05 01:33:54 2011 +0200
     1.2 +++ b/index.cgi	Tue Apr 05 01:34:37 2011 +0200
     1.3 @@ -11,6 +11,13 @@
     1.4  . lib/libtazpanel
     1.5  get_config
     1.6  
     1.7 +# Include gettext helper script.
     1.8 +. /usr/bin/gettext.sh
     1.9 +
    1.10 +# Export package name for gettext.
    1.11 +TEXTDOMAIN='tazpanel-cgi'
    1.12 +export TEXTDOMAIN
    1.13 +
    1.14  #
    1.15  # Commands
    1.16  #
     2.1 --- a/styles/default/header.html	Tue Apr 05 01:33:54 2011 +0200
     2.2 +++ b/styles/default/header.html	Tue Apr 05 01:34:37 2011 +0200
     2.3 @@ -10,10 +10,10 @@
     2.4  
     2.5  <div id="tazbar">
     2.6  	<div id="icons">
     2.7 -		<a href="./"><img src="styles/default/images/home.png" /></a>
     2.8 +		<a href="./"><img src="styles/default/images/help.png" /></a>
     2.9  	</div>
    2.10  	<div id="menu">
    2.11 -		<!-- <a href="./">Panel</a> -->
    2.12 +		<a href="./">Panel</a>
    2.13  		<a href="tazpkg.cgi">Packages</a>
    2.14  		<a href="index.cgi?boot">Boot</a>
    2.15  		<a href="index.cgi?users">Users</a>
     3.1 --- a/tazpkg.cgi	Tue Apr 05 01:33:54 2011 +0200
     3.2 +++ b/tazpkg.cgi	Tue Apr 05 01:34:37 2011 +0200
     3.3 @@ -18,7 +18,7 @@
     3.4  . /usr/bin/gettext.sh
     3.5  
     3.6  # Export package name for gettext.
     3.7 -TEXTDOMAIN='tazpkg-cgi'
     3.8 +TEXTDOMAIN='tazpanel-pkgs'
     3.9  export TEXTDOMAIN
    3.10  
    3.11  # xHTML 5 header
    3.12 @@ -239,11 +239,13 @@
    3.13  <h2>`gettext "Recharge"`</h2>
    3.14  <form method='get' action='$SCRIPT_NAME'>
    3.15  <div id="actions">
    3.16 -	<p>`gettext "Recharge lists will check for new or updated packages"`</p>
    3.17 +	<p>
    3.18 +		`gettext "Recharge will check for new or updated packages...
    3.19 +		please wait"`
    3.20 +	</p>
    3.21  </div>	
    3.22 -<pre class="pre_main">
    3.23 +<pre>
    3.24  EOT
    3.25 -		gettext "Recharging the packages list... please wait"; echo
    3.26  		tazpkg recharge | filter_tazpkg_msgs
    3.27  		echo '</pre>'
    3.28  		echo '<p>'
    3.29 @@ -304,7 +306,7 @@
    3.30  <div id="actions">
    3.31  	<p>`gettext "Detailled information on:"` $PACKAGE</p>
    3.32  </div>
    3.33 -<pre class="pre_main">
    3.34 +<pre>
    3.35  Name        : $PACKAGE
    3.36  Version     : $VERSION
    3.37  Description : $SHORT_DESC