4 </head> |
4 </head> |
5 <body> |
5 <body> |
6 <h1>Add a bookmark</h1> |
6 <h1>Add a bookmark</h1> |
7 <form action="add_result.py" method="post" name="add"> |
7 <form action="add_result.py" method="post" name="add"> |
8 <fieldset class="bookmark"> |
8 <fieldset class="bookmark"> |
|
9 <input type="hidden" name="id" value="<TMPL_VAR bkid>"/> |
9 <label>Nom: <input type="text" name="name" |
10 <label>Nom: <input type="text" name="name" |
10 value="<TMPL_VAR ctitle>"></label><br/> |
11 value="<TMPL_VAR ctitle>"/></label><br/> |
11 <label>URL: <input type="text" name="url" |
12 <label>URL: <input type="text" name="url" |
12 value="<TMPL_VAR curl>"></label><br/> |
13 value="<TMPL_VAR curl>"/></label><br/> |
13 <label for="desc">Description: </label><br/> |
14 <label for="desc">Description: </label><br/> |
14 <textarea name="desc" rows="5" cols="40"></textarea> |
15 <textarea name="desc" rows="5" cols="40"><TMPL_VAR desc></textarea> |
15 <button type="submit" name="submit">Soumettre</button> |
16 <button type="submit" name="submit">Soumettre</button> |
16 </fieldset> |
17 </fieldset> |
17 <fieldset class="keywords"> |
18 <fieldset class="keywords"> |
18 <legend>Mots clés:</legend> |
19 <legend>Mots clés:</legend> |
19 <ul> |
20 <ul> |
20 <TMPL_LOOP Keywords> |
21 <TMPL_LOOP Keywords> |
21 <li><input type="checkbox" name="kw" value="<TMPL_VAR id>"/><TMPL_VAR keyword></li> |
22 <li><input type="checkbox" name="kw" |
|
23 <TMPL_IF checked>checked</TMPL_IF> |
|
24 value="<TMPL_VAR id>"/><TMPL_VAR keyword></li> |
22 </TMPL_LOOP> |
25 </TMPL_LOOP> |
23 </ul> |
26 </ul> |
24 <label>New keywords: <input type="text" name="newkw"> (comma separated list)</label> |
27 <label>New keywords: <input type="text" name="newkw"> (comma separated list)</label> |
25 </form> |
28 </form> |
26 </body> |
29 </body> |