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.dualselect.tpl |
-rw-r--r-- | themes/CleanFS/templates/common.dualselect.tpl | 15 |
diff --git a/themes/CleanFS/templates/common.dualselect.tpl b/themes/CleanFS/templates/common.dualselect.tpl new file mode 100644 index 0000000..f207aa7 --- /dev/null +++ b/themes/CleanFS/templates/common.dualselect.tpl @@ -0,0 +1,15 @@ +<div class="double_select"> + <select class="dualselect_selectable" id="l<?php echo Filters::noXSS($id); ?>" multiple="multiple" + ondblclick="dualSelect(this, 'r', '<?php echo Filters::noJsXSS($id); ?>')">%s</select> + <div class="dualselect_buttons"> + <button type="button" onmouseup="dualSelect('l', 'r', '<?php echo Filters::noJsXSS($id); ?>')"><?php echo eL('add'); ?> ▶</button> + <button type="button" onmouseup="dualSelect('r', 'l', '<?php echo Filters::noJsXSS($id); ?>')">◀ <?php echo eL('remove'); ?></button> + </div> + <div class="dualselect_selected"> + <?php if($updown): ?><button type="button" onmouseup="selectMove('<?php echo Filters::noJsXSS($id); ?>', -1)">▲</button><br /><?php endif; ?> + <select id="r<?php echo Filters::noXSS($id); ?>" multiple="multiple" + ondblclick="dualSelect(this, 'l', '<?php echo Filters::noJsXSS($id); ?>')">%s</select> + <?php if($updown): ?><button type="button" onmouseup="selectMove('<?php echo Filters::noJsXSS($id); ?>', 1)">▼</button><?php endif; ?> + <input type="hidden" value="<?php echo Filters::noXSS(join(' ', $selected)); ?>" id="v<?php echo Filters::noXSS($id); ?>" name="<?php echo Filters::noXSS($name); ?>" /> + </div> +</div> |