Changeset 1761 for trunk/admin

Show
Ignore:
Timestamp:
09/30/2008 04:00:27 PM (3 months ago)
Author:
driehle
Message:

Draft for #199 and #201

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/settings.php

    r1731 r1761  
    1212 $settings = new Settings($l); 
    1313 if($_POST) { 
    14   $settings->get_userdata(strip($_POST)); 
     14  $settings->importDataByArray(strip($_POST)); 
    1515  if(count($errors = $settings->validate()) == 0) { 
    1616   if(count($errors = $settings->do_settings()) == 0) { 
     
    2525 } 
    2626 else { 
    27   $settings->get_data(); 
     27  $settings->importDataByConstants(); 
    2828  $c['main'] .= $settings->form_output(); 
    2929 }