# HG changeset patch # User Christophe Lincoln # Date 1301960828 -7200 # Node ID fa19c333f9c67fcf268a2e7758cf8233a21bfe1d # Parent 2274e489400c7488eeb2f4cd20d3b6b4006fd4bd Add live.cgi aka all Live systems tools diff -r 2274e489400c -r fa19c333f9c6 live.cgi --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/live.cgi Tue Apr 05 01:47:08 2011 +0200 @@ -0,0 +1,42 @@ +#!/bin/sh +# +# CGI interface for SliTaz Live systems using Tazlito and TazUSB. +# +echo "Content-Type: text/html" +echo "" + +# Common functions from libtazpanel +. lib/libtazpanel +get_config + +# Include gettext helper script. +. /usr/bin/gettext.sh + +# Export package name for gettext. +TEXTDOMAIN='tazpanel-live' +export TEXTDOMAIN + +# +# Commands +# + +case "$QUERY_STRING" in + gen-distro) + echo "" ;; + *) + # + # Default xHTML content + # + xhtml_header + cat << EOT +
+

`gettext "SliTaz Live"`

+

`gettext "Create and manage Live CD or USB SliTaz systems"`

+

+ +EOT + ;; +esac + +xhtml_footer +exit 0 diff -r 2274e489400c -r fa19c333f9c6 styles/default/header.html --- a/styles/default/header.html Tue Apr 05 01:42:16 2011 +0200 +++ b/styles/default/header.html Tue Apr 05 01:47:08 2011 +0200 @@ -15,6 +15,7 @@