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