tazpanel diff boot.cgi @ rev 105
boot.cgi: button style for /etc/init.d/local.sh edit and put it under the box
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 15 05:52:46 2011 +0200 (2011-04-15) |
parents | 0b4950af683b |
children | b898c9887a62 |
line diff
1.1 --- a/boot.cgi Thu Apr 14 23:51:14 2011 +0200 1.2 +++ b/boot.cgi Fri Apr 15 05:52:46 2011 +0200 1.3 @@ -171,11 +171,11 @@ 1.4 `cat /proc/cmdline` 1.5 </pre> 1.6 <h3>`gettext "Local startup commands"`</h3> 1.7 -<a href="index.cgi?file=/etc/init.d/local.sh"> 1.8 -<img src="$IMAGES/edit.png" />/etc/init.d/local.sh</a> 1.9 <pre> 1.10 $(cat /etc/init.d/local.sh | syntax_highlighter sh) 1.11 </pre> 1.12 +<a class="button" href="index.cgi?file=/etc/init.d/local.sh&action=edit"> 1.13 +<img src="$IMAGES/edit.png" />$(gettext "Edit script")</a> 1.14 EOT 1.15 ;; 1.16 esac