Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/themes/CleanFS/templates/common.userselect.tpl
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-02-01 09:05:48 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-02-01 09:05:48 +0100
commit6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch)
tree350feb504587d932e02837a1442b059759927646 /themes/CleanFS/templates/common.userselect.tpl
initial checkin
Diffstat (limited to 'themes/CleanFS/templates/common.userselect.tpl')
-rw-r--r--themes/CleanFS/templates/common.userselect.tpl6
1 files changed, 6 insertions, 0 deletions
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>