Location: PHPKode > projects > LDAPted > ldapted/templates/std/addons/searchlist.tpl
<input name="attribute" id="attribute" type="hidden" value="{$ATTRIBUTE}">
<input name="status" id="status" type="hidden" value="{$STATUS}">
<table class="form">
<thead>
<tr>
<th colspan="5">
Searchlist
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="attribute">
<table>
<tr>
<td>
{$ATTRIBUTELABEL} :
</td>
<td>
</td>
<td>
<table>
<tr>
<td>
<input type="text" name="search" value="{$SEARCH}" STYLE="width: 100pt">
</td>
<td>
<button name="searchbutton" onclick="search_entries();"><img SRC="images/search.png"></button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<select SIZE=8 NAME="list[]" id="list[]" STYLE="width: 120pt" multiple>
{html_options values=$ENTRY output=$ENTRY}
</td>
<td>
<table>
<tr>
<td>
<button name="remove" onclick="remove_entry('list');return false"><img src="images/cancel.png"></button>
</td>
</tr>
<tr>
<td>
<button name="append" onclick="move_entry('searchlist','list');return false"><img src="images/paste.png"></button>
</td>
</tr>
<tr>
<td>
<button name="append" onclick="move_up_entry('list');return false"><img src="images/up.png"></button>
</td>
</tr>
<tr>
<td>
<button name="append" onclick="move_down_entry('list');return false"><img src="images/down.png"></button>
</td>
</tr>
</table>
</td>
<td>
<select SIZE=8 NAME="searchlist[]" id="searchlist[]" STYLE="width: 140pt" multiple>
{html_options values=$RESULT output=$RESULT}
</select>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="5">
<input name="submit" type="submit" value="{$SUBMIT}" onClick="set_values('list[]');return false;">
<input name="close"  type="button" value="{$CLOSE}" onClick="window.close();">
</td>
</tr>
</tfoot>
</table>
Return current item: LDAPted