folders.tmpl
author fabien
Fri, 24 Oct 2003 14:19:30 -0400
branchxbelweb
changeset 46 d3c1de4d929e
parent 45 c81d480c3224
child 47 2781ac85b807
permissions -rw-r--r--
[svn r1603] Common bookmark section.

<!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>
    <TMPL_UNLESS folder>
      <p><TMPL_LOOP Parents><a href="?folder=<TMPL_VAR id>"><TMPL_VAR name></a>
        : </TMPL_LOOP></p>
    </TMPL_UNLESS>
    <h2><TMPL_IF folder><TMPL_VAR name><TMPL_ELSE>Main Folder</TMPL_IF>
    (<TMPL_VAR total>)</h2>
    <DIV class="subfolders">
    <ul>
    <TMPL_LOOP Subfolders>
      <li><a href="folders.py?folder=<TMPL_VAR id>"><TMPL_VAR name>
      	(<TMPL_VAR count>)</a>
	<a href="delete_folders.py?folder=<TMPL_VAR id>">delete</a></li>
    </TMPL_LOOP>
    </ul>
    </div>
    <form action="folders.py" method="post" name="folders">
      <input type="hidden" name="folder" value="<TMPL_VAR folder>"/>
      <label>Add subfolder with keyword:
	<select name="sel" size="1">
	<TMPL_LOOP Keywords>
	  <option value="<TMPL_VAR id>"
	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
	</TMPL_LOOP></select>
	<button name="action" value="add">Add</button>
    </form>
    <hr>
    <TMPL_INCLUDE NAME="bkmarks.tmpl">
    <hr>
  </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
-->