Автор
Сообщение

Hi,
is it possible to make login plugin for index.tpl or as a global tag.
I mean login form for login from main site.
I remembered that was similar plugin for ldu known as leetlogin.

Thanks in advance for any help.

Leetlogin One: https://www.box.com/s/2bsur89rrl0jrwcnkhur

Leetlogin Two: https://www.box.com/s/3tdsyehopszakck762hu

 

Login Box:

<form name="login" action="users.php?m=auth&amp;a=check&amp;redirect=" method="post">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td nowrap="nowrap">User Name </td>
    <td nowrap="nowrap"><input type="text" class="tinput" name="rusername" size="15" maxlength="32" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
    <td nowrap="nowrap"><input type="checkbox" name="rcookiettl" value="5184000" align="bottom" />Remember me?</td>
  </tr>
  <tr>
    <td nowrap="nowrap">Password</td>
    <td nowrap="nowrap"><input type="password" class="tinput" name="rpassword" size="15" maxlength="32" /></td>
    <td nowrap="nowrap"><input type="submit" style="font-size:10px; " value="Login" /></td>
  </tr>
</table>
</form>

отредактировал(а) Kaan: 25-08-13 22:22 GMT

Hi,
thanks for quick response but it is still not working for index.tpl.
If I add login box after log in form still is available.
Leetlogin number 2 just working and just for header.tpl.
Could you help me with this matter please.

Thanks in advance.

open leetlogin.php

 

find hoks: header.tags

change: index.tags

find tags: header.tpl

change: index.tpl

and save 

Remove and then Reinstall plug-in

thanks

working well