slitaz-tools rev 168
Netbox: add PHP
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 04 09:20:52 2008 +0000 (2008-05-04) |
parents | 6e8329393928 |
children | af16b5d7db36 |
files | tinyutils/netbox |
line diff
1.1 --- a/tinyutils/netbox Fri May 02 20:53:59 2008 +0200 1.2 +++ b/tinyutils/netbox Sun May 04 09:20:52 2008 +0000 1.3 @@ -571,8 +571,25 @@ 1.4 </frame> 1.5 ' 1.6 [ -x /usr/bin/rsync ] && NET_BOX="${NET_BOX}${tmp}${tmp2}" 1.7 -tmp='<frame Lighttpd> 1.8 - <hbox> 1.9 +tmp='<frame Lighttpd>' 1.10 +tmp2='<frame PHP> 1.11 + <hbox> 1.12 + <text use-markup="true"> 1.13 + <label>"<b>Configuration :</b>"</label> 1.14 + </text> 1.15 + <entry editable="false"> 1.16 + <default>/etc/php.ini</default> 1.17 + <variable>PHP_CONF</variable> 1.18 + </entry> 1.19 + <button> 1.20 + <input file icon="accessories-text-editor"></input> 1.21 + <action type="lauch">leafpad $PHP_CONF</action> 1.22 + </button> 1.23 + </hbox> 1.24 + </frame> 1.25 +' 1.26 +[ -f /etc/php.ini ] && tmp="${tmp}${tmp2}" 1.27 +tmp2='<hbox> 1.28 <text use-markup="true"> 1.29 <label>"<b>Configuration :</b>"</label> 1.30 </text> 1.31 @@ -602,7 +619,7 @@ 1.32 </hbox> 1.33 </frame> 1.34 ' 1.35 -[ -x /usr/sbin/lighttpd ] && NET_BOX="${NET_BOX}${tmp}" 1.36 +[ -x /usr/sbin/lighttpd ] && NET_BOX="${NET_BOX}${tmp}${tmp2}" 1.37 tmp='<frame Samba: smbd & nmbd> 1.38 <hbox> 1.39 <text use-markup="true">