Changeset 15664 for trunk/install
- Timestamp:
- 11/08/11 02:19:15 (7 months ago)
- Location:
- trunk/install
- Files:
-
- 1 deleted
- 2 edited
-
index.php (modified) (1 diff)
-
langs (deleted)
-
sql/v70.sql (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/index.php
r15657 r15664 114 114 define('BX_SYSTEM_COMPOSITE', '%dir_composite%'); 115 115 define('BX_SYSTEM_PHPBIN', '%dir_php%'); 116 117 define('BX_DOL_DIR_RIGHTS', 0777); 118 define('BX_DOL_FILE_RIGHTS', 0666); 116 119 117 120 //--- Module types ---// -
trunk/install/sql/v70.sql
r15663 r15664 1240 1240 1241 1241 INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_error`, `order`) VALUES 1242 (@iCategoryId, 'lang_default', 'Default Language', ' en', 'select', 'PHP:bx_import(''BxDolLanguagesQuery''); $aValues = BxDolLanguagesQuery::getInstance()->getLanguages(); $aResult = array(); foreach($aValues as $sKey => $sValue) $aResult[] = array(\'key\' => $sKey, \'value\' => $sValue); return $aResult;', '', '', 1),1242 (@iCategoryId, 'lang_default', 'Default Language', '', 'select', 'PHP:$aValues = getLanguages(false, true); $aResult = array(); foreach($aValues as $sKey => $sValue) $aResult[] = array(\'key\' => $sKey, \'value\' => $sValue); return $aResult;', '', '', 1), 1243 1243 (@iCategoryId, 'lang_selector', 'Show Language Selector', 'on', 'checkbox', '', '', '', 2); 1244 1244 … … 1249 1249 INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_error`, `order`) VALUES 1250 1250 (@iCategoryId, 'site_title', 'Site Name', 'Unite Community', 'digit', '', '', '', 1), 1251 (@iCategoryId, 'template', 'Default Template', ' uni', 'select', 'PHP:$aValues = get_templates_array(); $aResult = array(); foreach($aValues as $sKey => $sValue) $aResult[] = array(\'key\' => $sKey, \'value\' => $sValue); return $aResult;', 'return (strlen($arg0) > 0 && file_exists(BX_DIRECTORY_PATH_ROOT . "templates/tmpl_" . $arg0)) ? true : false;', 'Template cannot be empty and must have a valid name.', 2),1251 (@iCategoryId, 'template', 'Default Template', '', 'select', 'PHP:$aValues = get_templates_array(); $aResult = array(); foreach($aValues as $sKey => $sValue) $aResult[] = array(\'key\' => $sKey, \'value\' => $sValue); return $aResult;', 'return (strlen($arg0) > 0 && file_exists(BX_DIRECTORY_PATH_ROOT . "templates/tmpl_" . $arg0)) ? true : false;', 'Template cannot be empty and must have a valid name.', 2), 1252 1252 (@iCategoryId, 'enable_template', 'Show Template Switcher', 'on', 'checkbox', '', '', '', 3), 1253 1253 (@iCategoryId, 'sys_template_cache_enable', 'Enable cache for HTML files', '', 'checkbox', '', '', '', 4), … … 1368 1368 `Flag` varchar(2) NOT NULL default '', 1369 1369 `Title` varchar(255) NOT NULL default '', 1370 `Enabled` tinyint(1) unsigned NOT NULL default '0', 1370 1371 PRIMARY KEY (`ID`), 1371 1372 UNIQUE KEY `Name` (`Name`) … … 4782 4783 4783 4784 INSERT INTO `sys_std_pages`(`index`, `name`, `header`, `caption`, `icon`) VALUES 4784 (3, 'language_en', '', '', 'pi-lang-en.png');4785 SET @iIdLanguageEn = LAST_INSERT_ID();4786 4787 INSERT INTO `sys_std_pages`(`index`, `name`, `header`, `caption`, `icon`) VALUES4788 4785 (3, 'builder_pages', '_adm_page_cpt_builder_pages', '_adm_page_cpt_builder_pages', 'pi-builder-pages.png'); 4789 4786 SET @iIdBuilderPages = LAST_INSERT_ID(); … … 4848 4845 INSERT INTO `sys_std_pages_widgets`(`page_id`, `widget_id`, `order`) VALUES(@iIdLanguages, LAST_INSERT_ID(), 1); 4849 4846 4850 INSERT INTO `sys_std_widgets`(`page_id`, `url`, `click`, `icon`, `caption`, `cnt_notices`, `cnt_actions`, `status`) VALUES4851 (@iIdLanguageEn, '{url_studio}languages.php?name=en', '', 'wi-lang-english.png', '_adm_wgt_cpt_language_en', '', '', 1);4852 INSERT INTO `sys_std_pages_widgets`(`page_id`, `widget_id`, `order`) VALUES(@iIdLanguages, LAST_INSERT_ID(), 1);4853 4854 4847 -- 4855 4848 -- Builders Page
Note: See TracChangeset
for help on using the changeset viewer.