tinycm rev 19
add a README case
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 05 01:20:24 2014 +0100 (2014-01-05) |
parents | 941ba53b4335 |
children | 2d3ea386014a |
files | README TODO index.cgi |
line diff
1.1 --- a/README Sun Jan 05 01:03:58 2014 +0100 1.2 +++ b/README Sun Jan 05 01:20:24 2014 +0100 1.3 @@ -22,8 +22,8 @@ 1.4 CGI/SHell enabled web server such as Busybox HTTPd, LightTPD or Apache. Gettext 1.5 must be installed for localisation support. So, let's download the Content Manager: 1.6 1.7 - $ wget http://mirror.slitaz.org/sources/tinycm/tinycm-VERSION.tar.gz 1.8 - $ tar xzf tinycm-VERSION.tar.gz 1.9 + $ wget http://hg.slitaz.org/tinycm/archive/tip.tar.gz 1.10 + $ tar xzf tinycm-*.tar.gz 1.11 1.12 Or clone the Mercurial repo: 1.13
2.1 --- a/TODO Sun Jan 05 01:03:58 2014 +0100 2.2 +++ b/TODO Sun Jan 05 01:20:24 2014 +0100 2.3 @@ -1,6 +1,6 @@ 2.4 2.5 2.6 - * Upload interface with a config var to disable file upload 2.7 + * HTML5 Video player 2.8 * Mail integration in SHell or Python 2.9 * PHP content viewer for hosting without CGI support 2.10 * Use tazu to manage user ? Use in option system users in /etc ?
3.1 --- a/index.cgi Sun Jan 05 01:03:58 2014 +0100 3.2 +++ b/index.cgi Sun Jan 05 01:20:24 2014 +0100 3.3 @@ -557,6 +557,10 @@ 3.4 Mercurial : $hg 3.5 </pre> 3.6 3.7 +<div id="tools"> 3.8 + <a href="$scripts?README">README</a> 3.9 +</div> 3.10 + 3.11 <h3>$(gettext "Plugins")</h3> 3.12 <pre> 3.13 EOT 3.14 @@ -570,6 +574,16 @@ 3.15 gettext "You must be logged in to view the dashboard." 3.16 fi 3.17 html_footer ;; 3.18 + 3.19 + *\ README\ *) 3.20 + d="README" 3.21 + header 3.22 + html_header 3.23 + user_box 3.24 + echo "<h2>README</h2>" 3.25 + echo '<pre>' 3.26 + cat ${tiny}/README 3.27 + echo '</pre>' && html_footer ;; 3.28 3.29 *\ hg\ *) 3.30 header