[svn r1575] Move index.py generic functions into a separate library.
<!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 pagetitle></h1>
<p>Total bookmarks: <TMPL_VAR total></p>
<form action="index.py" method="get" name="keywords">
<fieldset class="keywords">
<legend>Keywords:</legend>
<p>
<TMPL_LOOP Keywords>
<input type="checkbox" name="kw" onclick="submit()"
<TMPL_IF checked>checked</TMPL_IF>
value="<TMPL_VAR id>"
/><a href="edit_kw.py?id=<TMPL_VAR id>"><TMPL_VAR keyword></a>(<TMPL_VAR count>);
</TMPL_LOOP>
</p>
<button>Lookup</button>
</fieldset>
</form>
<dl>
<TMPL_LOOP Bookmarks>
<dt>
<a href="<TMPL_VAR url>"><TMPL_VAR name></a>
<a href="edit.py?id=<TMPL_VAR id>">edit</a>
</dt>
<dd><p><TMPL_VAR desc></p></dd>
</TMPL_LOOP>
</ul>
<hr/>
<p><a href="add.py">Add new bookmark</a>.<br/>
<a href="import.py">Import a XBEL file</a>.</p>
<p>Here the <a
href="javascript:bk1='<TMPL_VAR curl>?curl='+escape(location.href)+'&ctitle='+escape(document.title);bkwin=window.open(bk1,'bkqm','width=620,height=500,scrollbars=1,resizable=1');bkwin.focus();">Quick
Mark Link</a>. Put it on your bookmarks (using <tt><Right-Mouse
Click> Bookmark this link</tt>) and just select it when you
want to bookmark your links.</p>
</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
-->