Ignore:
Timestamp:
Apr 4, 2012, 5:47:23 PM (13 years ago)
Author:
flop25
Message:

updated for 2.4 :
-deleted timthumb
-deleted config for auto-generation

features added :
-representative thumbs can be big : always, as the "Every x thumb" config or never

bug corrected :
-big thumbs didn't have rounded corners

Translations uk_UA needed for new keys

File:
1 edited

Legend:

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

    r12048 r13894  
    55global $conf;
    66
    7 if (!isset($conf['stripped_black_bloc']))
    8   include(PHPWG_THEMES_PATH.'stripped_black_bloc/admin/upgrade.inc.php');
     7include(PHPWG_THEMES_PATH.'stripped_black_bloc/admin/upgrade.inc.php');
    98
    109load_language('theme.lang', PHPWG_THEMES_PATH.'stripped_black_bloc/');
     
    3332        $config_send['every_x']=(isset($_POST['f_every_x'])) ? $_POST['f_every_x'] : 20;
    3433        $config_send['starting_to']=(isset($_POST['f_starting_to'])) ? $_POST['f_starting_to'] : 1;
    35         $config_send['thumbnail']=(isset($_POST['f_thumbnail'])) ? $_POST['f_thumbnail'] : 'piwigo';
     34        $config_send['catthumb']=(isset($_POST['f_catthumb'])) ? $_POST['f_catthumb'] : 'none';
    3635        conf_update_param('stripped_black_bloc', pwg_db_real_escape_string(serialize($config_send)));
    3736
Note: See TracChangeset for help on using the changeset viewer.