{* $Id: tiki-edit_wiki_section.tpl 13501 2008-07-10 13:46:35Z nyloth $ *}
<h1><a href="tiki-edit_wiki_section.php?object={$object|escape:url}&amp;type={$type|escape:url}{if isset($pos)}&amp;pos={$pos}{/if}{if isset($cell)}&amp;cell={$cell}{/if}{if isset($hdr)}&amp;hdr={$hdr}{/if}">{tr}Edit Section:{/tr}{$title}</a></h1>
<a href="{$referer}" class="linkbut">{tr}View object{/tr}</a>

{if $preview}
  {include file='tiki-preview.tpl'}
  <br />
{/if}
<form method="post" action="tiki-edit_wiki_section.php" id='editwikiform'>
<table class="normal">
<tr class="formcolor">
  <td>{tr}Edit{/tr}:
  <br /><br />
  {include file="textareasize.tpl" area_name='editwiki' formId='editwikiform'}
  <br /><br />
  {if $quicktags and $prefs.quicktags_over_textarea neq 'y'}
    {include file=tiki-edit_help_tool.tpl area_name='editwiki'}
  {/if}
  </td>
  <td>
    {if $quicktags and $prefs.quicktags_over_textarea eq 'y'}
      {include file=tiki-edit_help_tool.tpl area_name='editwiki'}
    {/if}
    <textarea class="wikiedit" id="editwiki" name="data" rows="{$rows}" cols="{$cols}">{$data|escape}</textarea>
    <input type="hidden" name="rows" value="{$rows}"/>
    <input type="hidden" name="cols" value="{$cols}"/>
  </td>
</tr>
<tr><td class="formcolor" colspan="3">
<input type="hidden" name="referer" value="{$referer}" />
<input type="hidden" name="title" value="{$title}" />
<input type="hidden" name="object" value="{$object}" />
<input type="hidden" name="type" value="{$type}" />
{if isset($pos)}<input type="hidden" name="pos" value="{$pos}" />{/if}
{if isset($cell)}<input type="hidden" name="cell" value="{$cell}" />{/if}
{if isset($hdr)}<input type="hidden" name="hdr" value="{$hdr}" />{/if}
<input type="submit" onmouseover="return overlib('{tr}Preview your changes.{/tr}');" onmouseout="nd();" class="wikiaction" name="preview" value="{tr}Preview{/tr}" />&nbsp;&nbsp;
<input type="submit"  onmouseover="return overlib('{tr}Save the page.{/tr}');" onmouseout="nd();" class="wikiaction" name="save" value="{tr}Save{/tr}" />&nbsp;&nbsp;
<input type="submit" onmouseover="return overlib('{tr}Cancel the edit, you will lose your changes.{/tr}');" onmouseout="nd();" class="wikiaction" name="cancel_edit" value="{tr}Cancel Edit{/tr}" />
</td></tr>
</table>
</form>
{if !$wysiwyg}
 {include file=tiki-edit_help.tpl}
{/if}
