fileSystemRoot/lib/System.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); require_once("$default->fileSystemRoot/presentation/Html.inc"); require_once("systemSettingsUI.inc"); require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); $oPatternCustom = & new PatternCustom(); if(isset($fForStore)) { $oSystem = $default->system; for($i = 0; $i < count($oSystem->aSettings); $i++) { $oSystem->set($oSystem->aSettings[$i], $_POST[$oSystem->aSettings[$i]]); } controllerRedirect("systemAdministration"); } else { $oPatternCustom->setHtml(getPage()); $main->setFormAction($_SERVER["PHP_SELF"]. "?fForStore=1"); } $main->setCentralPayload($oPatternCustom); $main->render(); } ?>