Ignore:
Timestamp:
May 25, 2011, 9:36:23 PM (13 years ago)
Author:
Zaphod
Message:

version 1.3.9

File:
1 edited

Legend:

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

    r10688 r11059  
    1919        $config['replaceActionIcons']=isset($_POST['f_replaceActionIcons']);
    2020        $config['noLowercase']=!isset($_POST['f_forceLowercase']);
     21        $config['showThumbLegend']=isset($_POST['f_showThumbLegend']);
    2122        $config['showTitleOnBrowsePath']=isset($_POST['f_showTitleOnBrowsePath']);
    2223        $config['showDescriptionInsteadOfTitle']=isset($_POST['f_showDescriptionInsteadOfTitle']);
     
    3435
    3536       
    36         $query = '
    37 UPDATE '.CONFIG_TABLE.'
    38 SET value = "'.addslashes(serialize($config)).'"
    39 WHERE param = "stripped"
    40 ;';
    41   pwg_query($query);
     37        conf_update_param('stripped', pwg_db_real_escape_string(serialize($config)));
    4238
    4339  array_push($page['infos'], l10n('Information data registered in database'));
Note: See TracChangeset for help on using the changeset viewer.