1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
global $S;
$profile=new sql_gentoo_profile($this->get_opt('profile'));
$this->checkbox_array('options', 'options', 'Configuration options', array('timezone' => 'Select timezone', 'hostname' => 'Choose hostname', 'dev-manager' => 'Select /dev manager', 'pruneinit' => 'Remove enabled-by-default init scripts', 'portage' => 'Install portage snapshot and configure portage'));
$this->select('basesystem', 'basesystem', 'Base system', array('stage3' => 'Stage3 Tarball', /*'autoprune' => 'Remove all non-vital packages',*/ 'manual' => 'Manually select packages to remove from stage3'));
$pkgsets=array();
$r=query('SELECT * FROM `gentoo_pkgsets` WHERE `profile`='.$profile->id);
while ($pkgset=$r->fetch(PDO::FETCH_ASSOC)) {
$pkgset=new sql_gentoo_pkgset($pkgset);
$pkgsets[$pkgset->id]=$pkgset->name;
}
if ($pkgsets)
$this->checkbox_array('pkgsets', 'pkgsets', 'Select packages from the following groups', $pkgsets);
?>
|