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

Small fixes and improvments to plugins
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 10 16:51:39 2017 +0100 (2017-02-10)
parents 2808fc73ac9f
children b9aaee394e0c
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 cat << EOT
12 <h2>Plugin Skel</h2>
13 <div id="tools">
14 <a href="$script?dashboard">Dashboard</a>
15 </div>
16 EOT
17 echo "<p>$(date)</p>"
19 # Say we use files in $DATA/skel, sort them by date and simply cat
20 # the files, this will create a simple blog :-) We may add post via
21 # uploads or a HTML form.
23 html_footer
24 exit 0
25 fi