index.tmpl
branchxbelweb
changeset 38 c30e2402deca
parent 33 db91081e5a78
child 40 b62ebedcb8ac
equal deleted inserted replaced
37:ab20799fef27 38:c30e2402deca
     6     <p>Total bookmarks: <TMPL_VAR total></p>
     6     <p>Total bookmarks: <TMPL_VAR total></p>
     7     <form action="index.py" method="get" name="keywords">
     7     <form action="index.py" method="get" name="keywords">
     8       <fieldset class="keywords">
     8       <fieldset class="keywords">
     9         <legend>Keywords:</legend>
     9         <legend>Keywords:</legend>
    10 	<p>
    10 	<p>
    11 	<label>Include: <select multiple name="sel" onchange="submit()">
    11 	<label>Include:
       
    12 	<select multiple name="sel" onchange="submit()"
       
    13 	        size="<TMPL_VAR kw_size>">
    12 	<TMPL_LOOP Keywords>
    14 	<TMPL_LOOP Keywords>
    13 	  <option value="<TMPL_VAR id>"
    15 	  <option value="<TMPL_VAR id>"
    14 	    <TMPL_IF selected>selected</TMPL_IF>
    16 	    <TMPL_IF selected>selected</TMPL_IF>
    15 	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
    17 	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
    16 	</TMPL_LOOP></select>
    18 	</TMPL_LOOP></select>
    17 	<label>Exclude: <select multiple name="exc" onchange="submit()">
    19 	<label>Exclude:
       
    20 	<select multiple name="exc" onchange="submit()"
       
    21 	        size="<TMPL_VAR kw_size>">
    18 	<TMPL_LOOP Keywords>
    22 	<TMPL_LOOP Keywords>
    19 	  <option value="<TMPL_VAR id>"
    23 	  <option value="<TMPL_VAR id>"
    20 	    <TMPL_IF excluded>selected</TMPL_IF>
    24 	    <TMPL_IF excluded>selected</TMPL_IF>
    21 	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
    25 	    ><TMPL_VAR keyword> (<TMPL_VAR count>)</option>
    22 	</TMPL_LOOP></select>
    26 	</TMPL_LOOP></select>
    34     </TMPL_LOOP>
    38     </TMPL_LOOP>
    35     </ul>
    39     </ul>
    36     <hr/>
    40     <hr/>
    37     <p><a href="add.py">Add new bookmark</a>.<br/>
    41     <p><a href="add.py">Add new bookmark</a>.<br/>
    38     <a href="import.py">Import a XBEL file</a>.<br/>
    42     <a href="import.py">Import a XBEL file</a>.<br/>
    39     <a href="edit_kw.py">Edit keywords</a>.</p>
    43     <a href="edit_kw.py">Edit keywords</a>.<br/>
       
    44     <a href="prefs.py">Edit User Preferences</a>.</p>
    40     <p>Here the <a
    45     <p>Here the <a
    41     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
    46     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
    42     Mark Link</a>.  Put it on your bookmarks (using <tt>&lt;Right-Mouse
    47     Mark Link</a>.  Put it on your bookmarks (using <tt>&lt;Right-Mouse
    43     Click&gt; Bookmark this link</tt>) and just select it when you
    48     Click&gt; Bookmark this link</tt>) and just select it when you
    44     want to bookmark your links.</p>
    49     want to bookmark your links.</p>