tazinst rev 54

installer.cgi: show menu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 13 17:03:13 2015 +0200 (2015-04-13)
parents 8716e39f848a
children deb2ba5096fc
files installer.cgi
line diff
     1.1 --- a/installer.cgi	Sat Apr 11 17:30:51 2015 +0200
     1.2 +++ b/installer.cgi	Mon Apr 13 17:03:13 2015 +0200
     1.3 @@ -37,16 +37,16 @@
     1.4  
     1.5  case "$1" in
     1.6  	menu)
     1.7 -		[ "$REMOTE_USER" == "root" ] && cat << EOT
     1.8 +		cat <<EOT
     1.9  <li tabindex="0">
    1.10  	<span>$(gettext 'Install')</span>
    1.11  	<menu>
    1.12  		<li><a data-icon="install"
    1.13 -			href="installer.cgi">$(gettext 'Install')</a></li>
    1.14 +			href="installer.cgi" data-root>$(gettext 'Install')</a></li>
    1.15  		<li><a data-icon="slitaz"
    1.16 -			href="installer.cgi?page=install">$(gettext 'Install SliTaz')</a></li>
    1.17 +			href="installer.cgi?page=install" data-root>$(gettext 'Install SliTaz')</a></li>
    1.18  		<li><a data-icon="upgrade"
    1.19 -			href="installer.cgi?page=upgrade">$(gettext 'Upgrade system')</a></li>
    1.20 +			href="installer.cgi?page=upgrade" data-root>$(gettext 'Upgrade system')</a></li>
    1.21  	</menu>
    1.22  </li>
    1.23  EOT