folders.tmpl
author fabien
Fri, 24 Oct 2003 17:55:22 -0400
branchxbelweb
changeset 50 5275135955c0
parent 47 2781ac85b807
child 51 7015d65beb3d
permissions -rw-r--r--
[svn r1607] Add remove flag to the keyword merging.

<!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="?view=folder;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">
    <form action="index.py" method="post" name="edit_folders">
    <input type="hidden" name="folder" value="<TMPL_VAR folder>"/>
    <input type="hidden" name="view" value="folder"/>
    <input type="hidden" name="action" value="delete"/>
    <ul>
    <TMPL_LOOP Subfolders>
      <li><button name="delete" value="<TMPL_VAR id>">Delete</button>
      <a href="index.py?view=folder;folder=<TMPL_VAR id>"><TMPL_VAR name>
      	(<TMPL_VAR count>)</a></li>
    </TMPL_LOOP>
    </ul>
    </form>
    </div>
    <form action="index.py" method="post" name="add_folder">
      <input type="hidden" name="folder" value="<TMPL_VAR folder>"/>
      <input type="hidden" name="view" value="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>
    <a href="?view=dynamic">Switch to dynamic 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
-->