1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
$title='Choose Extra Packages';
$scripts='wlca';
$profile=new sql_gentoo_profile($this->get_opt('profile'));
$pkgs=$profile->get_packages();
$meta=array(
array('id' => 'plist', 'autosize'=> true),
array('delim' => '', 'tag' => 'div', 'label' => '%n', 'collapsed' => true),
array('delim' => '/', 'tag' => 'div', 'label' => '%p', 'collapsed' => true),
array('delim' => '-', 'tag' => 'div', 'label' => '%p: $desc', 'checkbox' => '%p', 'collapsed' => true, 'search' => true),
array('tag' => 'div', 'label' => '=%p', 'checkbox' => '=%p', 'search' => true)
);
$this->layered_checkbox_array('install_packages', 'p', null, $pkgs, ' ', $meta);
?>
|