New Zenner
- Join Date:
- Sep 2006
- Location:
- NYC
- Posts:
- 76
- Plugin Contributions:
- 0
modifying the search form
hello,
ideally, i would like the search feature that is in the leftBoxContainer to look like this and I am trying to accomplish this or something close to it.
can someone tell me how to modify this
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
$content .= zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON). ' ' . zen_draw_input_field('keyword', '', 'size="6" maxlength="50" style="width:
100px;border:0px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value ==
\'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"');
} else {
$content .= ' <input type="submit" value="' . HEADER_SEARCH_BUTTON . '" style="width: 45px" />' .' ' . zen_draw_input_field('keyword', '', 'size="6" maxlength="30"
style="width: 100px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value ==
\'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"');
}
``` from the tpl_search_header.php file.
I would like it state *USE_CSS_BUTTONS* regardless so i don't need the if statement.