Location: PHPKode > projects > LDAPted > ldapted/templates/std/controls/URIList/default_edit.tpl
<!-- NAME: customlist_default_edit.tpl -->
<table>
  <tr>
    <td>
       {$ATTRIBLABEL} :
    </td>
    <TD>
    {if $ERRORMESSAGE != "" }
        <IMG SRC="{$IMAGEDIR}exclamation.png" TITLE="{$ERRORMESSAGE}" align="middle">
    {/if}
    </TD>
  </tr>
  <tr>
    <td>
      <input type="text" name="{$ATTRIBNAME}entry" maxlength="{$MAXLENGTH}" style="width: {$WIDTH};" >
    </td>
    <td>
      <button type="button" title="{$ADDBUTTON}" onclick="list_custom_edit_addEntry('{$ATTRIBNAME}')"><img src="{$IMAGEDIR}paste.png"></button>
    </td>
    <td>
      <button type="button" title="{$MODIFYBUTTON}" value="{$MODIFYBUTTON}" onclick="list_custom_edit_modifyEntry('{$ATTRIBNAME}')"><img src="{$IMAGEDIR}apply.png"></button>
    </td>
  </tr>
  <tr>
    <td>
      <select SIZE="{$SIZE}" name="{$ATTRIBNAME}[]" onclick="list_custom_edit_updateEntry('{$ATTRIBNAME}')" style="width: {$WIDTH}pt;" multiple>
        {html_options values=$OPTIONS output=$OPTIONS}
      </select>
   </td>
   <td colspan="2" valign="top">
     <table>
       <tr>
         <td>
           <button type="button" title="{$DELETEBUTTON}" value="{$DELETEBUTTON}" onclick="list_custom_edit_deleteEntry('{$ATTRIBNAME}')"><img src="{$IMAGEDIR}cancel.png"></button>
         </td>
       </tr>
       <tr>
         <td>
           <button type="button" onclick="list_custom_edit_moveUpEntry('{$ATTRIBNAME}')"><img src="{$IMAGEDIR}up.png"></button>
         </td>
       </tr>
       <tr>
         <td>
           <button type="button" onclick="list_custom_edit_moveDownEntry('{$ATTRIBNAME}')"><img src="{$IMAGEDIR}down.png"></button>
         </td>
       </tr>
     </table>
   </td>
  </tr>
</table>
<!-- END: customlist_default_edit.tpl -->
Return current item: LDAPted