summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 23fe15b)
raw | patch | inline | side by side (parent: 23fe15b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jun 2006 03:57:52 +0000 (03:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jun 2006 03:57:52 +0000 (03:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3682 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/plugins/admin/systems/ServiceAddDialog.tpl b/plugins/admin/systems/ServiceAddDialog.tpl
index 6fc2ac68e8f821d34216ac0f6aff16f24d48dfbc..bdd0999ed050d3d405c2d8bf681d9116c5fb3819 100755 (executable)
<br>
<br>{t}Service to add{/t}
<select name="ServiceName" >
+ <option value="" > </option>
{html_options options=$Services }
</select>
{else}
diff --git a/plugins/admin/systems/class_ServiceAddDialog.inc b/plugins/admin/systems/class_ServiceAddDialog.inc
index a5a284e68dc4405c5841d2818a36a7dec75cad2d..86ab833aca2c9e22bf54c1a3b18e8cb64dcb7292 100644 (file)
function execute()
{
$smarty = get_smarty();
- $smarty->assign("Services",$this->parent->getAllUnusedServices());
+ $services = $this->parent->getAllUnusedServices();
+ natcasesort($services);
+ $smarty->assign("Services",$services);
return($smarty->fetch(get_template_path("ServiceAddDialog.tpl", TRUE,dirname(__FILE__))));
}
diff --git a/plugins/admin/systems/class_goMailServer.inc b/plugins/admin/systems/class_goMailServer.inc
index cae85ae9d2607dc5d2a740c413198d885c583ef4..02b7bd67c6e9ff3a1469813b7d6d5b337f696cc9 100644 (file)
{
$flag = $this->StatusFlag;
$fields['Status'] = $this->$flag;
- $fields['Message'] = _("Postfix"). " - ".$this->postfixMyhostname;
+ $fields['Message'] = _("Postfix")." ["._("configured for")." ".$this->postfixMyhostname."] ";
$fields['AllowStart'] = true;
$fields['AllowStop'] = true;
$fields['AllowRestart'] = true;
diff --git a/plugins/admin/systems/class_serverService.inc b/plugins/admin/systems/class_serverService.inc
index 26c57163f8fe5d41848f6bd4a3a2949413902bf9..fab65db6903dddd93331b83bab288ca9c389629c 100644 (file)
/* Abort dialog */
- if(isset($_POST['SaveServiceAdd'])){
+ if((isset($_POST['SaveServiceAdd'])) && (!empty($_POST['ServiceName']))){
$serv = $_POST['ServiceName'];
$this->plugins[$serv]->is_account = true;
$this->dialog = $this->plugins[$serv];