Diff for Metafox/admin/inc-db/config.inc.php between version 1.10 and 1.11
| version 1.10, 2007/03/06 22:28:58 |
version 1.11, 2007/05/05 15:38:28 |
| Line 584 function ezin_admin_config_save() /* {{{ |
|
| Line 584 function ezin_admin_config_save() /* {{{ |
|
| global $ezin_db_handle; |
global $ezin_db_handle; |
| global $ezin_admin_config_items; |
global $ezin_admin_config_items; |
| global $ezin_admin_config_triggers; |
global $ezin_admin_config_triggers; |
| global $HTTP_POST_VARS; |
|
| |
|
| $ret = 1; |
$ret = 1; |
| $query = sprintf('SELECT a_key FROM %s', |
$query = sprintf('SELECT a_key FROM %s', |
| Line 602 function ezin_admin_config_save() /* {{{ |
|
| Line 601 function ezin_admin_config_save() /* {{{ |
|
| } |
} |
| while (($row = mysql_fetch_array($result, MYSQL_ASSOC)) != false) { |
while (($row = mysql_fetch_array($result, MYSQL_ASSOC)) != false) { |
| $key = $row['a_key']; |
$key = $row['a_key']; |
| $value = $HTTP_POST_VARS["data_$key"]; |
$value = $_POST["data_$key"]; |
| $type_f = $HTTP_POST_VARS["eval_$key"] ? true : false; |
$type_f = $_POST["eval_$key"] ? true : false; |
| $type = $HTTP_POST_VARS["eval_$key"] ? '"1"' : 'NULL'; |
$type = $_POST["eval_$key"] ? '"1"' : 'NULL'; |
| |
|
| if ($ezin_admin_config_items[$key]['disabled_eval'] |
if ($ezin_admin_config_items[$key]['disabled_eval'] |
| && isset($HTTP_POST_VARS["eval_$key"])) { |
&& isset($_POST["eval_$key"])) { |
| $ret = -1; |
$ret = -1; |
| continue; |
continue; |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|