biro |
|
---|---|
i was making a plugin like leet login then i got an annoying error....
here are codes quicklogin.header.php <?PHP
/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net
[BEGIN_SED]
File=plugins/quicklogin/quicklogin.header.php
Version=1.0
Updated=2009-4-23
Type=Plugin
Author=biro
Description=A quick login plugin for header.tpl
[END_SED]
[BEGIN_SED_EXTPLUGIN]
Code=quicklogin
Part=header
File=quicklogin.header
Hooks=header.tags
Tags=header.tpl:{QUICK_LOGIN}
[END_SED_EXTPLUGIN]
============ */
if (!defined('SED_CODE')) { die('Wrong URL.'); }
$quick_login = <form name="login" action="users.php?m=auth&a=check&redirect=" method="post">Username:
<input type="text" class="tinput" name="rusername" size="13" maxlength="32" onfocus="if (this.value == 'User Name') this.value = '';" /> Password:
<input type="password" class="tinput" name="rpassword" size="13" maxlength="32" />
<input type="hidden" name="rremember" value="1"/>
<input type="submit" style="font-size:10px; " value="Login" />
<div><input type="hidden" name="x" value="GUEST" /></div><div style="display:inline;margin:0;padding:0"><input type="hidden" name="x" value="GUEST" /></div></form>
<b>Welcome Guest! <a href="users/register.html">Register</a>
<a href="users/password-recover.html">Lost your password?</a></b>;
$t-> assign(array(
"QUICK_LOGIN" => $quick_login,
));
?> quicklogin.setup.php <?PHP
/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net
[BEGIN_SED]
File=plugins/quicklogin/quicklogin.setup.php
Version=1.0
Updated=2009-4-23
Type=Plugin
Author=biro
Description=A quick login plugin for header.tpl
Tags={QUICK_LOGIN}
[END_SED]
[BEGIN_SED_EXTPLUGIN]
Code=quicklogin
Name=Quick Login
Description=A quick login plugin for header.tpl
Version=1.0
Date=2009-4-23
Author=biro
Copyright=biro | Designed for cotonti use | Please ask me before copying codes |
Notes=
Tags={QUICK_LOGIN}
Auth_guests=R
Lock_guests=W12345A
Auth_members=R
Lock_members=W12345A
[END_SED_EXTPLUGIN]
==================== */
if (!defined('SED_CODE')) { die('Wrong URL.'); }
?>
looks like u have to click view plain to view codes...srryBe sure to check out<br /><br /><br />
My site-<a href="http://www.iso-center.co.cc">http://www.iso-center.co.cc</a><br /> My plugins;TPL Editior 1.2 & Mobile site |
|
Dieser Beitrag wurde von biro (am 24. April 2009, 23:03, vor 16 Jahre) bearbeitet |