tazpanel diff index.cgi @ rev 434

boot.cgi: user support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 20:48:48 2015 +0200 (2015-04-06)
parents 73305834575f
children b0146d791379
line diff
     1.1 --- a/index.cgi	Mon Apr 06 19:06:05 2015 +0200
     1.2 +++ b/index.cgi	Mon Apr 06 20:48:48 2015 +0200
     1.3 @@ -609,9 +609,13 @@
     1.4  <p>$(gettext 'SliTaz administration and configuration Panel')<p>
     1.5  
     1.6  <form class="nogap"><!--
     1.7 +EOT
     1.8 +		[ "$REMOTE_USER" == "root" ] && cat <<EOT
     1.9  	--><button name="terminal" data-icon="terminal">$(gettext 'Terminal'        )</button><!--
    1.10 -	--><button name="top"      data-icon="proc"    >$(gettext 'Process activity')</button><!--
    1.11 -	--><button name="report"   data-icon="report"  >$(gettext 'Create a report' )</button>
    1.12 +	--><button name="report"   data-icon="report"  >$(gettext 'Create a report' )</button><!--
    1.13 +EOT
    1.14 +		cat <<EOT
    1.15 +	--><button name="top"      data-icon="proc"    >$(gettext 'Process activity')</button>
    1.16  </form>
    1.17  
    1.18  <section>