index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
-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> |