{*
 * $Revision: 15342 $
 * If you want to customize this file, do not edit it directly since future upgrades
 * may overwrite it.  Instead, copy it into a new directory called "local" and edit that
 * version.  Gallery will look for that file first and use it if it exists.
 *}
<div class="gbBlock">
  <h3> {g->text text="Configuration"} </h3>

  <p class="giDescription">
    {g->text text="For ISAPI Rewrite to work Gallery needs write access to the httpd.ini file."}
  </p>

  <table class="gbDataTable"><tr>
    <td>
      {g->text text="Httpd.ini path:"}
    </td><td>
      <input type="text" size="60" name="{g->formVar var="form[httpdini]"}" value="{$form.httpdini}"/>
      {if isset($form.error.invalidDir)}
	<div class="giError">
	  {g->text text="Invalid directory."}
	</div>
      {/if}
      {if isset($form.error.cantWrite)}
	<div class="giError">
	  {g->text text="Cant write to the httpd.ini file in that directory."}
	</div>
      {/if}
    </td>
  {if isset($AdminParser.isEmbedded)}
  </tr></table>

  <h3> {g->text text="Embedded Setup"} </h3>

  <table class="gbDataTable"><tr>
    <td>
      {g->text text="Public path:"}
    </td><td>
      {$AdminParser.host}<input type="text" size="40" name="{g->formVar var="form[embeddedLocation]"}" value="{$form.embeddedLocation}"/>
      {if isset($form.error.invalidPath)}
	<div class="giError">
	  {g->text text="Invalid path."}
	</div>
      {/if}
    </td>
  {/if}
  </tr></table>
</div>
