tazpanel diff hardware.cgi @ rev 439
index.cgi: restore header in the file viewer; network.cgi: show both disabled start/stop/restart buttons for user.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 07 04:12:24 2015 +0300 (2015-04-07) |
parents | fa8dd339b418 |
children | 169f1ccfb613 |
line diff
1.1 --- a/hardware.cgi Mon Apr 06 22:36:56 2015 +0200 1.2 +++ b/hardware.cgi Tue Apr 07 04:12:24 2015 +0300 1.3 @@ -223,14 +223,10 @@ 1.4 <p>$(gettext 'Manage your computer hardware')</p> 1.5 1.6 <form><!-- 1.7 -EOT 1.8 - [ "$REMOTE_USER" == "root" ] && cat <<EOT 1.9 - --><button name="detect" data-icon="detect" >$(gettext 'Detect PCI/USB')</button><!-- 1.10 - --><button name="tazx" data-icon="tazx" >$(gettext 'Auto-install Xorg video driver')</button><!-- 1.11 -EOT 1.12 - cat <<EOT 1.13 - --><button name="modules" data-icon="modules">$(gettext 'Kernel modules')</button> 1.14 -</form> 1.15 + --><button name="modules" data-icon="modules">$(gettext 'Kernel modules')</button><!-- 1.16 + --><button name="detect" data-icon="detect" data-root>$(gettext 'Detect PCI/USB')</button><!-- 1.17 + --><button name="tazx" data-icon="tazx" data-root>$(gettext 'Auto-install Xorg video driver')</button><!-- 1.18 +--></form> 1.19 1.20 EOT 1.21