ich habe im Login-Modul grafische Buttons verbaut. Der Login funzt auch, beim logout wird das Formular zwar abgesendet, aber es loggt nicht aus. Das passiert übrigens nur bein IE unter Win und Mac. Firefox, Safari u. ä. loggen beim Klick auf den Button aus.
Hier der Code:
Code: Alles auswählen
<?php
####################################################
# alumni.diekonstanzerbwl.de
# login output
#
####################################################
?>
<table cellpadding="0" cellspacing="0" border="0" height="54">
<tr>
<?php
if ($auth->auth["uid"] == "nobody")
{
?>
<form method="post" action="front_content.php?idcat=25">
<td>Benutzer: </td>
<td>
<input height="18" type="input" size="10" border="0" name="username" style="margin: 0px; margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 10px;">
</td>
<td rowspan="3" nowrap>
<img src="images/space.gif" width="10" height="1" alt="Konstanzer BWL-Alumni" border="0">
<input type="image" align="middle" name="login" src="images/go.gif" border="0" style="margin: 0px;"></td>
</tr>
<tr>
<td>Passwort: </td>
<td><input height="18" type="password" size="10" border="0" name="password" style="margin: 0px; margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 10px;">
</td>
</form>
<?php
} else {
?>
<form method="post" action="front_content.php">
<td width="80"><?php echo $auth->auth["uname"]; ?> </td>
<td><input type="image" align="middle" name="logout" src="images/out.gif" border="0" value="Logout"></td>
</form>
<?php
}
?>
</tr>
</table>
Viele Grüsse vom Bodensee, Uwe