I have an old script to make a very plain and simple login page.
The user is promted to input two things: username and password.
In the script this is used ad synonym for 'folder' and 'filename'.htm
I have tried to reuse the code in CMSimple, but...
The code I use is this (I have put it into a table):
Code: Select all
<table border="0" width="383">
<tr>
<td><form name="bruger" action="#" onsubmit="location.href = this.kodeord1.value + '/' + this.kodeord2.value + '.htm'; return false">
<p><b>Brugernavn</b></p></td>
<td>
<input size="25" name="kodeord1"></td>
</tr>
<tr>
<td>
<p><b>Adgangskode</b></p></td>
<td>
<input type="password" size="25" name="kodeord2"></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Luk mig ind" onclick="location.href = this.form.kodeord1.value + '/' + this.form.kodeord2.value + '.htm'; return false"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr></form>
</table>
Or this a better way around it?
It dont want to make memberspages
It's online here: http://www.worlddance.dk/index.php?SKAB ... _for_sidst
Mads