Code

Added branches container for old stuff
[gosa.git] / gosa-plugins / gofon / gofon / phoneaccount / generic.tpl
index 07777d8a78fcfcc7030d3fee07dd1ab47b96e7ca..27b824231e47e87a27322e080e30d67374513a25 100644 (file)
@@ -2,7 +2,7 @@
  <tr>
   <td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
    <h2>
-    <img class="center" alt="" align="middle" src="images/banana.png" />
+    <img class="center" alt="" align="middle" src="plugins/gofon/images/banana.png" />
     &nbsp;{t}Phone numbers{/t}
    </h2>
 
@@ -39,7 +39,7 @@
  <tr>
 
   <td style="vertical-align:top;">
-   <h2><img class="center" alt="" align="middle" src="images/hardware.png" />&nbsp;{t}Telephone hardware{/t}</h2>
+   <h2><img class="center" alt="" align="middle" src="plugins/gofon/images/hardware.png" />&nbsp;{t}Telephone hardware{/t}</h2>
 
       <table summary="{t}Telephone{/t}" border=0>
           {if !$multiple_support}
@@ -48,7 +48,9 @@
                        {t}Telephone{/t}
                </td>
         <td>
+               {render acl=$goFonHardwareACL checkbox=$multiple_support checked=$use_goFonHardware}
                        {$hardware_list}
+               {/render}
                </td>
        </tr>
           {/if}
 {/render}
         </td>
       </tr>
+    <tr>
+     <td>{t}Context{/t}
+     </td>
+     <td>
+{render acl=$goFonContextACL checkbox=$multiple_support checked=$use_goFonContext}
+      <select name='context' title='{t}Select the accounts context{/t}'>
+        {html_options values=$contexts output=$contexts selected=$context}
+      </select>
+{/render}
+     </td>
+    </tr>
+    <tr>
+     <td>{t}Voicemail context{/t}
+     </td>
+     <td>
+{render acl=$goFonVoiceMailContextACL checkbox=$multiple_support checked=$use_goFonVoiceMailContext}
+      <select name='voice_context' title='{t}Select the accounts context{/t}'>
+        {html_options values=$contexts output=$contexts selected=$voice_context}
+      </select>
+{/render}
+     </td>
+    </tr>
+
       <tr>
        <td>
         <label for="goFonVoicemailPIN">{t}Voicemail PIN{/t}{$must}</label>
  <tr style="vertical-align:top; border-top:1px solid #A0A0A0;">
  <td colspan=2 style="vertical-align:top;width:50%">
   <h2>
-   <img class="center" alt="" src="images/select_macro.png" align="middle" />
+   <img class="center" alt="" src="plugins/gofon/images/select_macro.png" align="middle" />
    &nbsp;{t}Phone macro{/t}
   </h2>
   <table summary="{t}Phone macro{/t}">