$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); ?> Clear(); $objAdmin->LoadItems(TRUE); $headings = $objAdmin->GetHeadingList(); for($i=0;$i<=count($headings);$i++) { $h = $headings[$i]; if(strlen($h)) { int_subsection_title(prompt_language($h)); $Items = $objAdmin->GetHeadingItems($h); foreach($Items as $c) { print "\n"; print " \n"; print " "; if(is_object($c->NextItem)) { $n = $c->NextItem; print " "; } else print " \n"; print "\n"; } } } ?> >
".$c->GetPrompt(); if( IsDebugMode() ) { echo '
['.$c->DisplayOrder.'] '.$c->name.''; } print "
".$c->ItemFormElement()."".$n->ItemFormElement()."