werc-1.5.0-tweaks

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

login.tpl (575B)


      1 <h1>User login</h1>
      2 <br />
      3 % if(check_user) {
      4     You are logged in as: <b>%($logged_user%)</b>
      5 % }
      6 % if not {
      7 %    if (~ $REQUEST_METHOD POST)
      8 %        echo '<div class="notify_errors">Login failed!</div>'
      9 <form method="POST" action="" style="text-align: right; float: left;">
     10 <fieldset>
     11     <label>User name: <input type="text" name="user_name" value="%($"post_arg_user_name%)"/></label><br>
     12     <label>User password: <input type="password" name="user_password"></label><br>
     13     <input name="s" type="submit" value="Login">
     14 </fieldset>
     15 </form>
     16 % }
     17 
     18 <br style="clear:left">