Ejemplo n.º 1
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Random New Product Selection', 'BOX_WHATS_NEW_RANDOM_SELECT', '10', 'Select a random new product from this amount of the newest products available', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Cache Contents', 'BOX_WHATS_NEW_CACHE', '1', 'Number of minutes to keep the contents cached (0 = no cache)', '6', '0', now())");
 }
Ejemplo n.º 2
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('حداکثر موارد برای نمایش', 'MODULE_CONTENT_NEW_PRODUCTS_MAX_DISPLAY', '9', 'حداکثر تعداد محصولات جدید برای نمایش', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('کش محتویات', 'MODULE_CONTENT_NEW_PRODUCTS_CACHE', '60', 'تعداد دقایقی که محتویات در حافظه کش ذخیره شود (0 = ذخیره نشود)', '6', '0', now())");
 }
Ejemplo n.º 3
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('Manufacturers List Type', 'BOX_MANUFACTURERS_LIST_TYPE', 'Image List', 'The type of the manufacturers list(ComboBox, Image List).', '6', '0', 'osc_cfg_set_boolean_value(array(\\'ComboBox\\', \\'Image List\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Manufacturers List Size', 'BOX_MANUFACTURERS_LIST_SIZE', '1', 'The size of the manufacturers pull down menu listing.', '6', '0', now())");
 }
Ejemplo n.º 4
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('انتخاب تصادفی محصول ویژه', 'BOX_SPECIALS_RANDOM_SELECT', '10', 'انتخاب تصادفی محصول ویژه به این تعداد از بین جدیدترین محصولات ویژه', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('کش محتویات', 'BOX_SPECIALS_CACHE', '1', 'تعداد دقایقی که محتویات در حافظه کش ذخیره شود(0 = ذخیره نشود)', '6', '0', now())");
 }
Ejemplo n.º 5
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum Entries To Display', 'MODULE_CONTENT_NEW_PRODUCTS_MAX_DISPLAY', '9', 'Maximum number of new products to display', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Cache Contents', 'MODULE_CONTENT_NEW_PRODUCTS_CACHE', '60', 'Number of minutes to keep the contents cached (0 = no cache)', '6', '0', now())");
 }
Ejemplo n.º 6
0
 function install()
 {
     global $osC_Database, $osC_Language;
     parent::install();
     $image = osc_image('images/adsense_script.gif');
     $osC_Database->simpleQuery("INSERT INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('" . $osC_Language->get('box_google_adsense_code') . "', 'BOX_GOOGLE_ADSENSE_CODE', '', 'Please add the google javasript block', '6', '0', 'osc_cfg_set_textarea_field', now())");
     $osC_Database->simpleQuery("INSERT INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('" . $osC_Language->get('box_google_adsense_example_code') . "', 'BOX_GOOGLE_ADSENSE_EXAMPLE_CODE', '" . $image . "' , 'Please add the google javasript block as this example code', '6', '0', 'osc_cfg_set_panel', now())");
 }
Ejemplo n.º 7
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Minimum List Size', 'BOX_BEST_SELLERS_MIN_LIST', '3', 'Minimum amount of products that must be shown in the listing', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum List Size', 'BOX_BEST_SELLERS_MAX_LIST', '10', 'Maximum amount of products to show in the listing', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Cache Contents', 'BOX_BEST_SELLERS_CACHE', '60', 'Number of minutes to keep the contents cached (0 = no cache)', '6', '0', now())");
 }
Ejemplo n.º 8
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('حداقل اندازه فهرست', 'BOX_BEST_SELLERS_MIN_LIST', '3', 'کمترین تعداد محصولاتی که باید در این فهرست نمایش داده شود', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('حداکثر اندازه فهرست', 'BOX_BEST_SELLERS_MAX_LIST', '10', 'بیشترین تعداد محصولات نمایش داده شده در این فهرست', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('کش محتویات', 'BOX_BEST_SELLERS_CACHE', '60', 'تعداد دقایقی که محتویات در حافظه کش ذخیره شود(0 = ذخیره نشود)', '6', '0', now())");
 }
Ejemplo n.º 9
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Show Product Count', 'BOX_CATEGORIES_SHOW_PRODUCT_COUNT', '1', 'Show the amount of products each category has', '6', '0', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Display Drop Down Menu', 'BOX_CATEGORIES_DISPLAY_DROP_DOWN_MENU', '1', 'Use MenuMatic to display drop down menu', '6', '1', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Drop Down Menu Effect', 'BOX_CATEGORIES_DROP_DOWN_MENU_EFFECT', 'slide & fade', 'Drop Down Menu Effect', '6', '2', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(\\'fade\\', \\'slide\\', \\'slide & fade\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Drop Down Menu Duration', 'BOX_CATEGORIES_DROP_DOWN_MENU_DURATION', '600', 'Drop Down Menu Duration', '6', '3', now())");
 }
Ejemplo n.º 10
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('نمایش تعداد محصولات', 'BOX_CATEGORIES_SHOW_PRODUCT_COUNT', '1', 'نمایش تعداد محصولات در هر شاخه', '6', '0', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('نمایش منوی کشویی', 'BOX_CATEGORIES_DISPLAY_DROP_DOWN_MENU', '1', 'نمایش منوی کشویی', '6', '1', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('افکت منوی کشویی', 'BOX_CATEGORIES_DROP_DOWN_MENU_EFFECT', 'slide & fade', 'افکت منوی کشویی', '6', '2', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(\\'fade\\', \\'slide\\', \\'slide & fade\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('زمان افکت منو', 'BOX_CATEGORIES_DROP_DOWN_MENU_DURATION', '600', 'مدت زمان افکت منوی کشویی', '6', '3', now())");
 }
Ejemplo n.º 11
0
 function install()
 {
     parent::install();
     $social_bookmarks = $this->_getSocialBookmarks();
     if (!empty($social_bookmarks)) {
         foreach ($social_bookmarks as $social_bookmark) {
             $social_bookmark->install();
         }
     }
 }
Ejemplo n.º 12
0
 function install()
 {
     global $osC_Database, $osC_Currencies;
     parent::install();
     if (!isset($osC_Currencies) && !is_object($osC_Currencies)) {
         $osC_Currencies = new osC_Currencies();
     }
     foreach ($osC_Currencies->currencies as $key => $value) {
         $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('" . $value['title'] . "', '" . "BOX_SHOP_BY_PRICE_" . $key . "', '','" . $value['title'] . " price interval (Price seperated by \";\")', '6', '0', now())");
     }
 }
Ejemplo n.º 13
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('حالت اسلاید [عمودی ، افقی]', 'MODULE_CONTENT_SLIDE_SHOW_MODE', 'horizontal', 'حالت اسلاید', '6', '0', 'osc_cfg_set_boolean_value(array(\\'horizontal\\', \\'vertical\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('نمایش اطلاعات اسلاید', 'MODULE_CONTENT_SLIDE_SHOW_DISPLAY_INFO', 'True', 'نمایش اطلاعات اسلاید', '6', '0', 'osc_cfg_set_boolean_value(array(\\'True\\', \\'False\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('عرض تصویر (px)', 'MODULE_CONTENT_SLIDE_SHOW_WIDTH', '500', 'عرض تصویر', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('ارتفاع تصویر (px)', 'MODULE_CONTENT_SLIDE_SHOW_HEIGHT', '210', 'ارتفاع تصویر', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('فاصله (ms)', 'MODULE_CONTENT_SLIDE_SHOW_INTERVAL', '3000', 'مدت نمایش هر اسلاید', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('مدت تغییر (ms)', 'MODULE_CONTENT_SLIDE_SHOW_DURATION', '1000', 'مدت زمان تغییر به اسلاید بعدی', '6', '0', now())");
 }
Ejemplo n.º 14
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('Slide show mode [vertical, horizontal]', 'MODULE_CONTENT_SLIDE_SHOW_MODE', 'horizontal', 'Slideshow Mode', '6', '0', 'osc_cfg_set_boolean_value(array(\\'horizontal\\', \\'vertical\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('Display Slide info', 'MODULE_CONTENT_SLIDE_SHOW_DISPLAY_INFO', 'True', 'Display Slide Info', '6', '0', 'osc_cfg_set_boolean_value(array(\\'True\\', \\'False\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Image width (px)', 'MODULE_CONTENT_SLIDE_SHOW_WIDTH', '500', 'Image width', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Image height (px)', 'MODULE_CONTENT_SLIDE_SHOW_HEIGHT', '210', 'Image height', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Interval (ms)', 'MODULE_CONTENT_SLIDE_SHOW_INTERVAL', '3000', 'slide show interval', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Duration (ms)', 'MODULE_CONTENT_SLIDE_SHOW_DURATION', '1000', 'slide show duration', '6', '0', now())");
 }
 function install()
 {
     global $osC_Database, $osC_Currencies;
     parent::install();
     if (!isset($osC_Currencies) && !is_object($osC_Currencies)) {
         $osC_Currencies = new osC_Currencies();
     }
     foreach ($osC_Currencies->currencies as $key => $value) {
         $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('" . $value['title'] . "', '" . "BOX_SHOP_BY_PRICE_" . $key . "', '','" . $value['title'] . " price interval (Price seperated by \";\")', '6', '0', now())");
     }
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('search to be recursive? ', 'BOX_SHOP_BY_PRICE_RECURSIVE', '1', 'Do you want the search to be recursive?If it is true, the products in the sub categories will be displayed.', '6', '0', 'osc_cfg_set_boolean_value(array(1, -1))', now())");
 }
Ejemplo n.º 16
0
 function install()
 {
     global $osC_Database, $osC_Currencies;
     parent::install();
     if (!isset($osC_Currencies) && !is_object($osC_Currencies)) {
         $osC_Currencies = new osC_Currencies();
     }
     foreach ($osC_Currencies->currencies as $key => $value) {
         $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('" . $value['title'] . "', '" . "BOX_SHOP_BY_PRICE_" . $key . "', '','" . $value['title'] . " price interval (Price seperated by \";\")', '6', '0', now())");
     }
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('نمایش محصولات زیرشاخه ها؟', 'BOX_SHOP_BY_PRICE_RECURSIVE', '1', 'اگر فعال شود ، محصولات زیر شاخه ها نیز نمایش داده میشود.', '6', '0', 'osc_cfg_set_boolean_value(array(1, -1))', now())");
 }
Ejemplo n.º 17
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('عرض منوی تصویر', 'MODULE_CONTENT_IMAGE_MENU_WIDTH', '530', 'عرض منوی تصویر (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('ارتفاع منوی تصویر', 'MODULE_CONTENT_IMAGE_MENU_HEIGHT', '200', 'ارتفاع منوی تصویر (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('عرض تصویر باز', 'MODULE_CONTENT_IMAGE_MENU_OPEN_WIDTH', '320', 'عرض تصویر باز (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('عرض تصویر بسته', 'MODULE_CONTENT_IMAGE_MENU_CLOSE_WIDTH', '45', 'عرض تصویر بسته (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('عرض بردار بین تصویرها', 'MODULE_CONTENT_IMAGE_MENU_BORDER_WIDTH', '2', 'عرض بردار بین تصویر ها (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('فاصله اسلاید', 'MODULE_CONTENT_IMAGE_MENU_INTERVAL', '6000', 'مدت نمایش هر اسلاید(ms)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('مدت زمان گذر', 'MODULE_CONTENT_IMAGE_MENU_DURATION', '500', 'مدت زمان تغییر به اسلاید بعدی (ms)', '6', '0', now())");
 }
Ejemplo n.º 18
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Image menu width', 'MODULE_CONTENT_IMAGE_MENU_WIDTH', '530', 'The width of the Image Menu (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Image menu height', 'MODULE_CONTENT_IMAGE_MENU_HEIGHT', '200', 'The height of the Image Menu (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Opened image width', 'MODULE_CONTENT_IMAGE_MENU_OPEN_WIDTH', '320', 'The width of opened Image (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Closed image width', 'MODULE_CONTENT_IMAGE_MENU_CLOSE_WIDTH', '45', 'The width of closed Image (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Border width between images', 'MODULE_CONTENT_IMAGE_MENU_BORDER_WIDTH', '2', 'The width of border between images (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Slide interval', 'MODULE_CONTENT_IMAGE_MENU_INTERVAL', '6000', 'Slide interval (ms)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Transition duration', 'MODULE_CONTENT_IMAGE_MENU_DURATION', '500', 'Transition duration (ms)', '6', '0', now())");
 }
Ejemplo n.º 19
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('حداکثر اندازه فهرست', 'BOX_FAQ_MAX_LIST', '10', 'مقدار حداکثر  سوالات رایج برای نمایش در این فهرست', '6', '0', now())");
 }
Ejemplo n.º 20
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('نوع فهرست سازندگان', 'BOX_MANUFACTURERS_LIST_TYPE', 'Image List', 'نوع فهرست سازندگان (ComboBox, Image List)', '6', '0', 'osc_cfg_set_boolean_value(array(\\'ComboBox\\', \\'Image List\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('اندازه فهرست سازندگان', 'BOX_MANUFACTURERS_LIST_SIZE', '1', 'تعداد سازندگان برای نمایش در منوی فهرست', '6', '0', now())");
 }
Ejemplo n.º 21
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('نوع محصولات', 'MODULE_CONTENT_PRODUCTS_SLIDER_PRODUCTS_TYPE', 'New Products', 'نوعی محصولاتی که در اسلاید نمایش داده می شوند', '6', '0', 'osc_cfg_set_boolean_value(array(\\'New Products\\', \\'Special Products\\', \\'Best Sellers\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('حداکثر تعداد برای نمایش', 'MODULE_CONTENT_PRODUCTS_SLIDER_MAX_DISPLAY', '20', 'حداکثر تعداد محصولات برای نمایش', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('عرض اسلایدر', 'MODULE_CONTENT_PRODUCTS_SLIDER_WIDTH', '530', 'عرض اسلایدر', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('ارتفاع اسلایدر', 'MODULE_CONTENT_PRODUCTS_SLIDER_HEIGHT', '150', 'ارتفاع اسلایدر', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('جهت نمایش', 'MODULE_CONTENT_PRODUCTS_SLIDER_DIRECTION', 'right', 'جهت نمایش', '6', '0', 'osc_cfg_set_boolean_value(array(\\'left\\', \\'right\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('مدت تغییر اسلاید', 'MODULE_CONTENT_PRODUCTS_SLIDER_DURATION', '500', 'مدت زمان تغییر به اسلاید بعدی', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('مدت نمایش اسلاید', 'MODULE_CONTENT_PRODUCTS_SLIDER_INTERVAL', '3000', 'مدت نمایش هر اسلاید', '6', '0', now())");
 }
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Cache Contents', 'BOX_POPULAR_SEARCH_TERM_CACHE', '60', 'Number of minutes to keep the contents cached (0 = no cache)', '6', '0', now())");
 }
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum List Size', 'BOX_ARTICLES_CATEGORIES_MAX_LIST', '10', 'Maximum amount of article categories to show in the listing', '6', '0', now())");
 }
Ejemplo n.º 24
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('حداکثر تعداد برای نمایش', 'MODULE_BOX_PRODUCTS_SCROLLER_MAX_DISPLAY', '10', 'حداکثر تعداد محصولات برای نمایش در فهرست', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('نوع محصولات', 'MODULE_BOX_PRODUCTS_SCROLLER_PRODUCTS_TYPE', 'Best Sellers', 'نوع محصولات برای نمایش در این اسلایدر', '6', '0', 'osc_cfg_set_boolean_value(array(\\'New Products\\', \\'Special Products\\', \\'Best Sellers\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('عرض فهرست', 'MODULE_BOX_PRODUCTS_SCROLLER_WIDTH', '200', 'عرض فهرست (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('ارتفاع فهرست', 'MODULE_BOX_PRODUCTS_SCROLLER_HEIGHT', '620', 'ارتفاع فهرست (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('جهت فهرست', 'MODULE_BOX_PRODUCTS_SCROLLER_DIRECTION', 'up', 'جهت حرکت فهرست', '6', '0', 'osc_cfg_set_boolean_value(array(\\'up\\', \\'down\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('مدت تغییر', 'MODULE_BOX_PRODUCTS_SCROLLER_DURATION', '500', 'مدت تغییر فهرست از یک محصول به محصول دیگر', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('مدت نمایش', 'MODULE_BOX_PRODUCTS_SCROLLER_INTERVAL', '3000', 'مدت نمایش هر محصول در فهرست', '6', '0', now())");
 }
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum entries to display', 'MODULE_BOX_PRODUCTS_SCROLLER_MAX_DISPLAY', '10', 'Maximum number of new products to display', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('Products type', 'MODULE_BOX_PRODUCTS_SCROLLER_PRODUCTS_TYPE', 'Best Sellers', 'The products type to be displayed in slider', '6', '0', 'osc_cfg_set_boolean_value(array(\\'New Products\\', \\'Special Products\\', \\'Best Sellers\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Scroll Width', 'MODULE_BOX_PRODUCTS_SCROLLER_WIDTH', '200', 'the width of the scroller (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Scroll Height', 'MODULE_BOX_PRODUCTS_SCROLLER_HEIGHT', '620', 'the height of the scroller (px)', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('Scroll Direction', 'MODULE_BOX_PRODUCTS_SCROLLER_DIRECTION', 'up', 'The direction of the scroller', '6', '0', 'osc_cfg_set_boolean_value(array(\\'up\\', \\'down\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Scroll Duration', 'MODULE_BOX_PRODUCTS_SCROLLER_DURATION', '500', 'The duration of the scroller', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Scroll Interval', 'MODULE_BOX_PRODUCTS_SCROLLER_INTERVAL', '3000', 'The interval of the scroller', '6', '0', now())");
 }
Ejemplo n.º 26
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Show Product Count', 'BOX_CATEGORIES_SHOW_PRODUCT_COUNT', '1', 'Show the amount of products each category has', '6', '0', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now())");
 }
Ejemplo n.º 27
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Disallow more than one vote from the same IP address', 'DISALLOW_MORE_THAN_ONE_VOTE_FROM_ONE_IP', '1', 'Disallow more than one vote from the same IP address', '19', '1', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now())");
 }
Ejemplo n.º 28
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('Products type', 'MODULE_CONTENT_PRODUCTS_SLIDER_PRODUCTS_TYPE', 'New Products', 'The products type to be displayed in slider', '6', '0', 'osc_cfg_set_boolean_value(array(\\'New Products\\', \\'Special Products\\', \\'Best Sellers\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum entries to display', 'MODULE_CONTENT_PRODUCTS_SLIDER_MAX_DISPLAY', '20', 'Maximum number of products to display', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Slider width', 'MODULE_CONTENT_PRODUCTS_SLIDER_WIDTH', '530', 'Slider width', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Slider height', 'MODULE_CONTENT_PRODUCTS_SLIDER_HEIGHT', '150', 'Slider height', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function ,date_added) values ('Slideshow direction', 'MODULE_CONTENT_PRODUCTS_SLIDER_DIRECTION', 'left', 'Slideshow Direction', '6', '0', 'osc_cfg_set_boolean_value(array(\\'left\\', \\'right\\'))', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Slideshow duration', 'MODULE_CONTENT_PRODUCTS_SLIDER_DURATION', '500', 'Slideshow duration', '6', '0', now())");
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Slideshow interval', 'MODULE_CONTENT_PRODUCTS_SLIDER_INTERVAL', '3000', 'Slideshow interval', '6', '0', now())");
 }
Ejemplo n.º 29
0
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Amount of Entries', 'BOX_GUEST_BOOK_LIST', '3', 'Amount of entries displayed in the guestbook box', '6', '0', now())");
 }
 function install()
 {
     global $osC_Database;
     parent::install();
     $osC_Database->simpleQuery("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum List Size', 'BOX_ORDER_HISTORY_MAX_LIST', '5', 'Maximum amount of products to show in the listing', '6', '0', now())");
 }