Permalink
Browse files

ignore $wrap as it is no longer used in the core xhtml template

  • Loading branch information...
1 parent 0973ecc commit 0f53b0974d4295b0459092fcb09a9faa26a026bb @haraldpdl haraldpdl committed Nov 12, 2010
Showing with 4 additions and 2 deletions.
  1. +2 −1 catalog/admin/includes/functions/html_output.php
  2. +2 −1 catalog/includes/functions/html_output.php
@@ -249,10 +249,11 @@ function tep_draw_radio_field($name, $value = '', $checked = false, $compare = '
////
// Output a form textarea field
+// The $wrap parameter is no longer used in the core xhtml template
function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) {
global $HTTP_GET_VARS, $HTTP_POST_VARS;
- $field = '<textarea name="' . tep_output_string($name) . '" wrap="' . tep_output_string($wrap) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"';
+ $field = '<textarea name="' . tep_output_string($name) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"';
if (strpos($parameters, 'id=') === false) {
$field .= ' id="' . tep_output_string($name) . '"';
@@ -233,10 +233,11 @@ function tep_draw_radio_field($name, $value = '', $checked = false, $parameters
////
// Output a form textarea field
+// The $wrap parameter is no longer used in the core xhtml template
function tep_draw_textarea_field($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) {
global $HTTP_GET_VARS, $HTTP_POST_VARS;
- $field = '<textarea name="' . tep_output_string($name) . '" wrap="' . tep_output_string($wrap) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"';
+ $field = '<textarea name="' . tep_output_string($name) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"';
if (strpos($parameters, 'id=') === false) {
$field .= ' id="' . tep_output_string($name) . '"';

0 comments on commit 0f53b09

Please sign in to comment.