Code

Updated rSyslog service
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Mar 2010 10:54:55 +0000 (10:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 22 Mar 2010 10:54:55 +0000 (10:54 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16989 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/rsyslog/admin/systems/services/rsyslog/rSyslogServer.tpl

index da3f273a93e559202a0415121021a6c79ee15ba4..8e9eea8a921d295b1d893a41a458984ec0cffe56 100644 (file)
@@ -1,46 +1,46 @@
+
 <h3>{t}Syslog logging{/t}</h3>
 
-<br>
 <input type="checkbox" name="use_database" value="1" {if $use_database} checked {/if}
-  onChange="changeState('gosaLogDB'); changeState('goLogAdmin');changeState('goLogPassword');"
-  class="center">
+  onChange="changeState('gosaLogDB'); changeState('goLogAdmin');changeState('goLogPassword');"  class="center">
+
 <b>{t}Server provides a syslog mysql database{/t}</b>
-<table summary="">
-    <tr>
-     <td>{t}Database{/t}{$must}</td>
-     <td>
-{render acl=$gosaLogDBACL}
-       <input name="gosaLogDB" id="gosaLogDB" size=30 maxlength=60 value="{$gosaLogDB}"
-    {if !$use_database} disabled {/if}>
-{/render}
-     </td>
-    </tr>
-    <tr>
-     <td>{t}Database user{/t}{$must}</td>
-     <td>
-{render acl=$goLogAdminACL}
-       <input name="goLogAdmin" id="goLogAdmin" size=30 maxlength=60 value="{$goLogAdmin}"
-    {if !$use_database} disabled {/if}>
-{/render}
-     </td>
-    </tr>
-    <tr>
-     <td>{t}Password{/t}{$must}</td>
-     <td>
-{render acl=$goLogPasswordACL}
-       <input type="password" name="goLogPassword" id="goLogPassword" size=30 maxlength=60 value="{$goLogPassword}"
-    {if !$use_database} disabled {/if}>
-{/render}
-     </td>
-    </tr>
-   </table>
 
-<hr>
-<div style="width:100%; text-align:right;padding-top:10px;padding-bottom:3px;">
-    <button type='submit' name='SaveService'>{msgPool type=saveButton}</button>
+<table summary="{t}rSyslog database settings{/t}">
+ <tr>
+  <td>{t}Database{/t}{$must}</td>
+  <td>
+   {render acl=$gosaLogDBACL}
+    <input name="gosaLogDB" id="gosaLogDB" type='text'
+      value="{$gosaLogDB}" {if !$use_database} disabled {/if}>
+   {/render}
+  </td>
+ </tr>
+ <tr>
+  <td>{t}Database user{/t}{$must}</td>
+  <td>
+   {render acl=$goLogAdminACL}
+    <input name="goLogAdmin" id="goLogAdmin" type='text'
+      value="{$goLogAdmin}" {if !$use_database} disabled {/if}>
+   {/render}
+  </td>
+ </tr>
+ <tr>
+  <td>{t}Password{/t}{$must}</td>
+  <td>
+   {render acl=$goLogPasswordACL}
+    <input type="password" name="goLogPassword" id="goLogPassword" size=30 maxlength=60 
+      value="{$goLogPassword}"    {if !$use_database} disabled {/if}>
+   {/render}
+  </td>
+ </tr>
+</table>
 
-    &nbsp;
-    <button type='submit' name='CancelService'>{msgPool type=cancelButton}</button>
+<hr>
 
+<div class="plugin-actions">
+ <button type='submit' name='SaveService'>{msgPool type=saveButton}</button>
+ <button type='submit' name='CancelService'>{msgPool type=cancelButton}</button>
 </div>
+
 <input type="hidden" name="rSyslogServerPosted" value="1">