dynamic.tmpl
author fabien
Mon, 23 Aug 2004 23:30:27 -0400
branchxbelweb
changeset 55 2ae353b7f38a
parent 51 7015d65beb3d
child 57 31271426f879
permissions -rw-r--r--
[svn r1739] Add some ideas to implement/clean up.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <TMPL_INCLUDE NAME="headers.tmpl">
  <body>
    <h1><TMPL_VAR remote_user>'s XBelWeb</h1>
    <p>Total bookmarks: <TMPL_VAR total></p>
    <form action="index.py" method="get" name="keywords">
      <input type="hidden" name="view" value="dynamic"/>
      <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="?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
-->