Sidebarda hizli giriş

guclusat

Tanınmış Üye
Süper Moderatör
sidebar_visitor.png

sidebar_visitor_panel
şablonunu bulun arayın


PHP:
<div class="section loginButton">      
    <div class="secondaryContent">
        <label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
    </div>
</div>

altına ekleyin


PHP:
<div class="section">
<div class="secondaryContent">
<h3>Hızlı Giriş</h3>
<form id="pageLogin" method="post" action="login/login">
<dl class="ctrlUnit">
<dd>
<label for="ctrl_pageLogin_login">Kullanıcı Adınız veya E-Posta:</label>
</dd>
<dd>
<input id="ctrl_pageLogin_login" class="textCtrl" type="text" value="" name="login">
</dd>
</dl>
<dl class="ctrlUnit">
<dd>
<label for="ctrl_pageLogin_password">Sitemize üye misiniz ?</label>
</dd>
<dd>
<ul>
<li>
<label for="ctrl_pageLogin_not_registered">
<input id="ctrl_pageLogin_not_registered" type="radio" value="1" name="register">
Hayır, Şimdi Üye Olmak İstiyorum.
</label>
</li>
<li>
<label for="ctrl_pageLogin_registered">
<input id="ctrl_pageLogin_registered" class="Disabler" type="radio" checked="checked" value="0" name="register">
Evet, şifrem:
</label>
</li>
<li id="ctrl_pageLogin_registered_Disabler">
<input id="ctrl_pageLogin_password" class="textCtrl" type="password" name="password">
<div>
<label class="rememberPassword" for="ctrl_pageLogin_remember">
<input id="ctrl_pageLogin_remember" type="checkbox" value="1" name="remember">
Beni Hatırla
</label>
</div>
</li>
</ul>
</dd>
</dl>
<dl class="ctrlUnit submitUnit">
<dd>
<input class="button primary" type="submit" data-signupphrase="Kayıt Ol" data-loginphrase="Giriş" value="Giriş">
<br>
<a class="OverlayTrigger OverlayCloser" href="lost-password/">Şifrenizi mi unuttunuz?</a>
</dd>
</dl>
<input type="hidden" value="1" name="cookie_check">
<input type="hidden" value="/" name="redirect">
<input type="hidden" value="" name="_xfToken">
</form>
<script>
$(function()
{
var $button = $('#pageLogin input.button.primary');
$('#pageLogin input[name="register"]').click(function()
{
$button.val(
$('#pageLogin input[name="register"]:checked').val() == '1'
? $button.data('signupPhrase')
: $button.data('loginPhrase')
);
});
});
</script>
</div>
</div>
 
Son düzenleme:
Geri
Yukarı