tazpanel diff network.cgi @ rev 109

Add a tux icon and remove all call to gettext in *.cgi since we zse the same text domain and it is sourced/exported in libtazpanel
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 15 09:14:23 2011 +0200 (2011-04-15)
parents cab93136cc87
children dce3e66c3ba4
line diff
     1.1 --- a/network.cgi	Fri Apr 15 08:51:30 2011 +0200
     1.2 +++ b/network.cgi	Fri Apr 15 09:14:23 2011 +0200
     1.3 @@ -8,13 +8,6 @@
     1.4  get_config
     1.5  header
     1.6  
     1.7 -# Include gettext helper script.
     1.8 -. /usr/bin/gettext.sh
     1.9 -
    1.10 -# Export package name for gettext.
    1.11 -TEXTDOMAIN='tazpanel'
    1.12 -export TEXTDOMAIN
    1.13 -
    1.14  TITLE="- Network"
    1.15  
    1.16  # Catch ESSIDs and format output for GTK tree. We get the list of
    1.17 @@ -88,6 +81,7 @@
    1.18  		echo "$(GET hostname)" > /etc/hostname ;;
    1.19  esac
    1.20  
    1.21 +# Get values only now since ther could have been modified by actions.
    1.22  . /etc/network.conf
    1.23  
    1.24  #