Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/themes/CleanFS/templates/common.datepicker.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/CleanFS/templates/common.datepicker.tpl')
-rw-r--r--themes/CleanFS/templates/common.datepicker.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/CleanFS/templates/common.datepicker.tpl b/themes/CleanFS/templates/common.datepicker.tpl
new file mode 100644
index 0000000..48a11e0
--- /dev/null
+++ b/themes/CleanFS/templates/common.datepicker.tpl
@@ -0,0 +1,9 @@
+<?php if ($label): ?>
+<label for="<?php echo Filters::noXSS($name); ?>"><?php echo Filters::noXSS($label); ?></label>
+<?php endif; ?>
+<input id="<?php echo Filters::noXSS($name); ?>" type="text" class="text" size="10" name="<?php echo Filters::noXSS($name); ?>" placeholder=" " value="<?php echo Filters::noXSS($date); ?>" />
+
+<a class="datelink" href="#" id="<?php echo Filters::noXSS($name); ?>dateview">
+ <!--<img src="<?php echo Filters::noXSS($this->get_image('x-office-calendar')); ?>" alt="<?php echo Filters::noXSS(L('selectdate')); ?>" />-->
+</a>
+<script type="text/javascript">Calendar.setup({daFormat: '<?php echo Filters::noJsXSS($dateformat); ?>',inputField: "<?php echo Filters::noXSS($name); ?>", button: "<?php echo Filters::noXSS($name); ?>dateview"});</script>