Changeset 9542


Ignore:
Timestamp:
03/05/11 11:23:58 (9 years ago)
Author:
flop25
Message:

new system when posting checkbox
testing the auto version

Location:
extensions/adult_content
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/adult_content/admin/admin.php

    r9530 r9542  
    1414if (isset($_POST['option_ad_c'])) 
    1515{ 
    16         $newconf_plugin = array( 
    17                 $_POST['menublock_for_guest'], 
    18                 $_POST['block_on_index'], 
    19         ); 
    20         $newconf_plugin = implode ("," , $newconf_plugin); 
     16        $newconf_plugin = (isset($_POST['menublock_for_guest'])) ? 'true' : 'false'; 
     17        $newconf_plugin .= (isset($_POST['block_on_index'])) ? ',true' : ',false'; 
     18        //$newconf_plugin = implode ("," , $newconf_plugin); 
    2119        $query = ' 
    2220                UPDATE '.CONFIG_TABLE.' 
  • extensions/adult_content/main.inc.php

    r9530 r9542  
    22/* 
    33Plugin Name: adult_content 
    4 Version: 2.1.3 
     4Version: auto 
    55Description: manage adult content 
    66Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=141 
Note: See TracChangeset for help on using the changeset viewer.