index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | themes/CleanFS/templates/common.userselect.tpl | 6 |
diff --git a/themes/CleanFS/templates/common.userselect.tpl b/themes/CleanFS/templates/common.userselect.tpl new file mode 100644 index 0000000..dd58eab --- /dev/null +++ b/themes/CleanFS/templates/common.userselect.tpl @@ -0,0 +1,6 @@ +<input class="users text" <?php echo join_attrs($attrs); ?> type="text" name="<?php echo Filters::noXSS($name); ?>" <?php if ($id): ?>id="<?php echo Filters::noXSS($id); ?>"<?php endif; ?> value="<?php echo Filters::noXSS($value); ?>" /> +<span class="autocomplete" id="<?php echo Filters::noXSS($name); ?>_complete"></span> +<script type="text/javascript"> + showstuff('<?php echo Filters::noJsXSS($name); ?>_complete'); + new Ajax.Autocompleter('<?php echo Filters::noJsXSS($id); ?>', '<?php echo Filters::noJsXSS($name); ?>_complete', '<?php echo Filters::noXSS($baseurl); ?>js/callbacks/usersearch.php', {}) +</script> |