Code

Udpated JS focus,
[gosa.git] / plugins / gofon / conference / generic.tpl
index d732546124262e75785ae4eb500e19001040b053..3163499f3fc6ec1a3d253c29a6191d2f14b5f054 100644 (file)
@@ -1,7 +1,7 @@
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
 <tr>
  <td colspan=3>
-<h2 style='margin:0px; padding:0px;'><img alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
+<h2 style='margin:0px; padding:0px;'><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
  </td>
 </tr>
 <tr>
        <select id="base" size="1" name="base" title="{t}Choose subtree to place conference in{/t}" {$baseACL}> 
        {html_options options=$bases selected=$base}
        </select>
+        {if $baseACL == ""}
+            <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+        {else}
+            <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+        {/if}
+       </td>
+       </tr>
+       <tr>
+       <td><LABEL for="goFonHomeServer">{t}Home server{/t}</LABEL>{$must}</td>
+       <td>
+               <select name='goFonHomeServer'>
+                {html_options options=$goFonHomeServers selected=$goFonHomeServer}
+                </select>
        </td>
        </tr>
        </table>
        <LABEL for="description">
        {t}Description{/t}
        </LABEL>
-       {$must}
        </td>
        <td>
-       <input id="description" name="description" size=40 maxlength=60 {$descriptionACL} 
+       <input id="description" name="description" size=40 maxlength=80 {$descriptionACL} 
        value="{$description}" title="{t}Descriptive text for department{/t}">
        </td>
        </tr>
@@ -68,6 +80,7 @@
        <tr>
        <td>
        {t}Phone number{/t}
+       {$must}
        </td>
        <td>
        <input name="telephoneNumber" value="{$telephoneNumber}" size=15 {$telephoneNumberACL}>
@@ -84,7 +97,7 @@
 </tr>
 <tr>
  <td colspan=3>
-<h2 style='margin:0px; padding:0px;'><img alt="" align="middle" src="images/select_ogroup.png"> {t}Options{/t}</h2>
+<h2 style='margin:0px; padding:0px;'><img class="center" alt="" align="middle" src="images/select_ogroup.png"> {t}Options{/t}</h2>
  </td>
 </tr>
 <tr>
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.ou.focus();
+       focus_field('cn');
   -->
 </script>