tazbug view web/plugins/skel/skel.cgi @ rev 82

web: plugins dont need to source httphelper.sh
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 17 23:16:08 2014 +0100 (2014-02-17)
parents 02a11d8d636e
children bcaad2bc76c8
line source
1 #!/bin/sh
2 #
3 # TinyCM/TazBug Plugin - Skeleton
4 #
6 if [ "$(GET skel)" ]; then
7 d="Skel"
8 header
9 html_header
10 user_box
11 echo "<h2>Plugin Skel</h2>"
12 echo $(date)
14 # Say we use files in $DATA/skel, sort them by date and simply cat
15 # the files, this will create a simple blog :-) We may add post via
16 # uploads or a HTML form.
18 html_footer
19 exit 0
20 fi