
Originally Posted by
Woodymon
I don't see that file gets modified very often in 1.3x. Ask a question (Marge) does not modify html_output. You may be referring to another similarly named mod?
Ask A Question for Zen-Cart v1.3.0
Created by: Marg Davison marg AT marg-art DOT com
Code:
====[ ALTER FILES ]===================================================================
Open - includes\functions\html_output.php - Add the following to the end before the ?>
/*
* Output a ASK-A-QUESTION form input field
*/
function zen_draw_input_field_ask_a_question($name, $value = '', $parameters = '', $type = 'text', $size = '22',
$reinsert_value = true) {
$field = '<input type="' . zen_output_string($type) . '" size="' . zen_output_string($size) . '" name="' .
zen_output_string($name) . '"';
if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) {
$field .= ' value="' . zen_output_string(stripslashes($GLOBALS[$name])) . '"';
} elseif (zen_not_null($value)) {
$field .= ' value="' . zen_output_string($value) . '"';
}
if (zen_not_null($parameters)) $field .= ' ' . $parameters;
$field .= ' />';
return $field;
}
Yes, you're right, I must be looking at the OTHER ask a question contrib by the other marge ;)

Originally Posted by
Woodymon
On one shop I have 25 mods installed and many other customizations. Of these mods IH2 is the only one to modify /includes/functions/html_output.php
Woody
I'd be interested to know what you use for your URL rewrites!
Bookmarks