$value)
{
$path = $pathtoroot.$value."admin/include/parser.php";
if(file_exists($path))
{
//echo "";
@include_once($path);
}
}
//Set Section
$section = $_GET["section"];
$module = $_GET["module"];
//echo $module." - ".$section."
\n";
//Set Environment Variable
$envar = "env=" . BuildEnv()."§ion=$section&module=$module";
$objCatToolBar = new clsToolBar();
$objCatToolBar->Add("img_save", "la_Save","#","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","if(SubmitFunc) { config_submit('edit_config'); } else document.edit_config.submit();","tool_select.gif");
$objCatToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","history.back();","tool_cancel.gif");
$sec = $objSections->GetSection($section);
$ParentSection = $sec->Get("parent");
$ParentSec = $objSections->GetSection($ParentSection);
$ParentUrl = $ParentSec->URL();
if($ParentSec->Get("parent"))
{
//$SubmitUrl = $ParentUrl."§ion=$section&module=$module";
$SubmitUrl = $ParentUrl;
//echo "Submitting Parent ($ParentUrl) to: $SubmitUrl
\n";
}
else
$SubmitUrl = $_SERVER['PHP_SELF']."?".$envar;
$title = '';
int_header($objCatToolBar,NULL,$title);
?>