~rem( ls( "template/doc/lang", "/index\.\w\w\.tmpl$/i", "file", "S", 0,, "LM", "", "LD", throw(new TempleetError("no doc package available. Please install one or more language documentaion package."))); includelang("index"); if(lang=="",lang=includelang); linkcss[]="doc.css"; modules=array(); ls( "~getconf("templatedir")doc/xml/~string(includelang)", "/\.xml$/i", "file", "S", 0,, "LM", modules[~ls_fld("rfile")]=1); unset(modules["core"]); modules=array_merge(array("core" => 1),modules); )~include("/skins/skin.tmpl", ~include("docmenu.tmpl")

~d("modules")

~d("text")

~array_list(modules,0,, 'LF','', 'LL',"
", 'LM', loadXML(xmlcontent); if(resload, { xpath =new('DOMXPath',doc); elements = xpath->query("//doc/title"); foreach(elements,val, moduletitle=val->nodeValue); }, moduletitle="error reading xml file" ); ) ·~array_fld('key')~string(moduletitle) ]LM]>) ]MAIN]>, "")