Change Loginform plugin button to normal text link
Posted: Sun Sep 23, 2007 12:30 pm
Hi,
I have placed the plugin serendipity_plugin_loginform in the left sidebar to make it easy to login. After entering a username and password you need to press on a submit-button.
I would like to replace the large button with a <a href> link, but dont know what the target should be then. The code for this button is:
When not logged in:
echo '<input type="submit" name="serendipity[action]" value="' . LOGIN . '" />';
When logged in:
echo '<input type="submit" name="serendipity[action]" value="' . LOGOUT . '" />';
Could anyone help changing this button into a text link that still works?
Mallors
I have placed the plugin serendipity_plugin_loginform in the left sidebar to make it easy to login. After entering a username and password you need to press on a submit-button.
I would like to replace the large button with a <a href> link, but dont know what the target should be then. The code for this button is:
When not logged in:
echo '<input type="submit" name="serendipity[action]" value="' . LOGIN . '" />';
When logged in:
echo '<input type="submit" name="serendipity[action]" value="' . LOGOUT . '" />';
Could anyone help changing this button into a text link that still works?
Mallors