echo $_lang["modules_install_new"]; ?> </h2> <script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script> <?php include "includes/XPath.class.php"; $xPath = new Xpath(); $modspath = getcwd() . "/modules"; if ($dir = @opendir($modspath)) { while (($file = readdir($dir)) !== false) { $currPath = $modspath . "/" . $file; if (is_dir($currPath) && $file != "." && $file != "..") { $configFile = $currPath . "/config.xml"; // XPath stuff $xPath->XPath($fileName = $configFile); ?> <br /> <table width="600" border="0" cellspacing="1" cellpadding="3" bgcolor="#000000"> <thead> <tr> <td colspan="3"> <b><?php echo $xPath->getAttributes("/etomiteModule", $attrName = "name"); ?> </b> </td> </tr> </thead> <tr class="row1"> <td colspan="3"><?php