tinycm rev 33

Tiny edits
author Paul Issott <paul@slitaz.org>
date Mon Jan 06 21:22:04 2014 +0000 (2014-01-06)
parents c4b94b7a7dd6
children 6b640e0c98c8
files README plugins/blog/help.txt plugins/export/export.cgi plugins/keygen/keygen.cgi
line diff
     1.1 --- a/README	Mon Jan 06 20:48:49 2014 +0000
     1.2 +++ b/README	Mon Jan 06 21:22:04 2014 +0000
     1.3 @@ -3,14 +3,14 @@
     1.4  
     1.5  
     1.6  	* CGI/Shell powered, small Wiki syntax and HTML JS editor helper
     1.7 -	* Tiny, fast, elegent and easy to install and customize
     1.8 +	* Tiny, fast, elegant and easy to install and customize
     1.9  	* No database, flat file storage with diff and log
    1.10  	* Plugins support for any kind of functions such as a blog
    1.11 -	* Help file with formating rules, macro and HTML example code
    1.12 +	* Help file with formatting rules, macro and HTML example code
    1.13  	* Gettext support and languages support for documents
    1.14  	* Mercurial integration with web and cmdline commits
    1.15 -	* Shared and secure authentification system
    1.16 -	* Easilely themable and fine desktop integration
    1.17 +	* Shared and secure authentication system
    1.18 +	* Easily themable and fine desktop integration
    1.19  
    1.20  
    1.21  Installation
    1.22 @@ -44,7 +44,7 @@
    1.23  Plugins
    1.24  -------
    1.25  All plugins are located in plugins/* and consist of a SHell script, a config
    1.26 -file and an optionnal help.txt file. To start a new plugin simply copy and
    1.27 +file and an optional help.txt file. To start a new plugin simply copy and
    1.28  rename the skel directory and files. Then edit the configuration file and
    1.29  start coding. 
    1.30  
    1.31 @@ -70,7 +70,7 @@
    1.32  we use the latest files on the web interface we use a Hook to update the repo on
    1.33  each commit. To have the mercurial web interface for the repo you can setup
    1.34  a vhost, TinyCM provides a small web interface to display a Hg log but it can
    1.35 -be extented via a plugin. Hook for $content/.hg/hgrc:
    1.36 +be extended via a plugin. Hook for $content/.hg/hgrc:
    1.37  
    1.38  [hooks]
    1.39  incoming = hg update
     2.1 --- a/plugins/blog/help.txt	Mon Jan 06 20:48:49 2014 +0000
     2.2 +++ b/plugins/blog/help.txt	Mon Jan 06 21:22:04 2014 +0000
     2.3 @@ -1,4 +1,4 @@
     2.4  
     2.5 -The blog plugin use the Wiki syntax for formating text and store all 
     2.6 +The blog plugin uses the Wiki syntax for formating text and stores all 
     2.7  posts in $content/blog. It can replace the default index to have a
     2.8  dynamic website home page by adding [BLOG] to the main index.
     3.1 --- a/plugins/export/export.cgi	Mon Jan 06 20:48:49 2014 +0000
     3.2 +++ b/plugins/export/export.cgi	Mon Jan 06 21:22:04 2014 +0000
     3.3 @@ -5,9 +5,9 @@
     3.4  . /usr/lib/slitaz/httphelper
     3.5  
     3.6  #
     3.7 -# NOTE: Exporting wiki and make all url's work is is a bit tricky and
     3.8 -# actually don't work as expected. The goal is to have a SliTaz codex
     3.9 -# online thta can be include on the ISO, so we could have an export
    3.10 +# NOTE: Exporting wiki and making all urls work is a bit tricky and
    3.11 +# actually doesn't work as expected. The goal is to have a SliTaz codex
    3.12 +# online that can be included on the ISO, so we could have an export
    3.13  # including a small CGI script to simply display wiki pages via HTTPd
    3.14  # knowing that with HTML we must also deal with ../../
    3.15  #
    3.16 @@ -87,7 +87,7 @@
    3.17  				sed -i s'/index.cgi/index.html/'/ ${f}
    3.18  				doc="[0-9a-zA-Z\.\#/~\_%=\?\&,\+\:@;!\(\)\*\$'\-]*"
    3.19  				#
    3.20 -				# The sed from wiki url's to html bug if there is 2 link
    3.21 +				# The sed from wiki urls to html bug if there is 2 links
    3.22  				# on same line: [test|Test] tralala [en/index|English]
    3.23  				#
    3.24  				cat $d.txt | wiki_parser | sed \
     4.1 --- a/plugins/keygen/keygen.cgi	Mon Jan 06 20:48:49 2014 +0000
     4.2 +++ b/plugins/keygen/keygen.cgi	Mon Jan 06 21:22:04 2014 +0000
     4.3 @@ -17,7 +17,7 @@
     4.4  <div style="text-align: center; padding: 20px 0;">
     4.5  	<form method="get" action="$script">
     4.6  		<input type="text" name="keygen" 
     4.7 -			placeholder="$(gettext "Random or personnal string")" />
     4.8 +			placeholder="$(gettext "Random or personal string")" />
     4.9  		<div>
    4.10  			<input type="submit" name="encryption" value="base64" />
    4.11  			<input type="submit" name="encryption" value="md5sum" />