{if $action == ''}
<html>
<head>
<title>{$hauptframe_titel}</title>
<link type="text/css" rel="stylesheet" href="templates/{$global_template}/css/styles_refill.css">
</head>

<body onload="if(document.pwd)document.pwd.pwd_alt.focus();return false;">

<div class="header">
   <div>
      <div>{$passwort_titel}</div>
   </div>
</div>

<div class="pat_list_box">
	<p>
	{$passwort_text}
	<br />
	<br />
    {if $passwort_pflichtfelder == '1'}
   	  <table width="70%" class="errorTable" align="center">
   	    <tr>
   	      <td>
   	        <img src="templates/{$global_template}/images/pflichtfelder/achtung_gross.gif">
   	      </td>
   	      <td><b>Achtung!</b><br>
   	           {$passwort_error_text}
   	      </td>
   	    </tr>
   	  </table><br>
   	{/if}
	<form action="?action=step2" method='post' name='pwd'>
    <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="90%">
        <tr>
            <td height='50' valing="top" align="left">
              <b>{$passwort_field_pwd_alt}</b>
            </td>
            <td height='50' valing="top" align="left">
              <input type="password" name="pwd_alt" size="40" value="{$passwort_pwd_alt}">
            <td valing="top" align="left">

            </td>
        </tr>
        <tr>
            <td height='50' valing="top" align="left">
              <b>{$passwort_field_pwd_neu}</b>
            </td>
            <td height='50' valing="top" align="left">
              <input type="password" name="pwd_neu" size="40" value="{$passwort_pwd_neu}">
            <td valing="top" align="left">

            </td>
        </tr>

        <tr>
            <td height='50' valing="top" align="left">
              <b>{$passwort_field_pwd_wied}</b>
            </td>
            <td height='50' valing="top" align="left">
              <input type="password" name="pwd_wied" size="40" value="{$passwort_pwd_wied}">
            <td valing="top" align="left">

            </td>
        </tr>
    </table>
    <p align="center">
    <br />
    <br />
      <input type="submit" name="senden" value="Passwort speichern">
    </p>
    </form>
    <br />
    <br />
    <br />
    <br />
</div>

</body>
</html>
{/if}

{if $action == 'step2'}
  {if $passwort_success == '1'}
    <html>
	<head>
	<title>{$hauptframe_titel}</title>
	<link type="text/css" rel="stylesheet" href="templates/{$global_template}/css/styles_refill.css">
	</head>

	<body onload="if(document.pwd)document.pwd.pwd_alt.focus();return false;">

	<div class="header">
	   <div>
	      <div>{$passwort_titel}</div>
	   </div>
	</div>

	<div class="pat_list_box">

	    <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="90%" height="60%">
	        <tr>
	            <td valing="top" align="center">
	              <b>{$passwort_success_text}</b>
	            </td>
	        </tr>

	    </table>

	    <br />
	    <br />
	    <br />
	    <br />
	</div>

	</body>
    </html>
  {/if}
{/if}