# HG changeset patch # User Christophe Lincoln # Date 1302806390 -7200 # Node ID df959815c470c1c79a1edea762c3d7a11c843bc6 # Parent 3eb6d92c32f1de9ac62288800673da694539a12c network.cgi: Start improving it and adding features, also tiny fix to pkgs.cgo for clean-cache diff -r 3eb6d92c32f1 -r df959815c470 network.cgi --- a/network.cgi Thu Apr 14 20:36:07 2011 +0200 +++ b/network.cgi Thu Apr 14 20:39:50 2011 +0200 @@ -49,12 +49,19 @@ *\ wifi\ *) # Wireless connections settings xhtml_header - cat << EOT

`gettext "Wireless connection`

+ +

$(gettext "Configuration file")

+

+$(gettext "These values are the wifi settings in the main +/etc/network.conf configuration file") +

-`grep ^WIFI_ /etc/network.conf`
+$(grep ^WIFI_ /etc/network.conf | syntax_highlighter conf)
 
+ + $(gettext "Manual Edit") EOT ;; *) diff -r 3eb6d92c32f1 -r df959815c470 pkgs.cgi --- a/pkgs.cgi Thu Apr 14 20:36:07 2011 +0200 +++ b/pkgs.cgi Thu Apr 14 20:39:50 2011 +0200 @@ -577,7 +577,7 @@

`gettext "Packages in the cache:"` $cache_files ($cache_size) - +