mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 01:09:21 +02:00

Its a salut to nginx and other web server nutzer (not apache), as they can now simply redirect all requests with simple rule to index.php, and php will take care of all redirects. .htaccess just now redirects everything to index.php with simple 3 lines. * change accountmanagement links to use friendly_urls * fixed creating new forum thread * some fixes in account changecomment action * show info when account name/number or password is empty on login * fixed showing account login errors * added new twig function getLink that convert link taking into account config.friendly_urls * internalLayoutLink -> getLink
82 lines
4.0 KiB
Twig
82 lines
4.0 KiB
Twig
Please enter your account {{ account|lower }} and your password.<br/><a href="?subtopic=createaccount" >Create an account</a> if you do not have one yet.<br/><br/>
|
|
<form action="{{ getLink('account/manage') }}" method="post" >
|
|
{% if redirect is not null %}
|
|
<input type="hidden" name="redirect" value="{{ redirect }}" />
|
|
{% endif %}
|
|
<div class="TableContainer" >
|
|
<table class="Table1" cellpadding="0" cellspacing="0" >
|
|
<div class="CaptionContainer" >
|
|
<div class="CaptionInnerContainer" >
|
|
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);" /></span>
|
|
<div class="Text" >Account Login</div>
|
|
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);" /></span>
|
|
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);" ></span>
|
|
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);" /></span>
|
|
</div>
|
|
</div>
|
|
<tr>
|
|
<td>
|
|
<div class="InnerTableContainer">
|
|
<table style="width:100%;" >
|
|
<tr>
|
|
<td class="LabelV" >
|
|
<span{% if error is not null %} class="red"{% endif %}>Account {{ account }}:</span>
|
|
</td>
|
|
<td style="width:100%;" ><input type="password" name="account_login" size="30" maxlength="30" autofocus/></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="LabelV" >
|
|
<span{% if error is not null %} class="red"{% endif %}>Password:</span>
|
|
</td>
|
|
<td><input type="password" name="password_login" size="30" maxlength="29" ></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="LabelV" ></td>
|
|
<td><input type="checkbox" id="remember_me" name="remember_me" value="true" />
|
|
<label for="remember_me"> Remember me</label></td>
|
|
</tr>
|
|
{% if error is not null %}
|
|
<tr><td></td><td><span class="FormFieldError">{{ error }}</span></td></tr>
|
|
{% endif %}
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<br/>
|
|
<table width="100%" >
|
|
<tr align="center">
|
|
<td>
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td style="border:0px;">
|
|
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)"><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div>
|
|
<input class="ButtonText" type="image" name="Submit" alt="Submit" src="{{ template_path }}/images/buttons/_sbutton_submit.gif" >
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<tr>
|
|
</form>
|
|
</table>
|
|
</td>
|
|
<td>
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<form action="{{ getLink('account/lost') }}" method="post">
|
|
<tr>
|
|
<td style="border:0px;">
|
|
<div class="BigButton" style="background-image:url({{ template_path }}/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url({{ template_path }}/images/buttons/sbutton_over.gif);" ></div>
|
|
<input class="ButtonText" type="image" name="Account lost?" alt="Account lost?" src="{{ template_path }}/images/buttons/_sbutton_accountlost.gif" >
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table> |