tinycm view plugins/skel/skel.cgi @ rev 6

Add plugins (skel and export)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 11 15:59:53 2012 +0200 (2012-04-11)
parents
children 9d0f7be12384
line source
1 #!/bin/sh
2 #
3 # TinyCM Plugin - Skeleton
4 #
5 . /usr/lib/slitaz/httphelper
7 if [ "$(GET skel)" ]; then
8 d="Skel"
9 header
10 html_header
11 user_box
12 echo "<h2>Plugin Skel</h2>"
13 echo $(date)
15 # Say we use files in $DATA/skel, sort them by date and simply cat
16 # the files, this will create a simple blog :-) We may add post via
17 # uploads or an HTML form.
19 html_footer
20 exit 0
21 fi