{capture name="title"}&nbsp;- {$NAME|escape|trim} {/capture}
{capture assign="in_page_title"}{$NAME|escape|trim}{/capture}
{capture assign="description"}{$CONTENT|escape|trim}{/capture}

{include file="header.tpl"}
{include file="top_bar.tpl"}
{strip}
{if $error}
   <div class="err">
      <p><b>{l}Error{/l}:</b> {$error}</p>
   </div>
{else}
   <table align="center" border="0" width="100%">
   
   <tr>
      <td class="smallDesc">{$CONTENT}</td>
   </tr>
   <tr>
      <td>
        {if $rights.editPage eq 1}
       <a href="{$smarty.const.DOC_ROOT}/inplace_editpage.php?ID={$ID}&detail=1&TB_iframe=true&height=400&width=600" class="thickbox" onclick="return showThickbox(this);">
       <img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/edit.gif" width="14" height="14" style="border: none;" alt="edit page"/>
       </a>
        {/if}
       {if $rights.delPage eq 1}
       <a href="{$smarty.const.DOC_ROOT}/inplace_editpage.php?ID={$ID}&mode=del&detail=1&TB_iframe=true&height=100&width=250" class="thickbox" onclick="{literal}question = confirm('Are you sure you want to delete this page?');if (question !='0'){return showThickbox(this);} else return false;{/literal}">
       <img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/delete.gif" width="14" height="14" style="border: none;" alt="delete page"/>
       </a>  
       {/if}
   {if $STATUS < 2 && $rights.editPage eq 1}
   <a href="{$smarty.const.DOC_ROOT}/inplace_editpage.php?ID={$ID}&mode=active&detail=1&TB_iframe=true&height=100&width=250" class="thickbox" onclick="{literal}question = confirm('Are you sure you want to make this page active?');if (question !='0'){return showThickbox(this);} else return false;{/literal}">
  <img src="{$smarty.const.DOC_ROOT}/templates/{$smarty.const.USE_TEMPLATE}/images/active.gif" width="14" height="14" style="border: none;" alt="page is inactive" class="float_tiny"/>
   </a>
   {/if}
      </td>  
   </tr>
   </table>
{/if}



{/strip}

{include file="footer.tpl"}
