Code

Updated kerberos pwd change template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Mar 2010 12:37:47 +0000 (12:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Mar 2010 12:37:47 +0000 (12:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16992 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mit-krb5/admin/systems/services/kerberos/pwd_kerberos_mit.tpl

index 692704dc90946fa1059983b5ea0010acd5d9d931..a277ff003b6db223e85c82e4a7bdae6d05833aae 100644 (file)
 
+
 {if $si_error}
+ <h3>{t}Kerberos options{/t}</h3>
+ <p>
+  {msgPool type=siError p1=$si_error_msg}
+ </p>
 
      <h3>{t}Kerberos options{/t}</h3>
-       <p>
-               {msgPool type=siError p1=$si_error_msg}
-       </p>
      <button type='submit' name='retry_si'>{t}Retry{/t}</button>
<button type='submit' name='retry_si'>{t}Retry{/t}</button>
+ <div class="plugin-actions">
+  <button type='submit' name='pw_abort'>{t}Cancel{/t}</button>
</div>
 
-       <br>
-       <br>
+ {else}
 
-<hr>
-<p style="text-align:right;">
-       <button type='submit' name='pw_abort'>{t}Cancel{/t}</button>
+ <table style="width:100%;" summary="{t}Policy settings{/t}">
+  <tr>
+   <td style='width:50%;'>
+    <h3>{t}Kerberos options{/t}</h3>
 
-</p>
-{else}
+    <table style="width:100%;" summary="{t}Policy settings{/t}">
+     <tr>
+      <td><label for="goKrbRealm">{t}Realm{/t}</label></td>
+      <td>
+       <select name="goKrbRealm" onChange="document.mainform.submit();" size=1>
+        {foreach from=$server_list item=item key=key}
+         {if $item.goKrbRealm==$goKrbRealm}
+         <option selected value="{$item.goKrbRealm}">
+          {$item.goKrbRealm}</option>
+         {else}
+          <option value="{$item.goKrbRealm}">
+          {$item.goKrbRealm}</option>
+         {/if}
+        {/foreach}
+       </select>
+      </td>
+     </tr>
+     <tr>
+      <td>
+       <label for="POLICY">{t}Policy{/t}</label>
+      </td>
+      <td>
+       <select name="POLICY" size=1>
+        {foreach from=$POLICIES item=item key=key}
+         {if $POLICY==$item}
+          <option selected value="{$key}">
+          {$item}</option>
+         {else}
+          <option value="{$key}">
+          {$item}</option>
+         {/if}
+        {/foreach}
+       </select>
+      </td>
+     </tr>
+     <tr>
+      <td><label for="MAX_LIFE">{t}Ticket max life{/t}</label></td>
+      <td>
+       <input id="MAX_LIFE" type="text" name="MAX_LIFE" value="{$MAX_LIFE}">
+      </td>
+     </tr>
+     <tr>
+      <td><label for="MAX_RENEWABLE_LIFE">{t}Ticket max renew{/t}</label></td>
+      <td>
+       <input id="MAX_RENEWABLE_LIFE" type="text" name="MAX_RENEWABLE_LIFE" value="{$MAX_RENEWABLE_LIFE}">
+      </td>
+     </tr>
+    </table>
+    <hr>
+    <table summary="{t}Ticket max renew{/t}">
+     <tr>
+      <td></td>
+      <td style="width:40px;"><i>{t}infinite{/t}</i></td>
+      <td><i>{t}Hour{/t}</i></td>
+      <td style="width:60px;"><i>{t}Minute{/t}</i></td>
+      <td><i>{t}Day{/t}</i></td>
+      <td><i>{t}Month{/t}</i></td>
+      <td><i>{t}Year{/t}</i></td>
+     </tr>
+     <tr>
+      <td><label for="PRINC_EXPIRE_TIME">{t}Valid ticket end time{/t}</label></td>
+      <td>
+       <input type="checkbox" name="PRINC_EXPIRE_TIME_clear"                                                   
+          onClick="    
+            changeState('PRINC_EXPIRE_TIME_y');                                                                                
+            changeState('PRINC_EXPIRE_TIME_m');                                                                                
+            changeState('PRINC_EXPIRE_TIME_d');                                                                                
+            changeState('PRINC_EXPIRE_TIME_h');                                                                                
+            changeState('PRINC_EXPIRE_TIME_i');"                                                       
+          {if $PRINC_EXPIRE_TIME_clear} checked {/if}>
+      </td>
+      <td>
+       <select name="PRINC_EXPIRE_TIME_h" id="PRINC_EXPIRE_TIME_h" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}size=1>
+        {html_options options=$hours selected=$PRINC_EXPIRE_TIME_h}
+       </select>
+      </td>
+      <td>
+       <select name="PRINC_EXPIRE_TIME_i" id="PRINC_EXPIRE_TIME_i" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}size=1>
+        {html_options options=$minutes selected=$PRINC_EXPIRE_TIME_i}
+       </select>
+      </td>
+      <td>
+       <select name="PRINC_EXPIRE_TIME_d" id="PRINC_EXPIRE_TIME_d" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}size=1>
+        {html_options options=$days selected=$PRINC_EXPIRE_TIME_d}
+       </select>
+      </td>
+      <td>
+       <select name="PRINC_EXPIRE_TIME_m" id="PRINC_EXPIRE_TIME_m" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}size=1>
+        {html_options options=$month selected=$PRINC_EXPIRE_TIME_m}
+       </select>
+      </td>
+      <td>
+       <select name="PRINC_EXPIRE_TIME_y" id="PRINC_EXPIRE_TIME_y" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}size=1>
+        {html_options options=$years selected=$PRINC_EXPIRE_TIME_y}
+       </select>
+      </td>
+     </tr>
+     <tr>
+      <td><label for="PW_EXPIRATION">{t}Password expires{/t}</label></td>
+      <td>  
+       <input type="checkbox" name="PW_EXPIRATION_clear"                                                       
+        onClick="      
+         changeState('PW_EXPIRATION_y');                                                                               
+         changeState('PW_EXPIRATION_m');                                                                               
+         changeState('PW_EXPIRATION_d');                                                                               
+         changeState('PW_EXPIRATION_h');                                                                               
+         changeState('PW_EXPIRATION_i');"                                                      
+        {if $PW_EXPIRATION_clear} checked {/if}>
+      </td>
+      <td>
+        <select name="PW_EXPIRATION_h" id="PW_EXPIRATION_h" {if $PW_EXPIRATION_clear} disabled {/if}size=1>
+         {html_options options=$hours selected=$PW_EXPIRATION_h}
+        </select>
+      </td>
+      <td>
+       <select name="PW_EXPIRATION_i" id="PW_EXPIRATION_i" {if $PW_EXPIRATION_clear} disabled {/if}size=1>
+        {html_options options=$minutes selected=$PW_EXPIRATION_i}
+       </select>
+      </td>
+      <td>
+       <select name="PW_EXPIRATION_d" id="PW_EXPIRATION_d" {if $PW_EXPIRATION_clear} disabled {/if}size=1>
+        {html_options options=$days selected=$PW_EXPIRATION_d}
+       </select>
+      </td>
+      <td>
+       <select name="PW_EXPIRATION_m" id="PW_EXPIRATION_m" {if $PW_EXPIRATION_clear} disabled {/if}size=1>
+        {html_options options=$month selected=$PW_EXPIRATION_m}
+       </select>
+      </td>
+      <td>
+       <select name="PW_EXPIRATION_y" id="PW_EXPIRATION_y" {if $PW_EXPIRATION_clear} disabled {/if}size=1>
+        {html_options options=$years selected=$PW_EXPIRATION_y}
+       </select>
+      </td>
+     </tr>
+    </table>
 
-<table style="width:100%;">
-       <tr>
-               <td style='width:50%;'>
+    <hr>
+    <h3>{t}Status{/t}</h3>
 
-                       <h3>{t}Kerberos options{/t}</h3>
-                       <table style="width:100%;">
-                               <tr>
-                                       <td>
-                                               <label for="goKrbRealm">{t}Realm{/t}</label>
-                                       </td>
-                                       <td>
-                                               <select name="goKrbRealm" onChange="document.mainform.submit();" size=1>
-                                               {foreach from=$server_list item=item key=key}
-                                                       {if $item.goKrbRealm==$goKrbRealm}
-                                                       <option selected value="{$item.goKrbRealm}">{$item.goKrbRealm}</option>
-                                                       {else}
-                                                       <option value="{$item.goKrbRealm}">{$item.goKrbRealm}</option>
-                                                       {/if}
-                                               {/foreach}
-                                               </select>
-                                       </td>
-                               <tr>
-                               </tr>
-                                       <td>
-                                               <label for="POLICY">{t}Policy{/t}</label>
-                                       </td>
-                                       <td>
-                                               <select name="POLICY" size=1>
-                                               {foreach from=$POLICIES item=item key=key}
-                                                       {if $POLICY==$item}
-                                                       <option selected value="{$key}">{$item}</option>
-                                                       {else}
-                                                       <option value="{$key}">{$item}</option>
-                                                       {/if}
-                                               {/foreach}
-                                               </select>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                               <label for="MAX_LIFE">{t}Ticket max life{/t}</label>
-                                       </td>
-                                       <td>
-                                               <input id="MAX_LIFE" type="text" name="MAX_LIFE" value="{$MAX_LIFE}"> 
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                               <label for="MAX_RENEWABLE_LIFE">{t}Ticket max renew{/t}</label>
-                                       </td>
-                                       <td>
-                                               <input id="MAX_RENEWABLE_LIFE" type="text" name="MAX_RENEWABLE_LIFE" value="{$MAX_RENEWABLE_LIFE}">
-                                       </td>
-                               </tr>
-                       </table>
-                       <hr>
-                       <table>
-                               <tr>
-                                       <td>
-                                       </td>
-                                       <td style="width:40px;"><i>{t}infinite{/t}</i>
-                                       </td>
-                                       <td><i>{t}Hour{/t}</i>
-                                       </td>
-                                       <td style="width:60px;"><i>{t}Minute{/t}</i>
-                                       </td>
-                                       <td><i>{t}Day{/t}</i>
-                                       </td>
-                                       <td><i>{t}Month{/t}</i>
-                                       </td>
-                                       <td><i>{t}Year{/t}</i>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                               <label for="PRINC_EXPIRE_TIME">{t}Valid ticket end time{/t}</label>
-                                       </td>
-                                       <td>
-                                               <input type="checkbox" name="PRINC_EXPIRE_TIME_clear" 
-                                                       onClick="       changeState('PRINC_EXPIRE_TIME_y');
-                                                                               changeState('PRINC_EXPIRE_TIME_m');
-                                                                               changeState('PRINC_EXPIRE_TIME_d');
-                                                                               changeState('PRINC_EXPIRE_TIME_h');
-                                                                               changeState('PRINC_EXPIRE_TIME_i');"
-                                                       {if $PRINC_EXPIRE_TIME_clear} checked {/if}
-                                               >
-                                       </td>
-                                       <td>
-                                               <select name="PRINC_EXPIRE_TIME_h" id="PRINC_EXPIRE_TIME_h" {if $PRINC_EXPIRE_TIME_clear} disabled {/if} size=1>
-                                                       {html_options options=$hours selected=$PRINC_EXPIRE_TIME_h}
-                                               </select>
-                                       </td>
-                                       <td>
-                                               <select name="PRINC_EXPIRE_TIME_i" id="PRINC_EXPIRE_TIME_i" {if $PRINC_EXPIRE_TIME_clear} disabled {/if} size=1>
-                                                       {html_options options=$minutes selected=$PRINC_EXPIRE_TIME_i}
-                                               </select>
-                                       </td>
-                                       <td>
-                                               <select name="PRINC_EXPIRE_TIME_d" id="PRINC_EXPIRE_TIME_d" {if $PRINC_EXPIRE_TIME_clear} disabled {/if} size=1>
-                                                       {html_options options=$days selected=$PRINC_EXPIRE_TIME_d}
-                                               </select>
-                                       </td>
-                                       <td>
-                                               <select name="PRINC_EXPIRE_TIME_m" id="PRINC_EXPIRE_TIME_m" {if $PRINC_EXPIRE_TIME_clear} disabled {/if} size=1>
-                                                       {html_options options=$month selected=$PRINC_EXPIRE_TIME_m}
-                                               </select>
-                                       </td>
-                                       <td>
-                                               <select name="PRINC_EXPIRE_TIME_y" id="PRINC_EXPIRE_TIME_y" {if $PRINC_EXPIRE_TIME_clear} disabled {/if} size=1>
-                                                       {html_options options=$years selected=$PRINC_EXPIRE_TIME_y}
-                                               </select>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td>
-                                               <label for="PW_EXPIRATION">{t}Password expires{/t}</label>
-                                       </td>
-                                       <td>
-                                               <input type="checkbox" name="PW_EXPIRATION_clear" 
-                                                       onClick="       changeState('PW_EXPIRATION_y');
-                                                                               changeState('PW_EXPIRATION_m');
-                                                                               changeState('PW_EXPIRATION_d');
-                                                                               changeState('PW_EXPIRATION_h');
-                                                                               changeState('PW_EXPIRATION_i');"
-                                                       {if $PW_EXPIRATION_clear} checked {/if}
-                                               >
-                                       </td>
-                                       <td>
-                                               <select name="PW_EXPIRATION_h" id="PW_EXPIRATION_h" {if $PW_EXPIRATION_clear} disabled {/if} size=1>
-                                                       {html_options options=$hours selected=$PW_EXPIRATION_h}
-                                               </select>
-                                       </td>
-                                       <td>
-                                               <select name="PW_EXPIRATION_i" id="PW_EXPIRATION_i" {if $PW_EXPIRATION_clear} disabled {/if} size=1>
-                                                       {html_options options=$minutes selected=$PW_EXPIRATION_i}
-                                               </select>
+    <table summary="{t}Generic{/t}">
+     <tr>
+      <td>{t}Failed logins{/t}</td>
+      <td><i>{if !$FAIL_AUTH_COUNT}{t}none{/t}{else}{$FAIL_AUTH_COUNT}{/if}</i></td>
+     </tr>
+     <tr>
+      <td>{t}Key version number{/t}</td>
+      <td><i>{$KVNO}&nbsp;</i></td>
+     </tr>
+     <tr>
+      <td>{t}Last failed login{/t}</td>
+      <td><i>{if !$LAST_FAILED}{t}none{/t}{else}{$LAST_FAILED|date_format:"%d.%m.%Y %H:%m:%S"}{/if}</i></td>
+     </tr>
+     <tr>
+      <td>{t}Last password change{/t}</td>
+      <td><i>{if !$LAST_PWD_CHANGE}{t}none{/t}{else}{$LAST_PWD_CHANGE|date_format:"%d.%m.%Y %H:%m:%S"}{/if}</i></td>
+     </tr>
+     <tr>
+      <td>{t}Last successful login{/t}</td>
+      <td><i>{if !$LAST_SUCCESS}{t}none{/t}{else}{$LAST_SUCCESS|date_format:"%d.%m.%Y %H:%m:%S"}{/if}</i></td>
+     </tr>
+     <tr>
+      <td>{t}Last modification date{/t}</td>
+      <td><i>{if !$MOD_DATE}{t}none{/t}{else}{$MOD_DATE|date_format:"%d.%m.%Y %H:%m:%S"}{/if}</i></td>
+     </tr>
+    </table>
 
-                                       </td>
-                                       <td>
-                                               <select name="PW_EXPIRATION_d" id="PW_EXPIRATION_d" {if $PW_EXPIRATION_clear} disabled {/if} size=1>
-                                                       {html_options options=$days selected=$PW_EXPIRATION_d}
-                                               </select>
-                                       </td>
-                                       <td>
-                                               <select name="PW_EXPIRATION_m" id="PW_EXPIRATION_m" {if $PW_EXPIRATION_clear} disabled {/if} size=1>
-                                                       {html_options options=$month selected=$PW_EXPIRATION_m}
-                                               </select>
-                                       </td>
-                                       <td>
-                                               <select name="PW_EXPIRATION_y" id="PW_EXPIRATION_y" {if $PW_EXPIRATION_clear} disabled {/if} size=1>
-                                                       {html_options options=$years selected=$PW_EXPIRATION_y}
-                                               </select>
-                                       </td>
-                               </tr>
-                       </table>
-                       <hr>
-                       <h3>{t}Status{/t}</h3>
-                       <table>
-                               <tr>
-                                       <td>{t}Failed logins{/t}</td>
-                                       <td><i>{if !$FAIL_AUTH_COUNT} {t}none{/t} {else} {$FAIL_AUTH_COUNT} {/if}</i></td>
-                               </tr>
-                               <tr>
-                                       <td>{t}Key version number{/t}</td>
-                                       <td><i>{$KVNO}</i></td>
-                               </tr>
-                               <tr>
-                                       <td>{t}Last failed login{/t}</td>
-                                       <td><i>{if !$LAST_FAILED} {t}none{/t} {else} {$LAST_FAILED|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</i></td>
-                               </tr>
-                               <tr>
-                                       <td>{t}Last password change{/t}</td>
-                                       <td><i>{if !$LAST_PWD_CHANGE} {t}none{/t} {else} {$LAST_PWD_CHANGE|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</i></td>
-                               </tr>
-                               <tr>
-                                       <td>{t}Last successful login{/t}</td>
-                                       <td><i>{if !$LAST_SUCCESS} {t}none{/t} {else} {$LAST_SUCCESS|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</i></td>
-                               </tr>
-                               <tr>
-                                       <td>{t}Last modification date{/t}</td>
-                                       <td><i>{if !$MOD_DATE} {t}none{/t} {else} {$MOD_DATE|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</i></td>
-                               </tr>
-                       </table>
-       
-       
-               </td>   
-               <td style='padding-left: 3px;' class='left-border'>
+   </td>
+   <td style='padding-left: 3px;' class='left-border'>
+    <h3>{t}Flags{/t}</h3>
+    
+    <table width="100%" summary="{t}Flags{/t}">
+     <tr>
+      <td style="width:50%;">
+       <input {if $DISALLOW_SVR} checked {/if}class="center"        
+         name="DISALLOW_SVR" value="1" type="checkbox">{t}Prohibit issuance of service tickets{/t}
+        <br>
+        <input {if $DISALLOW_FORWARDABLE} checked {/if}class="center"          
+         name="DISALLOW_FORWARDABLE" value="1" type="checkbox">{t}Prohibit forwardable tickets{/t}
+        <br>
+        <input {if $DISALLOW_PROXIABLE} checked {/if}class="center"            
+         name="DISALLOW_PROXIABLE" value="1" type="checkbox">{t}Disallow proxiable tickets{/t}
+        <br>
+        <input {if $DISALLOW_RENEWABLE} checked {/if}class="center"            
+         name="DISALLOW_RENEWABLE" value="1" type="checkbox">{t}Prohibit renewable tickets{/t}
+        <br>
+        <input {if $DISALLOW_POSTDATED} checked {/if}class="center"            
+         name="DISALLOW_POSTDATED" value="1" type="checkbox">{t}Pohibit postdated tickets{/t}
+        <br>
+        <input {if $DISALLOW_TGT_BASED} checked {/if}class="center"            
+         name="DISALLOW_TGT_BASED" value="1" type="checkbox">{t}Disallow Ticket-Granting Service{/t}
+        <br>
+        <input {if $PWCHANGE_SERVICE} checked {/if}class="center"              
+         name="PWCHANGE_SERVICE" value="1" type="checkbox">{t}Password change service{/t}
+        <br>
+        <input {if $REQUIRES_PRE_AUTH} checked {/if}class="center"             
+         name="REQUIRES_PRE_AUTH" value="1" type="checkbox">{t}Preauthentication required{/t}
+        <br>
+        <input {if $REQUIRES_PWCHANGE} checked {/if}class="center"             
+         name="REQUIRES_PWCHANGE" value="1" type="checkbox">{t}Force a password change{/t}
+        <br>
+        <input {if $REQUIRES_HW_AUTH} checked {/if}class="center"              
+         name="REQUIRES_HW_AUTH" value="1" type="checkbox">{t}Hardware preauthentication{/t}
+        <br>
+        <input {if $DISALLOW_DUP_SKEY} checked {/if}class="center"             
+         name="DISALLOW_DUP_SKEY" value="1" type="checkbox">{t}Disallow user to user authentification{/t}
+        <br>
+        <input {if $DISALLOW_ALL_TIX} checked {/if}class="center"              
+         name="DISALLOW_ALL_TIX" value="1" type="checkbox">{t}Forbid ticket issuance{/t}
+        <br>
+       </td>
+      </tr>
+     </table>
+    </td>
+   </tr>
+  </table>
 
-                       <h3>Flags</h3>
-                       <table width="100%">
-                               <tr>
-                                       <td style="width:50%;">
-<input {if $DISALLOW_SVR} checked {/if} class="center"
-        name="DISALLOW_SVR" value="1" type="checkbox">{t}Prohibit issuance of service tickets{/t}<br>
-<input {if $DISALLOW_FORWARDABLE} checked {/if} class="center" 
-               name="DISALLOW_FORWARDABLE" value="1" type="checkbox">{t}Prohibit forwardable tickets{/t}<br>
-<input {if $DISALLOW_PROXIABLE} checked {/if} class="center" 
-               name="DISALLOW_PROXIABLE" value="1" type="checkbox">{t}Disallow proxiable tickets{/t}<br>
-<input {if $DISALLOW_RENEWABLE} checked {/if} class="center" 
-               name="DISALLOW_RENEWABLE" value="1" type="checkbox">{t}Prohibit renewable tickets{/t}<br>
-<input {if $DISALLOW_POSTDATED} checked {/if} class="center" 
-               name="DISALLOW_POSTDATED" value="1" type="checkbox">{t}Pohibit postdated tickets{/t}<br>
-<input {if $DISALLOW_TGT_BASED} checked {/if} class="center" 
-               name="DISALLOW_TGT_BASED" value="1" type="checkbox">{t}Disallow Ticket-Granting Service{/t}<br>
-<input {if $PWCHANGE_SERVICE} checked {/if} class="center" 
-               name="PWCHANGE_SERVICE" value="1" type="checkbox">{t}Password change service{/t}<br>
-<input {if $REQUIRES_PRE_AUTH} checked {/if} class="center" 
-               name="REQUIRES_PRE_AUTH" value="1" type="checkbox">{t}Preauthentication required{/t}<br>
-<input {if $REQUIRES_PWCHANGE} checked {/if} class="center" 
-               name="REQUIRES_PWCHANGE" value="1" type="checkbox">{t}Force a password change{/t}<br>
-<input {if $REQUIRES_HW_AUTH} checked {/if} class="center" 
-               name="REQUIRES_HW_AUTH" value="1" type="checkbox">{t}Hardware preauthentication{/t}<br>
-<input {if $DISALLOW_DUP_SKEY} checked {/if} class="center" 
-               name="DISALLOW_DUP_SKEY" value="1" type="checkbox">{t}Disallow user to user authentification{/t}<br>
-<input {if $DISALLOW_ALL_TIX} checked {/if} class="center" 
-               name="DISALLOW_ALL_TIX" value="1" type="checkbox">{t}Forbid ticket issuance{/t}<br>
-                                       </td>
-                               </tr>
-                       </table>
-               </td>
-       </tr>
-</table>
 <input type="hidden" name="pwd_heimdal_posted" value="1">
-<hr>
-<p style="text-align:right;">
-       <button type='submit' name='pw_save'>{t}Save{/t}</button>
 
-       &nbsp;
-       <button type='submit' name='pw_abort'>{t}Cancel{/t}</button>
+<hr>
 
-</p>
+<div class="plugin-actions">
+ <button type='submit' name='pw_save'>{t}Save{/t}</button>&nbsp;
+ <button type='submit' name='pw_abort'>{t}Cancel{/t}</button>
+</div>
 
 {/if}