Code

fixed styles
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Nov 2005 14:51:52 +0000 (14:51 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Nov 2005 14:51:52 +0000 (14:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1838 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/conference/class_phoneConferenceManagment.inc
plugins/gofon/macro/class_gofonMacroManagement.inc

index a9024f818aeda8e8aac853f669b3e897930b2883..4a5e95ab8901d5016309301ff24cd93c7a46af99 100644 (file)
@@ -315,7 +315,7 @@ class phoneConferenceManagment extends plugin
           array("string" =>_("Name - Number")),
           array("string" => _("Owner")),
           array("string" => _("PIN")),
-          array("string" =>_("Actions"), "attach" => "style='text-align:  right;border:none'")));
+          array("string" =>_("Actions"), "attach" => "style='text-align:left;border:none'")));
 
     /* Insert departments in divlist*/
     foreach($this->departments as $key=> $val){
@@ -332,11 +332,11 @@ class phoneConferenceManagment extends plugin
       }
 
       /* Prepare and insert fields*/
-      $a_field1 = array("string" => "<img src='images/".$non_empty."folder.png' alt='department'>","attach"=>"style='width:22px;'");
+      $a_field1 = array("string" => "<img src='images/".$non_empty."folder.png' alt='department'>","attach"=>"style='text-align:center;width:20px;'");
       $a_field2 = array("string" => sprintf($linkopen,base64_encode($key),$val));
       $a_field3 = array("string" => "&nbsp;");
       $a_field4 = array("string" => "&nbsp;");
-      $a_field5 = array("string" => "&nbsp;",  "attach" => "style='text-align:  right;border:none'");
+      $a_field5 = array("string" => "&nbsp;",  "attach" => "style='text-align:right;border:none;width:48px;'");
 
       /* Add entries */
       $divlist->AddEntry(array($a_field1,$a_field2,$a_field3,$a_field4,$a_field5));
@@ -368,7 +368,7 @@ class phoneConferenceManagment extends plugin
       $data = $ldap->fetch($ldap->cat($conference['goFonConferenceOwner'][0]));
       $cn = $data['cn'][0];
  
-      $a_field1 = array("string"=>sprintf($userimg,_("Conference")));
+      $a_field1 = array("string"=>sprintf($userimg,_("Conference")),"attach"=>"style='text-align:center;width:20px;'");
 
       $acl= get_permissions ($conference['dn'], $this->ui->subtreeACL);
       $this->acl =  get_module_permission($acl, "goFonConference", $conference['dn']);
@@ -386,7 +386,7 @@ class phoneConferenceManagment extends plugin
       }elseif(chkacl($this->acl,"goFonConferenceOwner")==""){
         $a_field5 = array("string"=>preg_replace("/%KEY%/",$conferencekey,$actions2), "attach" => "style='text-align:  right;border:none'");
       }else{
-        $a_field5 = array("string"=>"&nbsp;", "attach" => "style='text-align:  right;border:none'");
+        $a_field5 = array("string"=>"&nbsp;", "attach" => "style='text-align:right;border:none;width:48px;'");
       }
 
       $divlist->AddEntry(array($a_field1,$a_field2,$a_field3,$a_field4,$a_field5));
index 0b13f4980e65045a045ea8af745025c71ac9cd71..a4118e594447ade4b6125c58e18ae16a3b630164 100755 (executable)
@@ -367,10 +367,10 @@ class gofonMacro extends plugin
         }
       }
 
-      $field1 = array("string" => "<img src='images/".$non_empty."folder.png' alt='department'>");
+      $field1 = array("string" => "<img src='images/".$non_empty."folder.png' alt='department'>","attach"=>"style='text-align:center;width:20px;'");
       $field2 = array("string" => sprintf($linkopen,base64_encode($key),$val));
       $field3 = array("string" => "&nbsp;");
-      $field4 = array("string" => "&nbsp;", "attach" => "style='border:none'");
+      $field4 = array("string" => "&nbsp;", "attach" => "style='border:none'","attach"=>"style='text-align:right;width:48px;'");
       $divlist->AddEntry(array($field1,$field2,$field3,$field4));
     }
 
@@ -397,10 +397,10 @@ class gofonMacro extends plugin
         $pic1 = $invisible;
       }
 
-      $field1 = array("string" => sprintf($macroimg,$val['dn']),"attach"=>"style='width:20px;align:middle;'");
+      $field1 = array("string" => sprintf($macroimg,$val['dn']),"attach"=>"style='width:20px;text-align:center;'");
       $field2 = array("string" => sprintf($editlink,$key,$display),"attach"=>"title='".$val['dn']."'");
       $field3 = array("string" => $pic1, "attach" => "style='width:20px;text-align:right;'");
-      $field4 = array("string" => preg_replace("/%KEY%/", "$key", $action),"attach" => "style='border:none;text-align:right;width:48px'");
+      $field4 = array("string" => preg_replace("/%KEY%/", "$key", $action),"attach" => "style='border:none;text-align:right;width:48px;'");
 
       $divlist->AddEntry(array($field1,$field2,$field3,$field4));
     }