Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / paste_generic.tpl
index 2f7ae106053a0fdf86980493543b8c3f3ec8dff1..b15920aeef07deaacf1ff73ace2cb17392c915c3 100644 (file)
@@ -11,7 +11,7 @@
 {if $object == "workstation"}
     <table summary="">
      <tr>
-      <td><LABEL for="cn">{t}Server name{/t}</LABEL>{$must}</td>
+      <td><LABEL for="cn">{t}workstation name{/t}</LABEL>{$must}</td>
       <td>
        <input name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
       </td>
 {if $object == "terminal"}
     <table summary="">
      <tr>
-      <td><LABEL for="cn">{t}Server name{/t}</LABEL>{$must}</td>
+      <td><LABEL for="cn">{t}Terminal name{/t}</LABEL>{$must}</td>
+      <td>
+       <input name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
+      </td>
+     </tr>
+       </table>
+{/if}
+{if $object == "printer"}
+    <table summary="">
+     <tr>
+      <td><LABEL for="cn">{t}Printer name{/t}</LABEL>{$must}</td>
+      <td>
+       <input name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
+      </td>
+     </tr>
+       </table>
+{/if}
+{if $object == "phone"}
+    <table summary="">
+     <tr>
+      <td><LABEL for="cn">{t}Phone name{/t}</LABEL>{$must}</td>
+      <td>
+       <input name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
+      </td>
+     </tr>
+       </table>
+{/if}
+{if $object == "component"}
+    <table summary="">
+     <tr>
+      <td><LABEL for="cn">{t}Component name{/t}</LABEL>{$must}</td>
       <td>
        <input name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
       </td>