Revision 0bb335f4
Added by Scott Ullrich over 20 years ago
usr/local/www/pkg.php | ||
---|---|---|
54 | 54 |
eval($toeval); |
55 | 55 |
|
56 | 56 |
if ($_GET['act'] == "del") { |
57 |
// loop through our fieldnames and automatically setup the fieldnames |
|
58 |
// in the environment. ie: a fieldname of username with a value of |
|
59 |
// testuser would automatically eval $username = "testuser"; |
|
57 | 60 |
foreach ($evaledvar as $ip) { |
58 | 61 |
foreach ($pkg['adddeleteeditpagefields']['columnitem'] as $column) { |
59 | 62 |
$toeval = "\$" . xml_safe_fieldname($column['fielddescr']) . " = " . "\$ip['" . xml_safe_fieldname($column['fieldname']) . "'];"; |
Also available in: Unified diff
document the new xml variable setting routine