Code

Udpated JS focus,
[gosa.git] / plugins / gofon / conference / generic.tpl
index 9c152bd160bfc8827a2b167110a375ced1414eba..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>
@@ -21,7 +21,7 @@
        <tr>
        <td><LABEL for="goFonConferenceOption_D">{t}Type{/t}</LABEL>{$must}</td>
        <td>
-       <select id="goFonConferenceOption_D" size="1" name="goFonConferenceOption_D" title="{t}Choose subtree to place department in{/t}" {$goFonConferenceOption_DACL}> 
+       <select id="goFonConferenceOption_D" size="1" name="goFonConferenceOption_D" title="{t}Choose subtree to place conference in{/t}" {$goFonConferenceOption_DACL}> 
        {html_options options=$goFonConferenceOptions selected=$goFonConferenceOption_D}
        </select>
        </td>
        <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>
         &nbsp;
        </td>
        <td>
-               {t}PIN{/t} <input type='text' name="goFonPIN" {$goFonPINACL} id="goFonPIN" value="{$goFonPIN}">
+               {t}PIN{/t} <input type='password' name="goFonPIN" {$goFonPINACL} id="goFonPIN" value="{$goFonPIN}" title="{$goFonPIN}">
        </td>
        </tr>
     <tr>
        <td colspan=2>
                <input type="checkbox" onclick="changeState('goFonConferenceOptionFormat');" name="goFonConferenceOption_r" value="r" {$goFonConferenceOption_rCHK} {$goFonConferenceOption_rACL}> 
-       {t}Record Conference{/t}
+       {t}Record conference{/t}
        </td>
        </tr>
        <tr>
        &nbsp;
        </td>
        <td>
-       {t}Format{/t}&nbsp;
+       {t}Sound file format{/t}&nbsp;
        <select id="goFonConferenceOptionFormat" size="1" name="goFonConferenceOptionFormat" {$goFonConferenceOptionFormatACL} title="{t}Choose subtree to place department in{/t}"> 
        {html_options options=$goFonConferenceOptionFormats selected=$goFonConferenceOptionFormat}
        </select>
        <tr>
        <td>
                <input type="checkbox" name="goFonConferenceOption_s" value="s" {$goFonConferenceOption_sCHK} {$goFonConferenceOption_sACL}> 
-               {t}Activate menu{/t}
+               {t}Activate session menu{/t}
        </td>
        </tr>
        <tr>
        <td>
                <input type="checkbox" name="goFonConferenceOption_i" value="i" {$goFonConferenceOption_iCHK} {$goFonConferenceOption_iACL}> 
-               {t}Announce new or leaving user{/t}
+               {t}Announce users joining or leaving the conference{/t}
        </td>
        </tr>
        <tr>
        <td>
                <input type="checkbox" name="goFonConferenceOption_c" value="c" {$goFonConferenceOption_cCHK} {$goFonConferenceOption_cACL}> 
-               {t}Count user{/t}
+               {t}Count users{/t}
        </td>
        </tr>
        </table>
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.ou.focus();
+       focus_field('cn');
   -->
 </script>