tazpanel view utils/template.cgi @ rev 305

Added tag 1.5.6 for changeset 1ef226624abe
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 04 16:44:58 2012 +0300 (2012-05-04)
parents c9bc33ec8b6f
children
line source
1 #!/bin/sh
2 #
3 # CGI template interface for TazPanel.
4 #
6 # Common functions from libtazpanel
7 . lib/libtazpanel
8 header
9 get_config
11 #
12 # Commands
13 #
15 case " $(GET) " in
16 *\ cmd\ *)
17 echo "" ;;
18 *)
19 #
20 # Default xHTML content
21 #
22 xhtml_header
23 cat << EOT
24 <div id="wrapper">
25 <h2>$(gettext "Page title - Template")</h2>
26 <p>$(gettext "Page information")<p>
27 </div>
29 <h3>$(gettext "h3 title")</h3>
31 <pre>
32 Preformated output
33 </pre>
34 EOT
35 ;;
36 esac
38 xhtml_footer
39 exit 0