require_once ("customize.inc.php"); $customize = true; ?> $list = new Liste (array ('name' => "customize", 'parent' => $tpl_content)); ?> $version = $list[0]['path'] ? $list[0]['path'] : $version; $paths = explode("/", $name); $class = !empty ($_GET['class']) ? $_GET['class'] : ($version>="5" ? ($list[0]['stable'] ? "stable" : "testing") : ""); $archs = isset($_GET['arch']) ? $_GET['arch'] : null; $customize = new Customize ($version, $class ? $class : $list[0]['stable'], $paths[2], $archs); if ($list->editMode) { $paths = ""; foreach ($customize->getVersions () as $dir) { $paths .= "$dir <$dir>\n"; } $list[0]->setPreferences ("path", "selections", $paths); } ?> =$list[0]->edit (array ("path", "stable"))?>