tazbug rev 78
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Feb 05 19:01:00 2014 +0000 (2014-02-05) |
parents | 37608e2568ca |
children | 61e512bd800b |
files | README web/bugs.cgi |
line diff
1.1 --- a/README Tue Feb 04 23:29:42 2014 +0100 1.2 +++ b/README Wed Feb 05 19:01:00 2014 +0000 1.3 @@ -46,7 +46,7 @@ 1.4 Auth file with pass: /var/lib/slitaz/auth/people 1.5 1.6 1.7 -Developement 1.8 +Development 1.9 ------------ 1.10 Shell scripts as usual, HTML 5, CSS 3 and a bit of Javascript. To work on bugs 1.11 locally you have to clone the repo, create a vhost for the web interface and
2.1 --- a/web/bugs.cgi Tue Feb 04 23:29:42 2014 +0100 2.2 +++ b/web/bugs.cgi Wed Feb 05 19:01:00 2014 +0000 2.3 @@ -117,7 +117,7 @@ 2.4 fgrep -q 'ADMIN_USER="yes"' ${PEOPLE}/${user}/account.conf 2.5 } 2.6 2.7 -# Authentified or not 2.8 +# Authenticated or not 2.9 user_box() { 2.10 2.11 IDLOC="" 2.12 @@ -222,7 +222,7 @@ 2.13 EOT 2.14 } 2.15 2.16 -# Display authentified user profile. TODO: change password 2.17 +# Display authenticated user profile. TODO: change password 2.18 auth_people() { 2.19 cat << EOT 2.20 Email : $MAIL 2.21 @@ -327,7 +327,7 @@ 2.22 if [ "$MSG" ]; then 2.23 msgid=$(echo $msg | cut -d "." -f 2) 2.24 del="" 2.25 - # User can delete his post has well as admin. 2.26 + # User can delete his post as well as admin. 2.27 if [ "$user" == "$USER" ] || admin_user; then 2.28 del="<a href=\"?id=$id&delmsg=$msgid\">delete</a>" 2.29 fi 2.30 @@ -741,7 +741,7 @@ 2.31 if fgrep -qH $key $PEOPLE/*/account.conf; then 2.32 conf=$(fgrep -H $key $PEOPLE/*/account.conf | cut -d ":" -f 1) 2.33 . $conf 2.34 - echo "Authentified: $NAME ($USER)" 2.35 + echo "Authenticated: $NAME ($USER)" 2.36 case " $(GET) " in 2.37 *\ msg\ *) 2.38 [ ! "$id" ] && echo "Missing bug ID" && exit 0