tazpanel rev 205
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Aug 14 10:49:10 2011 +0100 (2011-08-14) |
parents | cd9f95004820 |
children | 57c5ebe79e05 |
files | TODO boot.cgi live.cgi network.cgi pkgs.cgi settings.cgi |
line diff
1.1 --- a/TODO Sun Aug 14 00:12:36 2011 +0100 1.2 +++ b/TODO Sun Aug 14 10:49:10 2011 +0100 1.3 @@ -9,10 +9,10 @@ 1.4 drivers and firmware, setup printers and manage devices (mount with 1.5 loop & crypto support, umount, eject, burn, format, backup with dd or ?) 1.6 * Improve boot.cgi to handle theming GRUB, fbsplash and Slim and 1.7 - improve rcS.conf. 1.8 + improve rcS.conf 1.9 * Crond management interface 1.10 * Firewall PID file and configuration 1.11 - * bootfloppybox support in boot.cgi (versatile floppy + floppy set) 1.12 - * slitaz installer support ? 1.13 - * desktopbox support with logout 1.14 + * Bootfloppybox support in boot.cgi (versatile floppy + floppy set) 1.15 + * Slitaz installer support ? 1.16 + * Desktopbox support with logout 1.17
2.1 --- a/boot.cgi Sun Aug 14 00:12:36 2011 +0100 2.2 +++ b/boot.cgi Sun Aug 14 10:49:10 2011 +0100 2.3 @@ -51,7 +51,7 @@ 2.4 # 2.5 # Everything until user login 2.6 # 2.7 - # Start and stop a daemon. I think we dont need restart since 2 2.8 + # Start and stop a daemon. I think we don't need a restart since 2 2.9 # clicks and you are done 2.10 . /etc/rcS.conf 2.11 xhtml_header 2.12 @@ -76,7 +76,7 @@ 2.13 ps ww | sed "1p;/^ *${daemon#pid=} /!d" 2.14 echo "</pre>" ;; 2.15 esac 2.16 - # Demon list 2.17 + # Daemon list 2.18 table_start 2.19 cat << EOT 2.20 <thead> 2.21 @@ -128,7 +128,7 @@ 2.22 zcip) 2.23 gettext "<td>Manage a ZeroConf IPv4 link-local address</td>" ;; 2.24 *) 2.25 - # Descrition from receipt 2.26 + # Description from receipt 2.27 [ -d "$LOCALSTATE/installed/$name" ] && pkg=$name 2.28 [ -d "$LOCALSTATE/installed/${name%d}" ] && pkg=${name%d} 2.29 [ -d "$LOCALSTATE/installed/${name}-pam" ] && pkg=${name}-pam 2.30 @@ -139,14 +139,14 @@ 2.31 echo "<td>----</td>" 2.32 fi ;; 2.33 esac 2.34 - # Attemp to get daemon status 2.35 + # Attempt to get daemon status 2.36 pidfile=`find /var/run -name *$name*.pid` 2.37 [ "$pidfile" ] && pid=`cat $pidfile` 2.38 # dbus 2.39 [ -f /var/run/${name}/pid ] && pid=`cat /var/run/${name}/pid` 2.40 # apache 2.41 [ "$name" = "apache" ] && pid=`cat /var/run/$name/httpd.pid` 2.42 - # Pidof works for many daemon 2.43 + # Pidof works for many daemons 2.44 [ "$pid" ] || pid=`pidof $name` 2.45 if [ "$pid" ]; then 2.46 cat << EOT
3.1 --- a/live.cgi Sun Aug 14 00:12:36 2011 +0100 3.2 +++ b/live.cgi Sun Aug 14 10:49:10 2011 +0100 3.3 @@ -108,7 +108,7 @@ 3.4 `gettext "USB Media to use:"` 3.5 <select name="gen_liveusb"> 3.6 EOT 3.7 - # List disk if plugged USB device 3.8 + # List disk if there is a plugged USB device 3.9 if [ -d /proc/scsi/usb-storage ]; then 3.10 for i in `blkid | cut -d ":" -f 1`; do 3.11 echo "<option value='$i'>$i</option>"
4.1 --- a/network.cgi Sun Aug 14 00:12:36 2011 +0100 4.2 +++ b/network.cgi Sun Aug 14 10:49:10 2011 +0100 4.3 @@ -66,7 +66,7 @@ 4.4 case " $(GET) " in 4.5 *\ start\ *) 4.6 # Here we sleep a bit to let udhcp get the lease before reloading 4.7 - # page with status 4.8 + # the page with status 4.9 /etc/init.d/network.sh start | log 4.10 sleep 2 ;; 4.11 *\ stop\ *)
5.1 --- a/pkgs.cgi Sun Aug 14 00:12:36 2011 +0100 5.2 +++ b/pkgs.cgi Sun Aug 14 10:49:10 2011 +0100 5.3 @@ -2,7 +2,7 @@ 5.4 # 5.5 # TazPKG CGI interface - Manage packages via a browser 5.6 # 5.7 -# This CGI interface intensively uses tazpkg to manage packages and have 5.8 +# This CGI interface extensively uses tazpkg to manage packages and have 5.9 # its own code for some tasks. Please KISS, it is important and keep speed 5.10 # in mind. Thanks, Pankso. 5.11 # 5.12 @@ -13,7 +13,7 @@ 5.13 get_config 5.14 header 5.15 5.16 -# xHTML 5 header with special side bar fo categories. 5.17 +# xHTML 5 header with special side bar for categories. 5.18 TITLE="- Packages" 5.19 xhtml_header | sed 's/id="content"/id="content-sidebar"/' 5.20
6.1 --- a/settings.cgi Sun Aug 14 00:12:36 2011 +0100 6.2 +++ b/settings.cgi Sun Aug 14 10:49:10 2011 +0100 6.3 @@ -1,8 +1,8 @@ 6.4 #!/bin/sh 6.5 # 6.6 # System settings CGI interface: user, locale, keyboard, date. Since we 6.7 -# dont have multiple pages here there is only one case used to get command 6.8 -# values and the full content is following directly. 6.9 +# don't have multiple pages here there is only one case used to get command 6.10 +# values and the full content is followed directly. 6.11 # 6.12 # Copyright (C) 2011 SliTaz GNU/Linux - BSD License 6.13 # 6.14 @@ -47,7 +47,7 @@ 6.15 6.16 case " $(GET) " in 6.17 *\ do\ *) 6.18 - # Assume not array support in httpd_helper.sh ;^) 6.19 + # Assume no array support in httpd_helper.sh ;^) 6.20 users="" 6.21 IFS="&" 6.22 for i in $QUERY_STRING ; do