Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remove BOX_WIDTH

  • Loading branch information...
commit 74214ab3b6625c729ad4adc472459ad55ad04e27 1 parent 58145a5
Harald Ponce de Leon authored November 13, 2010
3  catalog/admin/includes/application_top.php
@@ -49,9 +49,6 @@
49 49
 // include the list of project database tables
50 50
   require(DIR_WS_INCLUDES . 'database_tables.php');
51 51
 
52  
-// customization for the design layout
53  
-  define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)
54  
-
55 52
 // Define how do we update currency exchange rates
56 53
 // Possible values are 'oanda' 'xe' or ''
57 54
   define('CURRENCY_SERVER_PRIMARY', 'oanda');
3  catalog/includes/application_top.php
@@ -58,9 +58,6 @@
58 58
 // include the list of project database tables
59 59
   require(DIR_WS_INCLUDES . 'database_tables.php');
60 60
 
61  
-// customization for the design layout
62  
-  define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)
63  
-
64 61
 // include the database functions
65 62
   require(DIR_WS_FUNCTIONS . 'database.php');
66 63
 
2  catalog/includes/modules/boxes/bm_search.php
@@ -37,7 +37,7 @@ function execute() {
37 37
               '  <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_SEARCH_BOX_TITLE . '</div>' .
38 38
               '  <div class="ui-widget-content infoBoxContents" style="text-align: center;">' .
39 39
               '    ' . tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') .
40  
-              '    ' . 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>' .
  40
+              '    ' . 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>' .
41 41
               '    </form>' .
42 42
               '  </div>' .
43 43
               '</div>';

0 notes on commit 74214ab

Please sign in to comment.
Something went wrong with that request. Please try again.