Changeset 13895 for extensions/stripped_black_bloc/admin
- Timestamp:
- Apr 4, 2012, 6:16:35 PM (13 years ago)
- Location:
- extensions/stripped_black_bloc/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/admin/admin.inc.php
r13894 r13895 39 39 load_conf_from_db(); 40 40 } 41 if(!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 } 41 45 42 46 $template->set_filenames(array( -
extensions/stripped_black_bloc/admin/maintain.inc.php
r12048 r13895 13 13 'every_x' => 20, 14 14 'starting_to' => 1, 15 'thumbnail' => 'piwigo' //generated - auto - piwigo15 'catthumb' => 'none' //none - same - all 16 16 ); 17 17 18 18 $query = " 19 19 INSERT 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)');";20 VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#catthumb(none - same - all)');"; 21 21 pwg_query($query); 22 22 } -
extensions/stripped_black_bloc/admin/upgrade.inc.php
r13894 r13895 17 17 $query = " 18 18 INSERT 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)');";19 VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#catthumb(none - same - all)');"; 20 20 pwg_query($query); 21 21 load_conf_from_db();
Note: See TracChangeset
for help on using the changeset viewer.