Location: PHPKode > scripts > ER Manager > ermanager/templates/edit_company.tpl
<form action="edit_company.php" id="edi" name="edi" method="post" enctype="multipart/form-data">
  <input type="hidden" name="id" id="id" value="{$entity.id}" />
  <input type="hidden" name="save" id="save" value="1" />

  <table class="tableborder">
    <tr>
      <td>
	    {#company#}
      </td>
	  <td>
	    <input name="company" type="text" value="{$entity.company}" size="50" maxlength="50" />
	  </td>
    </tr>

    <tr>
      <td>
	    {#category#}
      </td>
	  <td>
	    <input name="category" type="text" value="{$entity.category}" size="50" maxlength="255" />
	  </td>
    </tr>

    <tr>
      <td>
	    {#language#}
      </td>
	  <td>
	    <input name="lang_i" type="checkbox" value="I" {if $entity.lang_i eq i}checked {/if}/><img src="images/icons/italian.gif" alt="italiano"> &nbsp;&nbsp;&nbsp;
		<input name="lang_d" type="checkbox" value="D" {if $entity.lang_d eq d}checked {/if}/><img src="images/icons/german.gif" alt="deutsch"> &nbsp;&nbsp;&nbsp;
		<input name="lang_f" type="checkbox" value="F" {if $entity.lang_f eq f}checked {/if}/><img src="images/icons/french.gif" alt="francais"> &nbsp;&nbsp;&nbsp;
		<input name="lang_e" type="checkbox" value="E" {if $entity.lang_e eq e}checked {/if}/><img src="images/icons/english.gif" alt="english"> &nbsp;&nbsp;&nbsp;
	  </td>
    </tr>

    <tr>
      <td>
	    {#title#} & {#salutation#}
      </td>
	  <td>
	    <input name="title" type="text" value="{$entity.title}" size="30" maxlength="50" /> &nbsp;&nbsp;
		<input name="salutation" type="text" value="{$entity.salutation}" size="30" maxlength="50" />
	  </td>
    </tr>
	
    <tr>
      <td>
	    {#firstname#} & {#lastname#}
      </td>
	  <td>
	    <input name="firstname" type="text" value="{$entity.firstname}" size="30" maxlength="50" /> &nbsp;&nbsp;
		<input name="lastname" type="text" value="{$entity.lastname}" size="30" maxlength="50" />
	  </td>
    </tr>

    <tr>
      <td>
	    {#street#}, {#zip#} & {#city#}
      </td>
	  <td>
	    <input name="street" type="text" value="{$entity.street}" size="25" maxlength="50" />,&nbsp;
		<input name="zip" type="text" value="{$entity.zip}" size="5" maxlength="15" />&nbsp;&nbsp;
		<input name="city" type="text" value="{$entity.city}" size="25" maxlength="50" />
	  </td>
    </tr>

    <tr>
      <td>
	    {#phone#} & {#fax#}
      </td>
	  <td>
	    <input name="phone" type="text" value="{$entity.phone}" size="30" maxlength="20" /> &nbsp;&nbsp;
		<input name="fax" type="text" value="{$entity.fax}" size="30" maxlength="20" />
	  </td>
    </tr>

    <tr>
      <td>
	    {#email#} & {#website#}
      </td>
	  <td>
	    <input name="email" type="text" value="{$entity.email}" size="30" maxlength="70" /> &nbsp;&nbsp;
		<input name="website" type="text" value="{$entity.website}" size="30" maxlength="255" />
	  </td>
    </tr>

    <tr>
      <td>
	    {#txt2#}
      </td>
	  <td>
	    <input name="logo" type="text" value="{$entity.logo}" size="50" maxlength="255" />
	  </td>
    </tr>

    <tr>
      <td>
	    {#comment#}
      </td>
	  <td>
	    <textarea name="generic_comment" cols="50" rows="3" wrap="virtual">{$entity.generic_comment}</textarea>
	  </td>
    </tr>
	
    <tr>
      <td colspan="2">
	    {if $entity.id}
	    <a href="company.php?id={$entity.id}"><img src="images/icons/back.gif"></a> &nbsp;&nbsp;
		<a href="."><img src="images/icons/home.gif" alt="{#txt4#}"></a> &nbsp;&nbsp;
		{/if}
		<input type="submit" value="{#save#}" />
      </td>
    </tr> 


  </table>

</form>
Return current item: ER Manager