login action always goes to index.php
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
2
templates/Sparkle/login/fpwd.tpl
vendored
2
templates/Sparkle/login/fpwd.tpl
vendored
@@ -10,7 +10,7 @@ $header
|
||||
</div>
|
||||
</if>
|
||||
<section class="loginsec">
|
||||
<form method="post" action="$filename" enctype="application/x-www-form-urlencoded">
|
||||
<form method="post" action="index.php" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$lng['login']['presend']}</legend>
|
||||
<p>
|
||||
|
||||
2
templates/Sparkle/login/login.tpl
vendored
2
templates/Sparkle/login/login.tpl
vendored
@@ -25,7 +25,7 @@ $header
|
||||
</if>
|
||||
|
||||
<section class="loginsec">
|
||||
<form method="post" action="$filename" enctype="application/x-www-form-urlencoded">
|
||||
<form method="post" action="index.php" enctype="application/x-www-form-urlencoded">
|
||||
<input type="hidden" name="script" value="{$lastscript}" />
|
||||
<input type="hidden" name="qrystr" value="{$lastqrystr}" />
|
||||
<fieldset>
|
||||
|
||||
41
templates/Sparkle/login/login_ftp.tpl
vendored
41
templates/Sparkle/login/login_ftp.tpl
vendored
@@ -1,41 +0,0 @@
|
||||
<article class="login bradius">
|
||||
<header class="dark">
|
||||
<img src="{$header_logo_login}" alt="{t}Froxlor Server Management Panel{/t}" />
|
||||
</header>
|
||||
|
||||
{if isset($successmessage)}
|
||||
<div class="successcontainer bradius">
|
||||
<div class="successtitle">{t}Success{/t}</div>
|
||||
<div class="success">{$successmessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($errormessage)}
|
||||
<div class="errorcontainer bradius">
|
||||
<div class="errortitle">{t}Error{/t}</div>
|
||||
<div class="error">{$errormessage}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<section class="loginsec">
|
||||
<form method="post" action="webftp.php" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>{t}Froxlor - WebFTP - Login{/t}</legend>
|
||||
<p>
|
||||
<label for="loginname">{t}Username{/t}:</label>
|
||||
<input type="text" name="loginname" id="loginname" value="" required/>
|
||||
</p>
|
||||
<p>
|
||||
<label for="password">{t}Password{/t}:</label>
|
||||
<input type="password" name="password" id="password" required/>
|
||||
</p>
|
||||
<p class="submit">
|
||||
<input type="hidden" name="send" value="send" />
|
||||
<input type="submit" value="{t}Login{/t}" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
<aside> </aside>
|
||||
</section>
|
||||
|
||||
</article>
|
||||
2
templates/Sparkle/login/rpwd.tpl
vendored
2
templates/Sparkle/login/rpwd.tpl
vendored
@@ -11,7 +11,7 @@ $header
|
||||
</if>
|
||||
<section class="loginsec">
|
||||
<h3>{$lng['pwdreminder']['choosenew']}</h3>
|
||||
<form method="post" action="{$filename}?action=resetpwd&resetcode={$activationcode}" enctype="application/x-www-form-urlencoded">
|
||||
<form method="post" action="index.php?action=resetpwd&resetcode={$activationcode}" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$lng['login']['presend']}</legend>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user