Hi all,
Now I know the first thing said will be "Why are you using PHPNuke?" or "There are so many different and better CMS' around", but for what I need a site for this is perfect (most things already written etc).
Now the question:
Is there any way I can implement this onto a PHPNuke Block, I have tried to create a new block and add it all into it, but it doesnt work (just shows the code without the <>'s)
Here are the 3 bits of code:
Thanks in advance
Now I know the first thing said will be "Why are you using PHPNuke?" or "There are so many different and better CMS' around", but for what I need a site for this is perfect (most things already written etc).
Now the question:
Is there any way I can implement this onto a PHPNuke Block, I have tried to create a new block and add it all into it, but it doesnt work (just shows the code without the <>'s)
Here are the 3 bits of code:
Code:
<head>
<script language="JavaScript" type="text/javascript">
<!--
function squirrelmail_loginpage_onload() {
document.forms[0].js_autodetect_results.value = '1';
for (i = 0; i < document.forms[0].elements.length; i++) {
if (document.forms[0].elements[i].type == "text" || document.forms[0].elements[i].type == "password") {
document.forms[0].elements[i].focus();
break;
}
}
}
// -->
</script>
</head>
Code:
<body onload="squirrelmail_loginpage_onload()">
Code:
<form method="post" action="http://example.com/src/redirect.php">
<input type="hidden" name="js_autodetect_results" value="0">
<input type="hidden" name="just_logged_in" value="1">
User: <input type="text" name="login_username" size="10">
Password: <input type="password" name="secretkey" size="10">
<input type="submit" value="Login">
</form>
Thanks in advance
