{include file="../head.tpl"}
<form method="post">
  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
    <tr>
      <td colspan="6" class="header"><b>
        {$langadmin.speedbar}
        </b></td>
    </tr>
    <tr class="firstrow">
      <th width="10%" nowrap> {$langadmin.pos}
      </th>
      <th> {$langadmin.linkname}
      </th>
      <th> {$langadmin.linkurl}
      </th>
      <th> {$langadmin.active}
      </th>
      <th> {$langadmin.target}
      </th>
      <th>&nbsp; </th>
    </tr>
    {foreach from=$speedbar item=speed}
    <tr>
      <td width="10%" nowrap class="firstrow"><div align="center">
          <input name="data[{$speed->id}][sid]" type="hidden" id="data[{$speed->id}][sid]" value="{$speed->id}">
          <input name="data[{$speed->id}][posi]" type="text" id="data[{$speed->id}][posi]" value="{$speed->posi}" size="5">
        </div></td>
      <td class="secondrow"><input name="data[{$speed->id}][title]" type="text" id="data[{$speed->id}][title]" value="{$speed->linkname}" size="35">
&nbsp;</td>
      <td class="firstrow"><div align="center">
          <input name="data[{$speed->id}][link]" type="text" id="data[{$speed->id}][link]" value="{$speed->slink}" size="35">
        </div></td>
      <td class="secondrow"><div align="center">
          <INPUT type=checkbox name="data[{$speed->id}][aktiv]" value="Y" {if $speed->aktiv == "Y"} checked="checked"{/if}>
        </div></td>
      <td class="secondrow"><div align="center">
          <input name="data[{$speed->id}][target]" type="text" id="data[{$speed->id}][target]" value="{$speed->target}" size="5">
        </div></td>
      <td class="firstrow"><div align="center">
          <input onclick="location.href='speedbar.php?do=delete&id={$speed->id}&area={$area}'" type="button" class="button" value="{$langadmin.delete}">
        </div></td>
    </tr>
    {/foreach}
    <tr>
      <td colspan="6" class="secondrow"><input name="area" type="hidden" id="area" value="{$area}">
        <input name="send" type="hidden" id="send" value="1">
        <input name="area" type="hidden" id="area" value="{$area}">
        <input accesskey="s" type="submit" class="button" value="{$langadmin.edit}">
      </td></tr>
  </table>
</form>
<!-- Übersicht // -->
<form action="speedbar.php">
  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
    <tr>
      <td colspan="5" class="header"><b>
        {$langadmin.newentry}
        </b></td>
    </tr>
    <tr class="firstrow">
      <th> {$langadmin.pos}
      </th>
      <th> {$langadmin.linkname}
      </th>
      <th> {$langadmin.linkurl}
      </th>
      <th> {$langadmin.active}
      </th>
      <th> {$langadmin.target}
      </th>
    </tr>
    <tr class="secondrow">
      <td width="10%" class="firstrow"><div align="center">
          <input name="posi" type="text" id="posi" size="5" >
        </div></td>
      <td><div align="center">
          <input name="linkname" type="text" id="linkname" size="35">
          </div></td>
      <td class="firstrow"><div align="center">
          <input name="slink" type="text" id="slink" size="35">
        </div></td>
      <td><div align="center">
          <input name="aktiv" type="checkbox" id="aktiv" value="Y" checked>
        </div></td>
      <td class="firstrow"><div align="center">
          <input name="target" type="text" id="target" value="_self" size="5">
        </div></td>
    </tr>
    <tr>
      <td colspan="5" class="secondrow"><input name="area" type="hidden" id="area" value="{$area}">
        <input name="do" type="hidden" id="do" value="new">
        <input accesskey="n"  type="submit" class="button" value="{$langadmin.edit}">
      </td></tr>
  </table>
</form>
{include file="../foot.tpl"}