1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
$profile=new sql_gentoo_profile($this->get_opt('profile'));
$pkgs=$profile->get_packages(true);
$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' => 'return "%p: $desc".($masked?" <span style=\"color: red\">[MASKED]</span>":"")', 'checkbox' => '%p', 'collapsed' => true, 'search' => true),
array('tag' => 'div', 'label' => 'return "=%p".($masked?" <span style=\"color: red\">[MASKED]</span>":"")', 'checkbox' => '=%p', 'search' => true)
);
$this->layered_checkbox_array('install_packages', 'p', null, $pkgs, ' ', $meta);
?>
|