CoSmis Posted February 7, 2008 Share Posted February 7, 2008 Hey everyone, I was hoping for some advice on how to edit a button: I installed the contribution Loginbox v2.2c, and I would like to change the image of the button that submits the login information. Here's a picture: Here is the code for the form used: <form name="login" action="login.php?action=process" method="post"> <center> <table border="0" cellpadding="0" cellspacing="0" class="smallText" > <tr > <td width="100%" height="16" class="smallText"> <p align="center">'; $in_out_action.= LOGIN_BOX_WELCOME_EMAILADDRESS; $in_out_action.= '</td> </tr> <tr> <td width="100%" height="16" class="smallText"> <p align="center"> <input maxLength="96" name="email_address"size="12"> </td> </tr> <tr> <td width="100%" height="16" class="smallText"> <p align="center">'; $in_out_action.=LOGIN_BOX_WELCOME_PASSWORD; $in_out_action.='</font></td> </tr> <tr> <td width="100%" height="19"> <p align="center"><b> <font size="1" class="smallText"> <input type="password" maxLength="40" value name="password" size="12"></b> </td> </tr> <tr> <td width="100%" height="1" class="smallText"> <p align="center">'; $in_out_action.='<br><input type="submit" value="'; $in_out_action.=LOGIN_BOX_WELCOME_LOGIN; $in_out_action.='" name="Submit">'; //Forgotten Password $in_out_action.= '<br>'; $in_out_action.='<a class="smallText" href="'; $in_out_action.=tep_href_link(FILENAME_PASSWORD_FORGOTTEN); $in_out_action.='">'; $in_out_action.= LOGIN_BOX_PASSWORD_FORGOTTEN; $in_out_action.='</a> </td> </tr> <tr> <td width="100%" height="1" class="smallText"> <p align="center">'; //create account // $in_out_action.= '<br>'; $in_out_action.='<a class="smallText" href="'; $in_out_action.=tep_href_link(FILENAME_CREATE_ACCOUNT); $in_out_action.='">'; $in_out_action.= LOGIN_BOX_CREATE_ACCOUNT; $in_out_action.='</a> </td> </tr> </table> </form> Can anyone who knows how to write code advise on how to configure the submit button as an image? Free virtual Pie to whoever can help!! :thumbsup: Quote Link to comment Share on other sites More sharing options...
CoSmis Posted February 7, 2008 Author Share Posted February 7, 2008 Oh, and can I make it to where the text "Email Address" and "Password" is next to the form boxes instead of above them? Quote Link to comment Share on other sites More sharing options...
CoSmis Posted February 7, 2008 Author Share Posted February 7, 2008 bump Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.