tazbug diff web/bugs.cgi @ rev 78

Tiny edits
author Paul Issott <paul@slitaz.org>
date Wed Feb 05 19:01:00 2014 +0000 (2014-02-05)
parents 239cbe0e1d4d
children 61e512bd800b
line diff
     1.1 --- a/web/bugs.cgi	Tue Feb 04 22:26:37 2014 +0100
     1.2 +++ b/web/bugs.cgi	Wed Feb 05 19:01:00 2014 +0000
     1.3 @@ -117,7 +117,7 @@
     1.4  	fgrep -q 'ADMIN_USER="yes"' ${PEOPLE}/${user}/account.conf
     1.5  }
     1.6  
     1.7 -# Authentified or not
     1.8 +# Authenticated or not
     1.9  user_box() {
    1.10  	
    1.11  	IDLOC=""
    1.12 @@ -222,7 +222,7 @@
    1.13  EOT
    1.14  }
    1.15  
    1.16 -# Display authentified user profile. TODO: change password
    1.17 +# Display authenticated user profile. TODO: change password
    1.18  auth_people() {
    1.19  	cat << EOT
    1.20  Email      : $MAIL
    1.21 @@ -327,7 +327,7 @@
    1.22  		if [ "$MSG" ]; then
    1.23  			msgid=$(echo $msg | cut -d "." -f 2)
    1.24  			del=""
    1.25 -			# User can delete his post has well as admin.
    1.26 +			# User can delete his post as well as admin.
    1.27  			if [ "$user" == "$USER" ] || admin_user; then
    1.28  				del="<a href=\"?id=$id&amp;delmsg=$msgid\">delete</a>"
    1.29  			fi
    1.30 @@ -741,7 +741,7 @@
    1.31  		if fgrep -qH $key $PEOPLE/*/account.conf; then
    1.32  			conf=$(fgrep -H $key $PEOPLE/*/account.conf | cut -d ":" -f 1)
    1.33  			. $conf
    1.34 -			echo "Authentified: $NAME ($USER)"
    1.35 +			echo "Authenticated: $NAME ($USER)"
    1.36  			case " $(GET) " in
    1.37  				*\ msg\ *)
    1.38  					[ ! "$id" ] && echo "Missing bug ID" && exit 0