Code

Udpated JS focus,
[gosa.git] / plugins / gofon / conference / generic.tpl
index 9f8cc03b77103faa33da389a9c4d7c564c763765..3163499f3fc6ec1a3d253c29a6191d2f14b5f054 100644 (file)
@@ -1,66 +1,89 @@
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
 <tr>
-<td style="vertical-align:top;">
-<h2>
-<img alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}
-</h2>
-     
+ <td colspan=3>
+<h2 style='margin:0px; padding:0px;'><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
+ </td>
+</tr>
+<tr>
+<td style="vertical-align:top">
        <table summary="">
        <tr>
        <td>
        <LABEL for="cn">
-       {t}Name of Conference{/t}
+       {t}Conference name{/t}
        </LABEL>
        {$must}
        </td>
        <td>
-       <input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Name of subtree to create{/t}">
+       <input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Name of conference to create{/t}" {$cnACL}>
        </td>
        </tr>
        <tr>
+       <td><LABEL for="goFonConferenceOption_D">{t}Type{/t}</LABEL>{$must}</td>
        <td>
-       <LABEL for="description">
-       {t}Description{/t}
-       </LABEL>
-       {$must}
-       </td>
-       <td>
-       <input id="description" name="description" size=25 maxlength=60 {$descriptionACL} 
-       value="{$description}" title="{t}Descriptive text for department{/t}">
+       <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>
        </tr>
        <tr>
        <td colspan="2"><br></td>
        </tr>
        <tr>
-       <td><LABEL for="goFonConferenceOption_P">{t}Base{/t}</LABEL>{$must}</td>
+       <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
        <td>
-       <select id="goFonConferenceOption_P" size="1" name="goFonConferenceOption_P" title="{t}Choose subtree to place department in{/t}"
-       {html_options options=$goFonConferenceOptions selected=$goFonConferenceOption_P}
+       <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>
 
 </td>
-<td>
-<h2><img alt="" align="middle" src="images/house.png"> {t}Location{/t}</h2>
-
+<td style="border-left:1px solid #A0A0A0">
+     &nbsp;
+</td>
+<td width="50%">
        <table summary="">
        <tr>
        <td>
-       {t}Lifetime in days{/t}
+       <LABEL for="description">
+       {t}Description{/t}
+       </LABEL>
+       </td>
+       <td>
+       <input id="description" name="description" size=40 maxlength=80 {$descriptionACL} 
+       value="{$description}" title="{t}Descriptive text for department{/t}">
+       </td>
+       </tr>
+       <tr>
+       <td>
+       {t}Lifetime (in days){/t}
        </td>
        <td>
-       <input name="goFonConferenceOptionLifetime" value="{$goFonConferenceOptionLifetime}" {$goFonConferenceOptionLifetimeACL}>
+       <input name="goFonConferenceOptionLifetime" size=15 value="{$goFonConferenceOptionLifetime}" {$goFonConferenceOptionLifetimeACL}>
        </td>
        </tr>
        <tr>
        <td>
-       {t}Number{/t}
+       {t}Phone number{/t}
+       {$must}
        </td>
        <td>
-       <input name="goFonConferenceOptionNumber" value="{$goFonConferenceOptionNumber}" {$goFonConferenceOptionNumberACL}>
+       <input name="telephoneNumber" value="{$telephoneNumber}" size=15 {$telephoneNumberACL}>
        </td>
        </tr>
        </table>
 </td>
 </tr>
 <tr>
-<td colspan=2 style='width:100%;'>
+<td colspan=3 style='width:100%;'>
        <p class='seperator'>&nbsp;</p>
 </td>
 </tr>
+<tr>
+ <td colspan=3>
+<h2 style='margin:0px; padding:0px;'><img class="center" alt="" align="middle" src="images/select_ogroup.png"> {t}Options{/t}</h2>
+ </td>
+</tr>
 <tr>
 <td>
-<h2><img alt="" align="middle" src="images/house.png"> {t}Options{/t}</h2>
 
        <table summary="">
     <tr>
-       <td colspan=2>
-               <input type="checkbox" name="goFonConferenceOption_D" value="D" {$goFonConferenceOption_DCHK} {$goFonConferenceOption_DACL}> 
-               {t}PIN vorgeben{/t}
+       <td>
+               <input type="checkbox" onclick="changeState('goFonPIN');" name="goFonConferenceOption_P" 
+                                       value="P" {$goFonConferenceOption_PCHK} {$goFonConferenceOption_PACL}> 
+       </td><td>
+               {t}Preset PIN{/t}
        </td>
        </tr>
        <tr>
        <td>
-       &nbsp;  {t}PIN{/t}
+        &nbsp;
        </td>
        <td>
-               <input type='text' name="goFonPIN" {$goFonPINACL} value="{$goFonPIN}">
-       </td>
-       </tr>
-       <tr>
-       <td colspan=2>
-       <br><br>
+               {t}PIN{/t} <input type='password' name="goFonPIN" {$goFonPINACL} id="goFonPIN" value="{$goFonPIN}" title="{$goFonPIN}">
        </td>
        </tr>
     <tr>
        <td colspan=2>
-               <input type="checkbox" name="goFonConferenceOption_r" value="r" {$goFonConferenceOption_rCHK} {$goFonConferenceOption_rACL}> 
-       {t}Record Conference{/t}
+               <input type="checkbox" onclick="changeState('goFonConferenceOptionFormat');" name="goFonConferenceOption_r" value="r" {$goFonConferenceOption_rCHK} {$goFonConferenceOption_rACL}> 
+       {t}Record conference{/t}
        </td>
        </tr>
        <tr>
        <td>
-       &nbsp;  {t}Format{/t}
+       &nbsp;
        </td>
        <td>
-       <select id="goFonConferenceOptionFormat" size="1" name="goFonConferenceOptionFormat" title="{t}Choose subtree to place department in{/t}"> 
+       {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>
        </td>
        </table>
 
 </td>
+  <td style="border-left:1px solid #A0A0A0">
+     &nbsp;
+          </td>
 <td>
        <table summary="">
        <tr>
-       <td>
-               {t}Play music on hold{/t}
-       </td>
        <td>
                <input type="checkbox" name="goFonConferenceOption_M" value="M" {$goFonConferenceOption_MCHK} {$goFonConferenceOption_MACL}> 
+               {t}Play music on hold{/t}
        </td>
        </tr>
        <tr>
-       <td>
-               {t}Activate menu{/t}
-       </td>
        <td>
                <input type="checkbox" name="goFonConferenceOption_s" value="s" {$goFonConferenceOption_sCHK} {$goFonConferenceOption_sACL}> 
+               {t}Activate session menu{/t}
        </td>
        </tr>
        <tr>
-       <td>
-               {t}Announce new or leaving user{/t}
-       </td>
        <td>
                <input type="checkbox" name="goFonConferenceOption_i" value="i" {$goFonConferenceOption_iCHK} {$goFonConferenceOption_iACL}> 
+               {t}Announce users joining or leaving the conference{/t}
        </td>
        </tr>
        <tr>
-       <td>
-               {t}Count user{/t}
-       </td>
        <td>
                <input type="checkbox" name="goFonConferenceOption_c" value="c" {$goFonConferenceOption_cCHK} {$goFonConferenceOption_cACL}> 
+               {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>