tazpanel view utils/template.cgi @ rev 338

settings.cgi: set tz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 02 14:12:12 2013 +0100 (2013-01-02)
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