tinycm diff index.cgi @ rev 64

Tiny edits
author Paul Issott <paul@slitaz.org>
date Thu Feb 06 19:35:03 2014 +0000 (2014-02-06)
parents 1293a00e2a72
children 007a950f9808
line diff
     1.1 --- a/index.cgi	Thu Feb 06 19:08:50 2014 +0100
     1.2 +++ b/index.cgi	Thu Feb 06 19:35:03 2014 +0000
     1.3 @@ -1,6 +1,6 @@
     1.4  #!/bin/sh
     1.5  #
     1.6 -# TinyCM - Small, fast and elegent CGI/SHell Content Manager
     1.7 +# TinyCM - Small, fast and elegant CGI/SHell Content Manager
     1.8  #
     1.9  # Copyright (C) 2012-2014 SliTaz GNU/Linux - BSD License
    1.10  #
    1.11 @@ -155,7 +155,7 @@
    1.12  	fgrep -q 'ADMIN_USER="yes"' ${PEOPLE}/${user}/account.conf
    1.13  }
    1.14  
    1.15 -# Authentified or not
    1.16 +# Authenticated or not
    1.17  user_box() {
    1.18  	if check_auth; then
    1.19  		cat << EOT
    1.20 @@ -276,7 +276,7 @@
    1.21  	fi
    1.22  }
    1.23  
    1.24 -# Display authentified user profile. TODO: change password
    1.25 +# Display authenticated user profile. TODO: change password
    1.26  auth_people() {
    1.27  	cat << EOT
    1.28  Email      : $MAIL
    1.29 @@ -302,7 +302,7 @@
    1.30  	fi
    1.31  }
    1.32  
    1.33 -# The CM style parser. Just a title, simple text formating and internal
    1.34 +# The CM style parser. Just a title, simple text formatting and internal
    1.35  # links, as well as images and use HTML for other stuff. Keep it fast!
    1.36  # To make TinyCM as easy as possible we have a small HTML editor/helper
    1.37  # written in Javascript
    1.38 @@ -705,14 +705,14 @@
    1.39  		# Generate a default index on first run
    1.40  		if [ ! -f "$wiki/$index.txt" ]; then
    1.41  			if ! default_index; then
    1.42 -				echo "<pre class='error'>Directory : content/ is not writable</pre>"
    1.43 +				echo "<pre class='error'>Directory : content/ is not writeable</pre>"
    1.44  				html_footer && exit 0
    1.45  			fi
    1.46  		fi
    1.47  		
    1.48  		# Check cache dir
    1.49  		if [ ! -w "$cache" ]; then
    1.50 -			echo "<pre class='error'>Directory : cache/ is not writable"
    1.51 +			echo "<pre class='error'>Directory : cache/ is not writeable"
    1.52  			echo "Command   : install -m 0777 -d $tiny/cache</pre>"
    1.53  			html_footer && exit 0
    1.54  		fi