summaryrefslogtreecommitdiff
path: root/skins/stone/widgets
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2009-06-21 11:25:33 +0000
committerAndreas Brachold <vdr07@deltab.de>2009-06-21 11:25:33 +0000
commitf133b015da20a4fb2c6173e4fc514f1ca5adbfae (patch)
tree2f1c3772e30b645a17a79120ece6e93943150343 /skins/stone/widgets
parent0017dab8fd4f5a02b16affcbb78aebc36bbf8e8f (diff)
downloadxxv-f133b015da20a4fb2c6173e4fc514f1ca5adbfae.tar.gz
xxv-f133b015da20a4fb2c6173e4fc514f1ca5adbfae.tar.bz2
* HTTPD: Add widget for input time based values
* RECORDS: redit remove useless edit of recording 'priority'
Diffstat (limited to 'skins/stone/widgets')
-rw-r--r--skins/stone/widgets/time.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/skins/stone/widgets/time.tmpl b/skins/stone/widgets/time.tmpl
new file mode 100644
index 0000000..8d12525
--- /dev/null
+++ b/skins/stone/widgets/time.tmpl
@@ -0,0 +1,13 @@
+<!-- time -->
+<?% global.widgetcount = global.widgetcount + 1 %?>
+<tr<?% ' class="two"' IF global.widgetcount mod 2 == 0 %?>>
+ <?% INCLUDE widgets/topic.inc abbr=data.msg %?>
+ <td>
+ <?% val = cgi.param(data.NAME) || data.def %?>
+ <?% IF data.readonly %?>
+ <?% val %?>
+ <?% ELSE %?>
+ <input style="width:80px;" type="text" name="<?% data.NAME %?>" value="<?% val %?>" />
+ <?% END %?>
+ </td>
+</tr>