tazbug rev 69

Avoid vars name conflict
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 08 14:05:52 2014 +0100 (2014-01-08)
parents 72256c35d685
children 243308dc325e
files web/bugs.cgi web/plugins/users/users.cgi web/plugins/users/users.conf
line diff
     1.1 --- a/web/bugs.cgi	Wed Jan 08 08:50:30 2014 +0100
     1.2 +++ b/web/bugs.cgi	Wed Jan 08 14:05:52 2014 +0100
     1.3 @@ -136,7 +136,7 @@
     1.4  	cat << EOT
     1.5  	<div id="user">
     1.6  	<a href="?login$IDLOC"><img src="images/avatar.png" alt="[ User ]" /></a>
     1.7 -	<a href="?login$IDLOC">$(gettext 'Log in')</a>
     1.8 +	<a href="?login$IDLOC">$(gettext 'Login')</a>
     1.9  	</div>
    1.10  EOT
    1.11  	fi
     2.1 --- a/web/plugins/users/users.cgi	Wed Jan 08 08:50:30 2014 +0100
     2.2 +++ b/web/plugins/users/users.cgi	Wed Jan 08 14:05:52 2014 +0100
     2.3 @@ -35,9 +35,9 @@
     2.4  		done
     2.5  		echo "</pre>" && exit 0 ;;
     2.6  	
     2.7 -	*\ online\ *)
     2.8 +	*\ logged\ *)
     2.9  		# Show online users based on sessions files.
    2.10 -		d="Online users"
    2.11 +		d="Logged users"
    2.12  		header
    2.13  		html_header
    2.14  		user_box
    2.15 @@ -46,7 +46,7 @@
    2.16  			exit 0
    2.17  		fi
    2.18  		cat << EOT
    2.19 -<h2>Online users</h2>
    2.20 +<h2>Logged users</h2>
    2.21  <div id="tools">
    2.22  	<a href="$script?dashboard">Dashboard</a>
    2.23  </div>
     3.1 --- a/web/plugins/users/users.conf	Wed Jan 08 08:50:30 2014 +0100
     3.2 +++ b/web/plugins/users/users.conf	Wed Jan 08 14:05:52 2014 +0100
     3.3 @@ -6,7 +6,7 @@
     3.4  
     3.5  # Authentfied users
     3.6  PLUGINS_TOOLS="${PLUGINS_TOOLS}"
     3.7 -DASHBOARD_TOOLS="<a href='?online'>Online users</a>"
     3.8 +DASHBOARD_TOOLS="<a href='?logged'>Logged users</a>"
     3.9  
    3.10  # Admin only in Dashboard
    3.11  ADMIN_TOOLS="${ADMIN_TOOLS} <a href='?users'>List users</a>"