werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

foot.tpl (1366B)


      1 <hr>
      2 
      3 % notices_handler
      4 <form action="" method="post">
      5     <textarea name="comment_text" id="comment_text" cols="80" rows="16">%($"saved_comment_text%)</textarea>
      6     <br>
      7     <input type="submit" name="bridge_post" value="Post a comment">
      8 
      9 % if(~ $#logged_user 0) {
     10 %   if(~ $#allow_new_user_comments 1) {
     11     </br>
     12     </br>
     13     <label>New user name:
     14         <input type="text" name="comment_user" value="%($"post_arg_comment_user%)">
     15     </label>
     16     </br>
     17     <label>Password:
     18         <input type="password" name="comment_passwd" value="">
     19     </label>
     20 
     21     </br>
     22     <label>Repeat password:
     23         <input type="password" name="comment_passwd2" value="">
     24     </label>
     25     </br>
     26     </br>
     27     <div style="font-size: 70%">
     28     Enter your desired user name/password and after your comment has been reviewed by an admin it will be posted and your account will be enabled. If you are already registered please <a href="/_users/login">login</a> before posting.
     29     </div>
     30 %   }
     31 %   if not if(~ $#bridge_anon_comments 1) {
     32     <label>Is <a href="http://glenda.cat-v.org">Glenda a cute bunny</a>?
     33         <select name='ima_robot'>
     34         <option value="yes">No</option>
     35         <option value="not">Yes</option>
     36         <option value="foobar">I hate bunnies!</option>
     37         <option value="robot">I'm a robot!</option>
     38         </select>
     39     </label>
     40 %   }
     41 % }
     42 </form>