tazbug rev 149

Tiny edits
author Paul Issott <paul@slitaz.org>
date Thu Feb 23 18:52:34 2017 +0000 (2017-02-23)
parents 0cd81dfe65e9
children 3e8160d21207
files web/bugs.cgi web/plugins/mybugs/mybugs.cgi web/plugins/mybugs/user.sh web/plugins/users/users.cgi
line diff
     1.1 --- a/web/bugs.cgi	Thu Feb 23 01:27:10 2017 +0100
     1.2 +++ b/web/bugs.cgi	Thu Feb 23 18:52:34 2017 +0000
     1.3 @@ -360,8 +360,8 @@
     1.4  	for msg in $(ls -1tr $bugdir/$id/msg.*)
     1.5  	do
     1.6  		#
     1.7 -		# MSG="`tazlocale` should do the work..." make msg.N unsoursable
     1.8 -		# Move to text file fo msg content, ex: msg.1.conf msg.1.txt
     1.9 +		# MSG="`tazlocale` should do the work..." make msg.N unsourcable
    1.10 +		# Move to text file for msg content, ex: msg.1.conf msg.1.txt
    1.11  		#
    1.12  		if ! . ${msg}; then
    1.13  			echo "<pre>"
     2.1 --- a/web/plugins/mybugs/mybugs.cgi	Thu Feb 23 01:27:10 2017 +0100
     2.2 +++ b/web/plugins/mybugs/mybugs.cgi	Thu Feb 23 18:52:34 2017 +0000
     2.3 @@ -9,7 +9,7 @@
     2.4  	html_header
     2.5  	user_box
     2.6  	if ! check_auth; then
     2.7 -		echo "You must be logged to view user bugs" 
     2.8 +		echo "You must be logged in to view user bugs" 
     2.9  		html_footer && exit 0
    2.10  	fi
    2.11  	if [ "$(GET user)" ]; then
     3.1 --- a/web/plugins/mybugs/user.sh	Thu Feb 23 01:27:10 2017 +0100
     3.2 +++ b/web/plugins/mybugs/user.sh	Thu Feb 23 18:52:34 2017 +0000
     3.3 @@ -1,6 +1,6 @@
     3.4  #!/bin/sh
     3.5  #
     3.6 -# This script display bug for a given user. A copy is used on SCN to
     3.7 +# This script displays bugs for a given user. A copy is used on SCN to
     3.8  # display user bugs on profile page with a custom config file to set
     3.9  # $bugdir.
    3.10  #
     4.1 --- a/web/plugins/users/users.cgi	Thu Feb 23 01:27:10 2017 +0100
     4.2 +++ b/web/plugins/users/users.cgi	Thu Feb 23 18:52:34 2017 +0000
     4.3 @@ -216,7 +216,7 @@
     4.4  			cat $PEOPLE/$USER/profile.txt | wiki_parser
     4.5  		fi
     4.6  		
     4.7 -		# Run user.sh that plugins can provide to add content to a profile
     4.8 +		# Run user.sh so that plugins can provide to add content to a profile
     4.9  		for script in $(ls $plugins/*/user.sh); do
    4.10  			. ${script}
    4.11  		done