Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Loginbox v2.2c - modification


CoSmis

Recommended Posts

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:

 

temp.JPG

 

 

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:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...