kw_confirm.tmpl
branchxbelweb
changeset 30 dbf4027d82fc
parent 21 345ee7421989
child 38 c30e2402deca
equal deleted inserted replaced
29:b5d3cc46b16d 30:dbf4027d82fc
     2 <html>
     2 <html>
     3   <TMPL_INCLUDE NAME="headers.tmpl">
     3   <TMPL_INCLUDE NAME="headers.tmpl">
     4   <body>
     4   <body>
     5     <h1><TMPL_VAR pagetitle></h1>
     5     <h1><TMPL_VAR pagetitle></h1>
     6     <form name="confirmation" method="post" action="kw_result.py">
     6     <form name="confirmation" method="post" action="kw_result.py">
     7       <input type="hidden" name="id" value="<TMPL_VAR id>"/>
       
     8       <input type="hidden" name="merge" value="<TMPL_VAR mergeid>"/>
       
     9       <input type="hidden" name="name" value="<TMPL_VAR newname>"/>
       
    10       <TMPL_IF confirm_delete>
     7       <TMPL_IF confirm_delete>
    11         <p>Do you really want to remove <em><TMPL_VAR name></em>?</p>
     8         <p>Do you really want to remove those keywords?</p>
       
     9 	<p>
       
    10 	<TMPL_LOOP Selected>
       
    11 	  <input type="hidden" name="id" value="<TMPL_VAR id>"/>
       
    12 	  <TMPL_VAR keyword>;
       
    13 	</TMPL_LOOP>
       
    14 	</p>
       
    15         <button name="action" type="submit"
       
    16               value="<TMPL_VAR action>">Delete</button>
    12       </TMPL_IF>
    17       </TMPL_IF>
    13       <TMPL_IF confirm_merge>
    18       <TMPL_IF confirm_merge>
    14         <p>Do you really want to merge <em><TMPL_VAR name></em> into
    19         <p>Selected keywords:</p>
    15           <em><TMPL_VAR mergename></em>?</p>
    20 	<p>
       
    21 	<TMPL_LOOP Selected>
       
    22 	  <input type="hidden" name="id" value="<TMPL_VAR id>"/>
       
    23 	  <TMPL_VAR keyword>;
       
    24 	</TMPL_LOOP>
       
    25 	</p>
       
    26 	<label>Merge them with: <select name="kw">
       
    27 	<TMPL_LOOP Keywords>
       
    28 	  <option value="<TMPL_VAR id>"><TMPL_VAR keyword></option>
       
    29 	</TMPL_LOOP></select><br/>
       
    30         <button name="action" type="submit"
       
    31               value="<TMPL_VAR action>">Merge</button><br/>
    16       </TMPL_IF>
    32       </TMPL_IF>
    17       <TMPL_IF confirm_update>
    33       <TMPL_IF confirm_rename>
    18         <p>Do you really want to rename <em><TMPL_VAR name></em> into
    34         <p>Rename<br/>
    19           <em><TMPL_VAR newname></em>?</p>
    35         <TMPL_LOOP Selected>
       
    36 	  <label><em><TMPL_VAR keyword></em> to
       
    37 	  <input type="hidden" name="id" value="<TMPL_VAR id>"/>
       
    38 	  <input type="text" name="name<TMPL_VAR id>"
       
    39 	     value="<TMPL_VAR keyword>"/></label><br/>
       
    40 	</TMPL_LOOP>
       
    41         <button name="action" type="submit"
       
    42               value="<TMPL_VAR action>">Rename</button><br/>
    20       </TMPL_IF>
    43       </TMPL_IF>
    21       <button name="action" type="submit"
       
    22               value="<TMPL_VAR action>">Yes, I want</button>
       
    23       <button name="action" type="submit" value="cancel">Cancel</button>
    44       <button name="action" type="submit" value="cancel">Cancel</button>
    24     </form>
    45     </form>
    25   </body>
    46   </body>
    26 </html>
    47 </html>
    27 <!-- Keep this comment at the end of the file
    48 <!-- Keep this comment at the end of the file