tazpanel diff network.cgi @ rev 100
index.cgi: use $SCRIPT_NAME
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 21:27:07 2011 +0200 (2011-04-14) |
parents | 25602bc63ca7 |
children | 21a86f36336d |
line diff
1.1 --- a/network.cgi Wed Apr 13 16:41:02 2011 +0200 1.2 +++ b/network.cgi Thu Apr 14 21:27:07 2011 +0200 1.3 @@ -49,12 +49,19 @@ 1.4 *\ wifi\ *) 1.5 # Wireless connections settings 1.6 xhtml_header 1.7 - 1.8 cat << EOT 1.9 <h2>`gettext "Wireless connection`</h2> 1.10 + 1.11 +<h3>$(gettext "Configuration file")</h3> 1.12 +<p> 1.13 +$(gettext "These values are the wifi settings in the main 1.14 +/etc/network.conf configuration file") 1.15 +</p> 1.16 <pre> 1.17 -`grep ^WIFI_ /etc/network.conf` 1.18 +$(grep ^WIFI_ /etc/network.conf | syntax_highlighter conf) 1.19 </pre> 1.20 +<a class="button" href="index.cgi?file=/etc/network.conf&action=edit"> 1.21 + <img src="$IMAGES/edit.png" />$(gettext "Manual Edit")</a> 1.22 EOT 1.23 ;; 1.24 *)