HomeHelpTrac

Changeset 15650 for trunk/install


Ignore:
Timestamp:
10/26/11 04:32:20 (7 months ago)
Author:
Anton Lesnikov
Message:

Design(template) and related changes.

Location:
trunk/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/langs/lang-en.php

    r15639 r15650  
    20232023    '_adm_stg_cpt_category_templ_sundance_system' => 'General', 
    20242024     
     2025    '_adm_dsg_err_last_active' => 'You need to have at least one active template.', 
     2026    '_adm_dsg_err_deactivate_default' => 'You cannot deactivate template which was selected as Default', 
     2027 
    20252028    /*--- Designer keys ---*/ 
    20262029    '_adm_page_cpt_designer' => 'Designer', 
  • trunk/install/sql/v70.sql

    r15639 r15650  
    12491249INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `extra`, `check`, `check_error`, `order`) VALUES 
    12501250(@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;', 'global $dir; return (strlen($arg0) > 0 && file_exists($dir["root"]."templates/tmpl_".$arg0) ) ? true : false;', 'cannot be empty and template must be valid.', 2), 
     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), 
    12521252(@iCategoryId, 'enable_template', 'Show Template Switcher', 'on', 'checkbox', '', '', '', 3), 
    12531253(@iCategoryId, 'sys_template_cache_enable', 'Enable cache for HTML files', '', 'checkbox', '', '', '', 4), 
Note: See TracChangeset for help on using the changeset viewer.