# HG changeset patch # User Christophe Lincoln # Date 1302859976 -7200 # Node ID dce3e66c3ba42dc3438f3786f5b949537bfa4d5b # Parent 11d6b2b6103627b0d29ccb6a69ee3a0f1ceccaed Add some doc/help, use a BSD License and add COPYING file diff -r 11d6b2b61036 -r dce3e66c3ba4 COPYING --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/COPYING Fri Apr 15 11:32:56 2011 +0200 @@ -0,0 +1,26 @@ +Copyright (c) 2011 SliTaz GNU/Linux. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from TAZPANEL + without specific prior written permission. + +TAZPANEL IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF TAZPANEL, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. diff -r 11d6b2b61036 -r dce3e66c3ba4 README --- a/README Fri Apr 15 10:28:02 2011 +0200 +++ b/README Fri Apr 15 11:32:56 2011 +0200 @@ -4,7 +4,8 @@ Tazpanel is the SliTaz Control Panel, a web interface which lets you manage the full system in a radically simple way. The output xHTML code is valid xHTML 5 -and all theming is done with standard CSS 3. +and all theming is done with standard CSS 3. TazPanel is published under a +BSD License. Use it! @@ -52,11 +53,11 @@ in another script you can eventually create a new CGI page and update all links, but please to talk to the AUTHORS before. - * index.cgi Main Tazpanel CGI script (some stuff may be split - into users.cgi, boot.cgi, etc if too big or slow) + * index.cgi Main Tazpanel CGI script + * boot.cgi All what appens before login * network.cgi All related stuff to networking (eth, wifi, services) * pkgs.cgi Tazpkg packages CGI interface - * system.cgi System settings and services such as time, users + * settings.cgi System settings and services such as time, users accounts, locales or daemons management * live.cgi All tools related to Live systems (CD, USB, Frugal) * hardware.cgi Devices drivers, firmware, printing diff -r 11d6b2b61036 -r dce3e66c3ba4 boot.cgi --- a/boot.cgi Fri Apr 15 10:28:02 2011 +0200 +++ b/boot.cgi Fri Apr 15 11:32:56 2011 +0200 @@ -2,7 +2,7 @@ # # Boot CGI script - All what happens before login (grub, rcS, slim) # -# Copyright (C) 2011 SliTaz GNU/Linux - GNU gpl v3 +# Copyright (C) 2011 SliTaz GNU/Linux - BSD License # # Common functions from libtazpanel and source main boot config file. diff -r 11d6b2b61036 -r dce3e66c3ba4 doc/index.cgi --- a/doc/index.cgi Fri Apr 15 10:28:02 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -#!/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 11d6b2b61036 -r dce3e66c3ba4 doc/tazpanel.en.html --- a/doc/tazpanel.en.html Fri Apr 15 10:28:02 2011 +0200 +++ b/doc/tazpanel.en.html Fri Apr 15 11:32:56 2011 +0200 @@ -1,3 +1,4 @@ +

English Help

@@ -8,6 +9,41 @@ is done with the toolbar at the top of the application window and in some cases with a submenu.

+

- Get support on the Slitaz forum + In most case you will get a description and useful informations with + the concerned section. TazPanel use latest XHTML 5 and CSS 3 technology + to provide a clean and easy to use frontend to all administration tasks + you could do on SliTaz. TazPanel have also been coded from the begining + with speed and qualility in mind. The application also support full + internationalization.

+ +

Support

+ +

+ You can get support on the Slitaz forum, + the mailing list or the IRC channel. +

+ +

Get involve

+ +

+ If you want to help and get invlove in SliTaz, TazPanel maybe for your! + We need help in translation, styling, documentation and coding. If + you need more information or want to publish a new graphical style, + you can go to SliTaz Community + and post on the Devel forum or post an update with a PM to a SliTaz + contributor so we can get in touch and include your work in TazPanel + or in an extra styles package. +

+ +

Bugs and features

+ +

+ TazPanel is a youg application who will be improved and polished time + after time. If you find a bug, please post a bug on SliTaz tracker: + bugs.slitaz.org +

+ +
diff -r 11d6b2b61036 -r dce3e66c3ba4 hardware.cgi --- a/hardware.cgi Fri Apr 15 10:28:02 2011 +0200 +++ b/hardware.cgi Fri Apr 15 11:32:56 2011 +0200 @@ -2,7 +2,7 @@ # # Hardware part of TazPanel - Devices, drivers, printing # -# Copyright (C) 2011 SliTaz GNU/Linux - GNU gpl v3 +# Copyright (C) 2011 SliTaz GNU/Linux - BSD License # # Common functions from libtazpanel diff -r 11d6b2b61036 -r dce3e66c3ba4 help.cgi --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/help.cgi Fri Apr 15 11:32:56 2011 +0200 @@ -0,0 +1,31 @@ +#!/bin/sh +# +# help.cgi - Display TazPanel doc and README. +# +# Copyright (C) 2011 SliTaz GNU/Linux - BSD License +# +echo "Content-Type: text/html" +echo "" + +# Common functions from libtazpanel +. lib/libtazpanel +get_config + +# Cat translated help content +TITLE="- Help \& Doc" + +xhtml_header + +if [ -d doc ]; then + cat doc/tazpanel.html +else + cat /usr/share/doc/tazpanel/tazpanel.html +fi + +echo '

README

' +echo '
'
+cat $PANEL/README
+echo '
' + +xhtml_footer +exit 0 diff -r 11d6b2b61036 -r dce3e66c3ba4 index.cgi --- a/index.cgi Fri Apr 15 10:28:02 2011 +0200 +++ b/index.cgi Fri Apr 15 11:32:56 2011 +0200 @@ -4,7 +4,7 @@ # command so we are faster and do not load unneeded functions. If necessary # you can use the lib/ dir to handle external resources. # -# Copyright (C) 2011 SliTaz GNU/Linux - GNU gpl v3 +# Copyright (C) 2011 SliTaz GNU/Linux - BSD License # # Common functions from libtazpanel diff -r 11d6b2b61036 -r dce3e66c3ba4 live.cgi --- a/live.cgi Fri Apr 15 10:28:02 2011 +0200 +++ b/live.cgi Fri Apr 15 11:32:56 2011 +0200 @@ -2,7 +2,7 @@ # # CGI interface for SliTaz Live systems using Tazlito and TazUSB. # -# Copyright (C) 2011 SliTaz GNU/Linux - GNU gpl v3 +# Copyright (C) 2011 SliTaz GNU/Linux - BSD License # if [ "$1" == "call" ]; then diff -r 11d6b2b61036 -r dce3e66c3ba4 network.cgi --- a/network.cgi Fri Apr 15 10:28:02 2011 +0200 +++ b/network.cgi Fri Apr 15 11:32:56 2011 +0200 @@ -2,6 +2,8 @@ # # Network configuration CGI interface # +# Copyright (C) 2011 SliTaz GNU/Linux - BSD License +# # Common functions from libtazpanel . lib/libtazpanel diff -r 11d6b2b61036 -r dce3e66c3ba4 pkgs.cgi --- a/pkgs.cgi Fri Apr 15 10:28:02 2011 +0200 +++ b/pkgs.cgi Fri Apr 15 11:32:56 2011 +0200 @@ -6,7 +6,7 @@ # its own code for some tasks. Please KISS, it is important and keep speed # in mind. Thanks, Pankso. # -# (C) 2011 SliTaz GNU/Linux - GNU gpl v3 +# (C) 2011 SliTaz GNU/Linux - BSD License # . lib/libtazpanel diff -r 11d6b2b61036 -r dce3e66c3ba4 settings.cgi --- a/settings.cgi Fri Apr 15 10:28:02 2011 +0200 +++ b/settings.cgi Fri Apr 15 11:32:56 2011 +0200 @@ -4,7 +4,7 @@ # dont have multiple pages here there is only one case used to get command # values and the full content is following directly. # -# Copyright (C) 2011 SliTaz GNU/Linux - GNU gpl v3 +# Copyright (C) 2011 SliTaz GNU/Linux - BSD License # # Common functions from libtazpanel diff -r 11d6b2b61036 -r dce3e66c3ba4 styles/default/footer.html --- a/styles/default/footer.html Fri Apr 15 10:28:02 2011 +0200 +++ b/styles/default/footer.html Fri Apr 15 11:32:56 2011 +0200 @@ -3,7 +3,9 @@ diff -r 11d6b2b61036 -r dce3e66c3ba4 styles/default/header.html --- a/styles/default/header.html Fri Apr 15 10:28:02 2011 +0200 +++ b/styles/default/header.html Fri Apr 15 11:32:56 2011 +0200 @@ -16,7 +16,7 @@