WebsiteBaker 2.13.9 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<?php if(FRONTEND_LOGIN AND !$admin->is_authenticated()) { $page = 'http://' .$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];echo '<form name="login" action="'.LOGIN_URL.'?redirect='.WB_URL.'/pages/wbuser.php" method="post">';echo ' <fieldset class="topbox"><legend>'.$TEXT['LOGIN'].'></legend>';echo ' <fieldset class="topbox">';echo ' <div class="topboxbody">';echo ' <label for="username">'.$TEXT['USERNAME'].':</label>';echo ' <input type="text" name="username" id="username" class="text" />';echo ' <label for="password">'.$TEXT['PASSWORD'].':</label>';echo ' <input type="password" name="password" id="password" class="text" />';echo ' <input type="submit" name="submit" value="'.$TEXT['LOGIN'].'" class="submit" /><br />';echo ' <a href="'.FORGOT_URL.'">'.$TEXT['FORGOT_DETAILS'].'></a><br />';echo ' </div>';echo ' </fieldset>';echo '</form>';?>
Code: [Select]<?php if(FRONTEND_LOGIN AND !$admin->is_authenticated()) { $page = 'http://' .$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];echo '<form name="login" action="'.LOGIN_URL.'?redirect='.WB_URL.'/pages/wbuser.php" method="post">';echo ' <fieldset class="topbox"><legend>'.$TEXT['LOGIN'].'></legend>';echo ' <fieldset class="topbox">';echo ' <div class="topboxbody">';echo ' <label for="username">'.$TEXT['USERNAME'].':</label>';echo ' <input type="text" name="username" id="username" class="text" />';echo ' <label for="password">'.$TEXT['PASSWORD'].':</label>';echo ' <input type="password" name="password" id="password" class="text" />';echo ' <input type="submit" name="submit" value="'.$TEXT['LOGIN'].'" class="submit" /><br />';echo ' <a href="'.FORGOT_URL.'">'.$TEXT['FORGOT_DETAILS'].'></a><br />';echo ' </div>';echo ' </fieldset>';echo '</form>';?>Didn't test this buit I'm sure it will help you get started.Remark, a closing fieldset is missing in your source and in my code John
<?php if(FRONTEND_LOGIN AND !$admin->is_authenticated()) { $page = 'http://' .$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];echo '<form name="login" action="'.LOGIN_URL.'?redirect='.WB_URL.'/pages/wbuser.php" method="post">';echo ' <fieldset class="topbox"><legend>'.$TEXT['LOGIN'].'></legend>';echo ' <fieldset class="topbox">';echo ' <div class="topboxbody">';echo ' <label for="username">'.$TEXT['USERNAME'].':</label>';echo ' <input type="text" name="username" id="username" class="text" />';echo ' <label for="password">'.$TEXT['PASSWORD'].':</label>';echo ' <input type="password" name="password" id="password" class="text" />';echo ' <input type="submit" name="submit" value="'.$TEXT['LOGIN'].'" class="submit" /><br />';echo ' <a href="'.FORGOT_URL.'">'.$TEXT['FORGOT_DETAILS'].'></a><br />';echo ' </div>';echo ' </fieldset>';echo '</form>';}?>
<form action="<?php echo WB_URL.'/account/login.php'; ?>" method="post">
<?php if(FRONTEND_LOGIN AND !$admin->is_authenticated()) { $page = 'http://' .$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; echo '<form name="login" action="'.LOGIN_URL.'?redirect='.WB_URL.'/pages/wbuser.php" method="post">';} else { echo '<form action="'.WB_URL.'/account/login.php>" method="post">';}?>
<p style="display:none;"><input type="hidden" name="redirect" value="<?php echo $thisApp->redirect_url;?>" /></p>
<p style="display:none;"><input type="hidden" name="redirect" value="<?php echo WB_URL.'/pages/wbuser.php'; ?>" /></p>