tazpanel view live.cgi @ rev 25

Add 3 POT file, fix typo and empty gettext strings
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 05 01:59:33 2011 +0200 (2011-04-05)
parents fa19c333f9c6
children 167d42c156fa
line source
1 #!/bin/sh
2 #
3 # CGI interface for SliTaz Live systems using Tazlito and TazUSB.
4 #
5 echo "Content-Type: text/html"
6 echo ""
8 # Common functions from libtazpanel
9 . lib/libtazpanel
10 get_config
12 # Include gettext helper script.
13 . /usr/bin/gettext.sh
15 # Export package name for gettext.
16 TEXTDOMAIN='tazpanel-live'
17 export TEXTDOMAIN
19 TITLE="- Live"
21 #
22 # Commands
23 #
25 case "$QUERY_STRING" in
26 gen-distro)
27 echo "" ;;
28 *)
29 #
30 # Default xHTML content
31 #
32 xhtml_header
33 cat << EOT
34 <div id="wrapper">
35 <h2>`gettext "SliTaz Live Systems"`</h2>
36 <p>`gettext "Create and manage Live CD or USB SliTaz systems"`<p>
37 </div>
39 EOT
40 ;;
41 esac
43 xhtml_footer
44 exit 0