{include file="header.tpl"}

{include file="columnfullstart.tpl"}
                        <h2>{$heading}</h2>
{$helptext}
<div id="copyview">

 <div id="templatesearch" class="searchlist">

  <form class="searchquery" action="{$WWWROOT}view/choosetemplate.php" method="post">

    <label>{str tag="searchviews" section="view"}:
      <input type="text" name="viewquery" id="viewquery" class="query" value="{$views->query|escape}">
    </label>
    <button class="query-button" type="submit">{str tag="go"}</button>

    <input type="hidden" name="viewlimit" value="{$views->limit|escape}">
    <input type="hidden" name="viewoffset" value="0">

    <label>{str tag="searchowners" section="view"}:
      <input type="text" name="ownerquery" id="ownerquery" class="query" value="{$owners->query|escape}">
    </label>
    <button class="query-button" type="submit">{str tag="go"}</button>

  </form>
  <div id="templatesearch_table">{$views->html}</div>
  <div id="templatesearch_pagination">{$views->pagination.html}</div>
 </div>

</div>
{include file="columnfullend.tpl"}

{include file="footer.tpl"}
