HomeHelpTrac

Changeset 15639 for trunk/modules


Ignore:
Timestamp:
10/21/11 03:50:28 (7 months ago)
Author:
Anton Lesnikov
Message:
  1. Minor changes in settings
  2. Design page with base functionality.
  3. Related changes in template.
Location:
trunk/modules/boonex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/boonex/articles/install/sql/enable.sql

    r15534 r15639  
    4040 
    4141 
    42 SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types`) + 1; 
    43 INSERT INTO `sys_options_types`(`name`, `caption`, `icon`, `order`) VALUES  
    44 ('bx_articles', '_articles_adm_stg_cpt_type', 'modules/boonex/articles/|mi-std.png', @iTypeOrder); 
     42SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group`='modules'); 
     43INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES  
     44('modules', 'bx_articles', '_articles_adm_stg_cpt_type', 'modules/boonex/articles/|mi-std.png', IF(NOT ISNULL(@iTypeOrder), @iTypeOrder + 1, 1)); 
    4545SET @iTypeId = LAST_INSERT_ID(); 
    4646 
  • trunk/modules/boonex/profiler/install/sql/enable.sql

    r15483 r15639  
    22-- settings 
    33 
    4 SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types`) + 1; 
    5 INSERT INTO `sys_options_types` (`name`, `caption`, `icon`, `order`) VALUES  
    6 ('bx_profiler', 'Profiler', 'modules/boonex/profiler/|icon.png', @iTypeOrder); 
     4SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group`='modules'); 
     5INSERT INTO `sys_options_types` (`group`, `name`, `caption`, `icon`, `order`) VALUES  
     6('modules', 'bx_profiler', 'Profiler', 'modules/boonex/profiler/|icon.png', IF(NOT ISNULL(@iTypeOrder), @iTypeOrder + 1, 1)); 
    77SET @iTypeId = LAST_INSERT_ID(); 
    88 
Note: See TracChangeset for help on using the changeset viewer.