tinycm rev 18

Add a desktop file and up doc about images
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 05 01:03:58 2014 +0100 (2014-01-05)
parents 9aa60a355760
children 93e27f9ededd
files Makefile content/wiki/en/help.txt data/tinycm.desktop
line diff
     1.1 --- a/Makefile	Sat Jan 04 20:21:17 2014 +0100
     1.2 +++ b/Makefile	Sun Jan 05 01:03:58 2014 +0100
     1.3 @@ -36,16 +36,17 @@
     1.4  	install -m 0700 -d $(DESTDIR)$(LOGIN)/auth
     1.5  	install -m 0755 -d $(DESTDIR)$(WEB)/content
     1.6  	install -m 0755 -d $(DESTDIR)$(WEB)/cache
     1.7 -	#install -m 0777 -d $(DESTDIR)$(PREFIX)/share/applications
     1.8 +	install -m 0777 -d $(DESTDIR)$(PREFIX)/share/applications
     1.9  	#install -m 0777 -d $(DESTDIR)$(PREFIX)/share/locale
    1.10  	
    1.11  	cp -a config.cgi favicon.ico index.cgi README style.css \
    1.12 -		images lib plugins $(DESTDIR)$(WEB)
    1.13 +		images lib plugins content $(DESTDIR)$(WEB)
    1.14  	
    1.15 -	#install -m 0644 data/tinycm.desktop \
    1.16 -	#	$(DESTDIR)$(PREFIX)/share/applications
    1.17 +	install -m 0644 data/tinycm.desktop \
    1.18 +		$(DESTDIR)$(PREFIX)/share/applications
    1.19  	#cp -a po/mo/* $(DESTDIR)$(PREFIX)/share/locale
    1.20  	
    1.21 +	# Auth system may be used by an other app
    1.22  	touch $(DESTDIR)$(LOGIN)/auth/people
    1.23  	chmod 0600 $(DESTDIR)$(LOGIN)/auth/people
    1.24  	chown -R www.www $(DESTDIR)$(LOGIN)/auth
    1.25 @@ -55,4 +56,4 @@
    1.26  
    1.27  uninstall:
    1.28  	rm -rf $(DESTDIR)$(WEB)
    1.29 -	#rm $(DESTDIR)$(PREFIX)/share/applications/tinycm.desktop
    1.30 +	rm $(DESTDIR)$(PREFIX)/share/applications/tinycm.desktop
     2.1 --- a/content/wiki/en/help.txt	Sat Jan 04 20:21:17 2014 +0100
     2.2 +++ b/content/wiki/en/help.txt	Sun Jan 05 01:03:58 2014 +0100
     2.3 @@ -3,8 +3,10 @@
     2.4  <h2>Help</h2>
     2.5  
     2.6  <p>
     2.7 -TinyCM lets you easily create nice web content. Clean, fast and CGI SHell powered!
     2.8 -TinyCM provides a simple Wiki syntax, a JavaScript code helper, diff interface, dashboard, Hg integration and a plugin system. It can also be multi-user and a great collaboration tool.
     2.9 +TinyCM lets you easily create nice web content. Clean, fast and CGI SHell
    2.10 +powered! TinyCM provides a simple Wiki syntax, a JavaScript code helper, 
    2.11 +diff interface, dashboard, Hg integration and a plugin system. It can also
    2.12 +be multi-user and a great collaboration tool.
    2.13  </p>
    2.14  
    2.15  <h3>Titles</h3>
    2.16 @@ -24,22 +26,27 @@
    2.17  
    2.18  <h3>Page link and URL</h3>
    2.19  <p>
    2.20 -To create a new page you have to create a new link to it. Then you can edit and add content to your new page. First the link title then the path to a new or existing page:
    2.21 +To create a new page you have to create a new link to it. Then you can edit 
    2.22 +and add content to your new page. First the link title then the path to a 
    2.23 +new or existing page:
    2.24  </p>
    2.25  <pre>
    2.26  [Help|en/help]
    2.27  </pre>
    2.28  <p>
    2.29 -You can also copy/paste a full URL such as:
    2.30 +You can also use a full URL. Thos time we separate the link name of the URL
    2.31 +with an exclamation !
    2.32  </p>
    2.33  <pre>
    2.34 -http://www.slitaz.org/
    2.35 +[SliTaz!http://www.slitaz.org/]
    2.36  </pre>
    2.37  
    2.38  <h3>Images</h3>
    2.39  <p>
    2.40 -You can have some images in your content folder or use one from the web. Just paste the URL to the PNG image:
    2.41 +You can have some images in your content folder or use one from the web.
    2.42 +Just paste the URL to the PNG image or use the image name:
    2.43  </p>
    2.44  <pre>
    2.45 -http://site.com/path/image.png
    2.46 +[http://site.com/path/image.png]
    2.47 +[image.png]
    2.48  </pre>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/data/tinycm.desktop	Sun Jan 05 01:03:58 2014 +0100
     3.3 @@ -0,0 +1,9 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=Content Manager
     3.7 +Name[fr]=Gestionnaire de contenu
     3.8 +Icon=slitaz-doc
     3.9 +Exec=browser http://localhost/tinycm/index.cgi
    3.10 +Type=Application
    3.11 +Categories=Office;
    3.12 +