add values for name=tan and name=login to login via
href="output/project/login.php?tan=XXXX&login=email@host
This is needed if you wanna make surveys with many
people and automated mailing:
osp/output/default.login.php :
line 185:
<td class="basic"><input size="15" name="login"></td>
to
<td class="basic"><input size="15" name="login"
value="<?php echo $HTTP_GET_VARS["login"]; ?>"></td>
and line 189:
<td class="basic"><input type="password" size="15"
name="tan"></td>
to
<td class="basic"><input type="password" size="15"
name="tan" value="<?php echo $HTTP_GET_VARS["tan"];
?>"></td>
Next step : Automatic tan-list generation with
csv-email-list-support to mail the survey to the target
groups! Im going to write a patch now!
Logged In: YES
user_id=343280
Works! Just click on okay .. and the user can do the survey
using tan and email-address!
Logged In: YES
user_id=343280
This patch only worked if you open the link again - if you
are on the login-page!
Why: Due to a refresh problem!
If done a rewrite at work and now - It worx!
The new patched files are attached ! replace them with:
osp/output/default.login.php
and
osp/output/default.index.php
Logged In: YES
user_id=343280
Now I made cosmetic fixes using java-script:
If no login is passed , the output in address-line is now
login.php , and not login.php?login=&tan=
please send me comments!
Logged In: YES
user_id=343280
Now me made cosmetic fixes!
If no login was passed using login.php?login=name
the address-output is now login.php,
not login.php?login=&tan=
Login patch (php and java changes)