sort distribution-names in admin_configfiles, it's confusing otherwise; display the default/recommended daemon of every service; fix small c'n'p error (courier is not our recommended default)
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -66,6 +66,12 @@ class ConfigDaemon {
|
||||
* @var string
|
||||
*/
|
||||
public $title;
|
||||
|
||||
/**
|
||||
* Whether this is the default daemon of the service-category
|
||||
* @var boolean
|
||||
*/
|
||||
public $default;
|
||||
|
||||
public function __construct($xml, $xpath) {
|
||||
$this->fullxml = $xml;
|
||||
@@ -75,6 +81,9 @@ class ConfigDaemon {
|
||||
if ($attributes['title'] != '') {
|
||||
$this->title = $this->_parseContent((string)$attributes['title']);
|
||||
}
|
||||
if (isset($attributes['default'])) {
|
||||
$this->default = ($attributes['default'] == true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user