index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
commit | 6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch) | |
tree | 350feb504587d932e02837a1442b059759927646 /themes/CleanFS/templates/common.datepicker.tpl |
-rw-r--r-- | themes/CleanFS/templates/common.datepicker.tpl | 9 |
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> |