Location: PHPKode > projects > LDAPted > ldapted/templates/std/controls/Calculate/default_edit.tpl
<!-- NAME: calculate.tpl -->
<TABLE>
  <TR>
    <TD>
      <span title="{$DESCRIPTION}">{$ATTRIBLABEL} :</span>
    </TD>
    <TD>
      <INPUT type="text" name="{$ATTRIBNAME}" value="{$ATTRIBVALUE}" size="{$SIZE}" maxlength="{$MAXLENGTH}">
    </TD>
    <TD>
      <button type="button" onclick="calculate_setsuggestvalue({$ATTRIBNAME},{$SUGGESTVALUE})"><img src="images/calc.png"></button>
    </TD>
    {if $ERRORMESSAGE != "" }
      <TD>
        <IMG SRC="images/exclamation.png" TITLE="{$ERRORMESSAGE}" align="middle">
      </TD>
    {/if}
  </TR>
</TABLE>
<!-- END: calculate.tpl -->
Return current item: LDAPted