I catalog/includes/functions/html_output.php
Byt ut:
function tep_image_submit($image, $alt = '', $parameters = '') {
global $language;
$image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image) . '" border="0" alt="' . tep_output_string($alt) . '"';
if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "';
if (tep_not_null($parameters)) $image_submit .= ' ' . $parameters;
$image_submit .= '>';
return $image_submit;
}
function tep_image_submit($image, $alt = '', $parameters = '') {
global $language;
$image_submit = '<input class="submit" type="submit" value="' .$alt . '" >';
return $image_submit;
}
function tep_image_button($image, $alt = '', $parameters = '') {
global $language;
return tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image, $alt, '', '', $parameters);
}
function tep_image_button($image, $alt = '', $parameters = '') {
global $language;
$image = $alt;
return $image;
}
I catalog/includes/stylesheet.css
Lägg till:
input.submit, a.submit, a.submit:hover, a.submit:link, a.submit:visited {
padding:0;margin:0;
font-size:10px;
font-family:Arial,Verdana,sans-serif;
color:#444444;
background-color:#446666;
border-style:solid;
border-color:#444444;
border-width:1px;
cursor:pointer;
text-decoration:none;
padding-top:3px; padding-bottom:3px;
}
input.submit{
padding-top:1px; padding-bottom:1px;
}
a.submit, a.submit:hover, a.submit:link, a.submit:visited {
padding-left:10px; padding-right:10px;
}
Inga kommentarer:
Skicka en kommentar