Code

w3c
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Dec 2005 09:06:02 +0000 (09:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Dec 2005 09:06:02 +0000 (09:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2328 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/phoneaccount/class_phoneAccount.inc
plugins/gofon/phoneaccount/generic.tpl

index 939d3b2a23fff831242c82acb3bab4ba4e1f5ec9..40694034e5466ceabe5d2b28dd8aacb518adece1 100644 (file)
@@ -697,7 +697,7 @@ class phoneAccount extends plugin
         switch ($type){
 
           case "combo":
-            $str= "<select name='".$var."' ".chkacl($this->acl, "goFonMacro")."  ".chkacl($this->acl, "goFonMacro").">";
+            $str= "<select name='".$var."' ".chkacl($this->acl, "goFonMacro")." >";
           foreach(split(":",$default) as $choice){
             if($choosen==$choice){
               $str.= "\n<option value='".$choice."' selected>".$choice."&nbsp;</option>";
index cffc65744b2e28733b57f5dd5e357069de8f42d6..e61865f2d270aca0d9208f84010e679722288a32 100644 (file)
@@ -1,7 +1,7 @@
 <table summary="{t}Phone numbers{/t}" style="width:100%">
  <tr>
   <td style="vertical-align:top; border-right:1px solid #A0A0A0; width:50%">
-   <h2><p class="center"><img class="center" alt="" align="middle" src="images/banana.png" />&nbsp;{t}Phone numbers{/t}</p></h2>
+   <h2><img class="center" alt="" align="middle" src="images/banana.png" />&nbsp;{t}Phone numbers{/t}</h2>
       <select style="width:100%;" name="phonenumber_list[]" size=7 multiple {$telephoneNumberACL}>
        {html_options options=$phoneNumbers}
                <option disabled>
@@ -20,8 +20,8 @@
 <table summary="" style="width:100%" border=0>
  <tr>
 
-  <td tyle="vertical-align:top;">
-   <h2><p class="center"><img class="center" alt="" align="middle" src="images/hardware.png" />&nbsp;{t}Telephone hardware{/t}</p></h2>
+  <td style="vertical-align:top;">
+   <h2><img class="center" alt="" align="middle" src="images/hardware.png" />&nbsp;{t}Telephone hardware{/t}</h2>
 
    <table summary="{t}Telephone{/t}" border=0>
     <tr>
@@ -56,7 +56,7 @@
  </tr>
  <tr style="vertical-align:top; border-top:1px solid #A0A0A0;">
        <td colspan=2 style="vertical-align:top;width:50%">
-               <h2><p class="center"><img class="center" alt="" src="images/select_macro.png" align="middle" />&nbsp;{t}Phone macro{/t}</p></h2>
+               <h2><img class="center" alt="" src="images/select_macro.png" align="middle" />&nbsp;{t}Phone macro{/t}</h2>
                <table summary="{t}Phone macro{/t}">
                        <tr>
                                <td colspan=2>