From: janw Date: Fri, 4 Nov 2005 14:51:52 +0000 (+0000) Subject: fixed styles X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d8d96f47d8f78fb350bc0ad6fea3417fb04a061;p=gosa.git fixed styles git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1838 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc index a9024f818..4a5e95ab8 100644 --- a/plugins/gofon/conference/class_phoneConferenceManagment.inc +++ b/plugins/gofon/conference/class_phoneConferenceManagment.inc @@ -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" => "department","attach"=>"style='width:22px;'"); + $a_field1 = array("string" => "department","attach"=>"style='text-align:center;width:20px;'"); $a_field2 = array("string" => sprintf($linkopen,base64_encode($key),$val)); $a_field3 = array("string" => " "); $a_field4 = array("string" => " "); - $a_field5 = array("string" => " ", "attach" => "style='text-align: right;border:none'"); + $a_field5 = array("string" => " ", "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"=>" ", "attach" => "style='text-align: right;border:none'"); + $a_field5 = array("string"=>" ", "attach" => "style='text-align:right;border:none;width:48px;'"); } $divlist->AddEntry(array($a_field1,$a_field2,$a_field3,$a_field4,$a_field5)); diff --git a/plugins/gofon/macro/class_gofonMacroManagement.inc b/plugins/gofon/macro/class_gofonMacroManagement.inc index 0b13f4980..a4118e594 100755 --- a/plugins/gofon/macro/class_gofonMacroManagement.inc +++ b/plugins/gofon/macro/class_gofonMacroManagement.inc @@ -367,10 +367,10 @@ class gofonMacro extends plugin } } - $field1 = array("string" => "department"); + $field1 = array("string" => "department","attach"=>"style='text-align:center;width:20px;'"); $field2 = array("string" => sprintf($linkopen,base64_encode($key),$val)); $field3 = array("string" => " "); - $field4 = array("string" => " ", "attach" => "style='border:none'"); + $field4 = array("string" => " ", "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)); }