Permalink
Browse files

remove BOX_WIDTH

  • Loading branch information...
1 parent 58145a5 commit 74214ab3b6625c729ad4adc472459ad55ad04e27 @haraldpdl haraldpdl committed Nov 12, 2010
@@ -49,9 +49,6 @@
// include the list of project database tables
require(DIR_WS_INCLUDES . 'database_tables.php');
-// customization for the design layout
- define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)
-
// Define how do we update currency exchange rates
// Possible values are 'oanda' 'xe' or ''
define('CURRENCY_SERVER_PRIMARY', 'oanda');
@@ -58,9 +58,6 @@
// include the list of project database tables
require(DIR_WS_INCLUDES . 'database_tables.php');
-// customization for the design layout
- define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)
-
// include the database functions
require(DIR_WS_FUNCTIONS . 'database.php');
@@ -37,7 +37,7 @@ function execute() {
' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_SEARCH_BOX_TITLE . '</div>' .
' <div class="ui-widget-content infoBoxContents" style="text-align: center;">' .
' ' . tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') .
- ' ' . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . '&nbsp;' . tep_draw_hidden_field('search_in_description', '1') . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', MODULE_BOXES_SEARCH_BOX_TITLE) . '<br />' . MODULE_BOXES_SEARCH_BOX_TEXT . '<br /><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><strong>' . MODULE_BOXES_SEARCH_BOX_ADVANCED_SEARCH . '</strong></a>' .
+ ' ' . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: 75%"') . '&nbsp;' . tep_draw_hidden_field('search_in_description', '1') . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', MODULE_BOXES_SEARCH_BOX_TITLE) . '<br />' . MODULE_BOXES_SEARCH_BOX_TEXT . '<br /><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><strong>' . MODULE_BOXES_SEARCH_BOX_ADVANCED_SEARCH . '</strong></a>' .
' </form>' .
' </div>' .
'</div>';

0 comments on commit 74214ab

Please sign in to comment.