# HG changeset patch # User Paul Issott # Date 1391715303 0 # Node ID d73353aed02d132fa4ad1944e60871d3f912ac53 # Parent 1293a00e2a7243a277aab92f764726db2181f577 Tiny edits diff -r 1293a00e2a72 -r d73353aed02d index.cgi --- a/index.cgi Thu Feb 06 19:08:50 2014 +0100 +++ b/index.cgi Thu Feb 06 19:35:03 2014 +0000 @@ -1,6 +1,6 @@ #!/bin/sh # -# TinyCM - Small, fast and elegent CGI/SHell Content Manager +# TinyCM - Small, fast and elegant CGI/SHell Content Manager # # Copyright (C) 2012-2014 SliTaz GNU/Linux - BSD License # @@ -155,7 +155,7 @@ fgrep -q 'ADMIN_USER="yes"' ${PEOPLE}/${user}/account.conf } -# Authentified or not +# Authenticated or not user_box() { if check_auth; then cat << EOT @@ -276,7 +276,7 @@ fi } -# Display authentified user profile. TODO: change password +# Display authenticated user profile. TODO: change password auth_people() { cat << EOT Email : $MAIL @@ -302,7 +302,7 @@ fi } -# The CM style parser. Just a title, simple text formating and internal +# The CM style parser. Just a title, simple text formatting and internal # links, as well as images and use HTML for other stuff. Keep it fast! # To make TinyCM as easy as possible we have a small HTML editor/helper # written in Javascript @@ -705,14 +705,14 @@ # Generate a default index on first run if [ ! -f "$wiki/$index.txt" ]; then if ! default_index; then - echo "
Directory : content/ is not writable
" + echo "
Directory : content/ is not writeable
" html_footer && exit 0 fi fi # Check cache dir if [ ! -w "$cache" ]; then - echo "
Directory : cache/ is not writable"
+			echo "
Directory : cache/ is not writeable"
 			echo "Command   : install -m 0777 -d $tiny/cache
" html_footer && exit 0 fi diff -r 1293a00e2a72 -r d73353aed02d plugins/blog/blog.cgi --- a/plugins/blog/blog.cgi Thu Feb 06 19:08:50 2014 +0100 +++ b/plugins/blog/blog.cgi Thu Feb 06 19:35:03 2014 +0000 @@ -111,7 +111,7 @@ } # -# Index main page can display the lastest Blog posts +# Index main page can display the latest Blog posts # if fgrep -q '[BLOG]' $tiny/$wiki/index.txt && [ ! "$(GET)" ]; then d="Blog posts" @@ -210,7 +210,7 @@ header "Location: $script?blog" ;; *\ archives\ *) - # List all post with title only + # List all posts with title only d="Blog archives" header html_header