tazpanel diff index.cgi @ rev 32

add doc/ with index.cgi to generate translated help and doc + use absolute path in xHTML and config
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 05 05:51:38 2011 +0200 (2011-04-05)
parents 253219c1f9fe
children fa59528e8bdf
line diff
     1.1 --- a/index.cgi	Tue Apr 05 05:10:57 2011 +0200
     1.2 +++ b/index.cgi	Tue Apr 05 05:51:38 2011 +0200
     1.3 @@ -23,13 +23,14 @@
     1.4  	if 	ifconfig | grep -A 1 $i | grep -q inet; then
     1.5  		ip=`ifconfig | grep -A 1 $i | grep inet | \
     1.6  			awk '{ print $2 }' | cut -d ":" -f 2`
     1.7 -		echo "<td>connected</td> <td>$ip</td>"
     1.8 +		echo "<td>connected</td><td>$ip</td>"
     1.9  	else
    1.10 -		echo "<td>-</td>"
    1.11 +		echo "<td>----</td><td>----</td>"
    1.12  	fi
    1.13  }
    1.14  
    1.15 -# Catch network interface
    1.16 +# Catch network interface (network is splited this function and above
    1.17 +# must go in lib/libtazpanel
    1.18  list_network_interfaces() {
    1.19  	table_start
    1.20  	cat << EOT