Changeset 13895


Ignore:
Timestamp:
04/04/12 18:16:35 (8 years ago)
Author:
flop25
Message:

features added :
-display a message if Stripped is disabled

Location:
extensions/stripped_black_bloc
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_black_bloc/admin/admin.inc.php

    r13894 r13895  
    3939  load_conf_from_db(); 
    4040} 
     41if(!isset($conf['stripped'])) 
     42{ 
     43  array_push($page['errors'], l10n('The parent-theme Stripped need to be enabled in order to use its parameters')); 
     44} 
    4145 
    4246$template->set_filenames(array( 
  • extensions/stripped_black_bloc/admin/maintain.inc.php

    r12048 r13895  
    1313        'every_x'                                               => 20, 
    1414        'starting_to'                                           => 1, 
    15  'thumbnail'         => 'piwigo' //generated - auto - piwigo 
     15  'catthumb'         => 'none' //none - same - all 
    1616      ); 
    1717       
    1818    $query = " 
    1919INSERT INTO " . CONFIG_TABLE . " (param,value,comment) 
    20 VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#thumbnail(generated - auto - piwigo)');"; 
     20VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#catthumb(none - same - all)');"; 
    2121    pwg_query($query); 
    2222  } 
  • extensions/stripped_black_bloc/admin/upgrade.inc.php

    r13894 r13895  
    1717  $query = " 
    1818INSERT INTO " . CONFIG_TABLE . " (param,value,comment) 
    19 VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#thumbnail(generated - auto - piwigo)');"; 
     19VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#catthumb(none - same - all)');"; 
    2020  pwg_query($query); 
    2121  load_conf_from_db(); 
  • extensions/stripped_black_bloc/language/en_UK/theme.lang.php

    r13894 r13895  
    11<?php 
    2  
     2$lang['The parent-theme Stripped need to be enabled in order to use its parameters'] = 'The parent-theme Stripped need to be enabled in order to use its parameters'; 
    33$lang['Stripped & Columns Theme Configuration'] = 'Stripped & Columns, Configuration Page'; 
    44$lang['Page'] = 'Page'; 
  • extensions/stripped_black_bloc/language/fr_FR/theme.lang.php

    r13894 r13895  
    11<?php 
    22 
     3$lang['The parent-theme Stripped need to be enabled in order to use its parameters'] = 'Le thème-parent Stripped doit être activé pour pouvoir utiliser ses paramètres'; 
    34$lang['Stripped & Columns Theme Configuration'] = 'Stripped & Columns, Page de configuration'; 
    45$lang['Page'] = 'Page'; 
  • extensions/stripped_black_bloc/language/uk_UA/theme.lang.php

    r13894 r13895  
    11<?php 
    2  
     2$lang['The parent-theme Stripped need to be enabled in order to use its parameters'] = 'The parent-theme Stripped need to be enabled in order to use its parameters'; 
    33$lang['Stripped & Columns Theme Configuration'] = 'Stripped & Columns, Сторінка конфігурації'; 
    44$lang['Page'] = 'Сторінка'; 
Note: See TracChangeset for help on using the changeset viewer.