Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forumlar / Cotonti / Support / Version 0.9.11 Header log in

I can't log in via the header

musashi9
#35576 2012-09-24 02:21

I just can't log in from the header, when I try it looks like it is going ot log in but I just end up as a guest. I have to use login.php

My contonti version is 0.9.11

Here is the code fro mthe header.tpl

        <!-- BEGIN: GUEST -->
                <li>
                    <div class="menu_button"><a href="#login" name="modal">{PHP.L.Login}</a></div>
                </li>
<!--<li><div class="menu_button"><a href="{PHP|cot_url('login')}">{PHP.L.Login}</a></div></li>
<li><div class="menu_button"><a href="{PHP|cot_url('users','m=register')}">{PHP.L.Register}</a></div></li>
<li><div class="menu_button"><a href="{PHP|cot_url('users','m=passrecover')}">{PHP.themelang.header.Lostyourpassword}</a></div></li>-->

                <li>
                    <div id="login" class="window">
                    <div class="login_form_header"></div>
                    <div class="login_form_body">
                        <form name="login_form" action="{PHP|cot_url('login','a=check')}" method="post">
                            <input type="text" class="tinput" name="rusername" size="13" maxlength="32" value="{PHP.themelang.header.Login}" onblur="if(this.value=='') this.value='{PHP.themelang.header.Login}';" onfocus="if(this.value=='{PHP.themelang.header.Login}') this.value='';" />
                            <input type="password" class="tinput" name="rpassword" size="13" maxlength="32" value="{PHP.L.Password}" onblur="if(this.value=='') this.value='{PHP.L.Password}';" onfocus="if(this.value=='{PHP.L.Password}') this.value='';" />
                            <input type="hidden" name="rremember" value="1"/>
                            <input class="login_submit" type="submit" value="{PHP.L.Login}" />
                        </form>

                        <div class="login_footer">
                            <a href="{PHP|cot_url('users','m=register')}">{PHP.L.Register}</a>
                            <a href="{PHP|cot_url('users','m=passrecover')}">{PHP.themelang.header.Lostyourpassword}</a>
                        </div>
                    </div>
                    <div class="login_form_footer"></div>