should be pretty easy...
function remote2 (url) {
window.opener.location = url;
window.opener.focus();
}
You are not logged in. Please login or register.
PunBB Forums → Posts by sjon
Pages 1
should be pretty easy...
function remote2 (url) {
window.opener.location = url;
window.opener.focus();
}
nope...
Nope, it doesn't...
What is your exact problem?
If it's the images and such not loading when you request "thatDirectory", that's because they are being
rewritten to your index.php...
?> <div class="logintop"> <form id="login" name="login" method="post" action="login.php?action=in" onsubmit="return process_form(this)"> <p> <input type="hidden" name="form_sent" value="1" /> <input type="hidden" name="redirect_url" value="<?php echo $redirect_url ?>" /> <?php echo $lang_common['Username'] ?>: <input type="text" name="req_username" size="16" maxlength="25" /> <?php echo $lang_common['Password'] ?>: <input type="password" name="req_password" size="16" maxlength="16" /> <input type="submit" value="<?php echo $lang_common['Login'] ?>" /> </p> </form> </div> <?php
How and where?
There...
I've removed the register link, and changed the login link with a submit button.
You can replace it with a image button, eg:
<input type="image" src="/url/to/submit.png" alt="<?php echo $lang_common['Login'] ?>" />
You don't need to update your whole site, only the punbb code.
Let's say you're using this ssi tag right after the <body> part of your pages:
<!--#include virtual="/includes/header.html" -->
And you've got your punbb installed at:
Then you should look for:
// END SUBST - <body>
in header.php, and right after that, enter the following:
include_once '../includes/header.html';
That's it...
Pages 1
PunBB Forums → Posts by sjon
Powered by PunBB, supported by Informer Technologies, Inc.