Code

Use preselected priority, so that preset priorities
authorpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Jun 2009 16:02:09 +0000 (16:02 +0000)
committerpsc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Jun 2009 16:02:09 +0000 (16:02 +0000)
do not get reset (Trac #2643)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13763 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-plugins/goto/personal/environment/class_logonManagementDialog.inc
trunk/gosa-plugins/goto/personal/environment/logonManagement.tpl

index 5110ab25af7f24503af4d684545a185be23008f5..cd9522785171c47d8dc3cccff364eed9ee94028a 100644 (file)
@@ -55,6 +55,7 @@ class logonManagementDialog extends plugin
         $smarty->assign($attr."CHK","");
       }
     }
+    $smarty->assign("LogonPriority",$this->LogonPriority);
     $prios=array(1,2,3,4,5,6,7,8,9,10);
     $smarty->assign("LogonPrioritys",$prios);
     $smarty->assign("LogonPriorityKeys",$prios);
index 647516ca689ad2647bf22b84654e9d2aa2a2db26..937f71f9db578716fe879194d14cc71437a764ec 100644 (file)
@@ -24,7 +24,7 @@
                                                        <td><LABEL for="LogonPriority">{t}Priority{/t}</LABEL>
                                                        </td><td>
                                                <select name="LogonPriority" id="LogonPriority">
-                                                       {html_options values=$LogonPriorityKeys output=$LogonPrioritys}
+                                                       {html_options values=$LogonPriorityKeys output=$LogonPrioritys selected=$LogonPriority}
                                                </select>
                                                        </td>
                                                </tr>