summaryrefslogtreecommitdiff
blob: 8eed9390719ffb1f97536df64df756c9cbe715f3 (plain)
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', 'dev-manager' => 'Select /dev manager', 'pruneinit' => 'Remove enabled-by-default init scripts'));
$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=$S['pdo']->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);
?>