Index: branches/RC/core/units/themes/themes_config.php =================================================================== diff -u -r11892 -r11902 --- branches/RC/core/units/themes/themes_config.php (.../themes_config.php) (revision 11892) +++ branches/RC/core/units/themes/themes_config.php (.../themes_config.php) (revision 11902) @@ -1,6 +1,6 @@ Array('theme' => '!la_title_NewTheme!'), ), - 'themes_list' => Array('prefixes' => Array('theme_List'), 'format' => "!la_tab_Themes!"), - 'themes_edit_general' => Array('prefixes' => Array('theme'), 'format' => "#theme_status# '#theme_titlefield#' - !la_title_General!"), - 'themes_edit_files' => Array('prefixes' => Array('theme', 'theme-file_List'), 'format' => "#theme_status# '#theme_titlefield#' - !la_title_ThemeFiles!"), + 'themes_list' => Array( + 'prefixes' => Array('theme_List'), 'format' => "!la_tab_Themes!", + 'toolbar_buttons' => Array ('new_theme', 'edit', 'delete', 'primary_theme', 'rescan_themes', 'view', 'dbl-click'), + ), + 'themes_edit_general' => Array( + 'prefixes' => Array('theme'), 'format' => "#theme_status# '#theme_titlefield#' - !la_title_General!", + 'toolbar_buttons' => Array('select', 'cancel', 'prev', 'next'), + ), + + 'themes_edit_files' => Array( + 'prefixes' => Array('theme', 'theme-file_List'), 'format' => "#theme_status# '#theme_titlefield#' - !la_title_ThemeFiles!", + 'toolbar_buttons' => Array('select', 'cancel', 'prev', 'next', 'view', 'dbl-click'), + ), + 'theme_file_edit' => Array ( 'prefixes' => Array ('theme', 'theme-file'), 'new_status_labels' => Array ('theme-file' => '!la_title_AddingThemeFile!'), 'edit_status_labels' => Array ('theme-file' => '!la_title_EditingThemeFile!'), 'new_titlefield' => Array ('theme-file' => '!la_title_NewThemeFile!'), 'format' => "#theme_status# '#theme_titlefield#' - #theme-file_status# '#theme-file_titlefield#'", + 'toolbar_buttons' => Array('select', 'cancel', 'reset_edit'), ), 'block_edit' => Array('prefixes' => Array('theme-file'), 'format' => "!la_title_EditingThemeFile! '#theme-file_titlefield#'"), @@ -95,6 +107,7 @@ 'ListSQLs' => Array ('' => ' SELECT %1$s.* %2$s FROM %s LEFT JOIN '.TABLE_PREFIX.'Stylesheets st ON st.StylesheetId = %1$s.StylesheetId'), + 'ItemSQLs' => Array ( '' => ' SELECT %1$s.* %2$s FROM %s LEFT JOIN '.TABLE_PREFIX.'Stylesheets st ON st.StylesheetId = %1$s.StylesheetId'), @@ -128,18 +141,17 @@ ), 'Grids' => Array( - 'Default' => Array( - 'Icons' => Array('default'=>'icon16_custom.gif', '1_1' => 'icon16_theme_primary.gif', '1_0' => 'icon16_theme.gif', '0_0' => 'icon16_theme_disabled.gif'), - 'Fields' => Array( - 'ThemeId' => Array ('title' => 'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'), - 'Name' => Array( 'title'=>'la_col_Name', 'filter_block' => 'grid_like_filter'), - 'Description' => Array( 'title'=>'la_col_Description', 'filter_block' => 'grid_like_filter'), - 'Enabled' => Array( 'title'=>'la_col_Status', 'filter_block' => 'grid_options_filter'), -// 'PrimaryTheme' => Array( 'title'=>'la_col_Primary', 'filter_block' => 'grid_options_filter'), - ), - - ), - ), + 'Default' => Array( + 'Icons' => Array('default'=>'icon16_custom.gif', '1_1' => 'icon16_theme_primary.gif', '1_0' => 'icon16_theme.gif', '0_0' => 'icon16_theme_disabled.gif'), + 'Fields' => Array( + 'ThemeId' => Array ('title' => 'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'), + 'Name' => Array( 'title'=>'la_col_Name', 'filter_block' => 'grid_like_filter'), + 'Description' => Array( 'title'=>'la_col_Description', 'filter_block' => 'grid_like_filter'), + 'Enabled' => Array( 'title'=>'la_col_Status', 'filter_block' => 'grid_options_filter'), +// 'PrimaryTheme' => Array( 'title'=>'la_col_Primary', 'filter_block' => 'grid_options_filter'), + ), + ), + ), ); ?> \ No newline at end of file