Edit File: double_selectboxes.tpl
{assign var="first_id" value=$first_name|md5} {assign var="second_id" value=$second_name|md5} {notes unique=true} {__("multiple_selectbox_notice")} {/notes} {include file="common/subheader.tpl" title=$title} <table class="{$class_name}" width="100%"> <tr> <td width="48%"> <label for="id_{$first_id}" class="{if $required}cm-required{/if} cm-all hidden"></label> <select name="{$first_name}[]" id="id_{$first_id}" size="10" value="" multiple="multiple" class="input-full"> {foreach from=$first_data key=key item=value} <option value="{$key}">{$value}</option> {/foreach} </select> {if $sortable} <p> <span onclick="Tygh.$('#id_{$first_id}').swapOptions('up');" class="icon-chevron-up hand" ></span> <span onclick="Tygh.$('#id_{$first_id}').swapOptions('down');" class="icon-chevron-down hand" ></span> </p> {/if} </td> <td class="center chevron-icons" width="4%"> <span onclick="Tygh.$('#id_{$second_id}').moveOptions('#id_{$first_id}');" class="icon-chevron-left hand clear"></span><br/> <span onclick="Tygh.$('#id_{$first_id}').moveOptions('#id_{$second_id}');" class="icon-chevron-right hand"></span> </td> <td width="48%" valign="top"> <p><select name="{$second_name}" id="id_{$second_id}" size="10" value="" multiple="multiple" class="input-full"> {foreach from=$second_data key=key item=value} <option value="{$key}">{$value}</option> {/foreach} </select></p> </td> </tr> </table>
Back to File Manager