Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ted_draw_input_field


Guest

Recommended Posts

Is there a possibility to define somewhere the input field border (css-file is not working) and color at a central place?

 

I thought about the html_output.php - but I am not knowledged enough to modify the code the way it might should be.

 

Please, may I ask you for this favour please.

 

The Code part for the function is:

// Output a form input field
 function tep_draw_input_field($name, $value = '', $parameters = '', $type = 'text', $reinsert_value = true) {
   $field = '<input type="' . tep_output_string($type) . '" name="' . tep_output_string($name) . '"';

   if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) {
     $field .= ' value="' . tep_output_string(stripslashes($GLOBALS[$name])) . '"';
   } elseif (tep_not_null($value)) {
     $field .= ' value="' . tep_output_string($value) . '"';
   }

   if (tep_not_null($parameters)) $field .= ' ' . $parameters;

   $field .= '>';

   return $field;
 }

 

At the moment there is everywhere a light blue border around all the fields (search, new customer, login, tell afriend, radio buttons checkboxes,etc.) and I hope you have the solution already as I am trying all the day now to find some hint and a resolution.

 

Thanks in advance

Kai

 

P.S. you might want to take a quick look at My Webpage to see what I mean.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...