templates/dynamic.tmpl
author fabien@tzone.org
Wed, 31 Dec 2008 15:41:32 -0500
changeset 74 6784c4350b41
parent 59 2c5e38748004
permissions -rw-r--r--
Cleanup of old code, fixes some errors with folders view and make it a standard action.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <TMPL_INCLUDE NAME="headers.tmpl">
  <body>
    <TMPL_INCLUDE NAME="top.tmpl">
    <p>Total bookmarks: <TMPL_VAR total></p>
    <form action="?action=index&view=dynamic" method="get" name="keywords">
      <fieldset class="keywords">
        <legend>Keywords:</legend>
	<p>
	<label>Include:
	<select multiple name="sel" onchange="submit()"
	        size="<TMPL_VAR kw_size>">
	<TMPL_LOOP Keywords>
	<TMPL_UNLESS excluded>
	  <option value="<TMPL_VAR id>"
	    <TMPL_IF selected>selected</TMPL_IF>
	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
	</TMPL_UNLESS>
	</TMPL_LOOP></select>
	<label>Exclude:
	<select multiple name="exc" onchange="submit()"
	        size="<TMPL_VAR kw_size>">
	<TMPL_LOOP Keywords>
	<TMPL_UNLESS selected>
	  <option value="<TMPL_VAR id>"
	    <TMPL_IF excluded>selected</TMPL_IF>
	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
	</TMPL_UNLESS>
	</TMPL_LOOP></select>
	</p>
	<button>Lookup</button>
      </fieldset>
    </form>
    <TMPL_INCLUDE NAME="bkmarks.tmpl">
    <hr/>
    <a href="?action=index&view=folder">Switch to folder view</a>
    <TMPL_INCLUDE NAME="footers.tmpl">
  </body>
</html>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:nil
sgml-parent-document:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vi: syntax=html
-->