From: janw Date: Fri, 9 Dec 2005 14:03:52 +0000 (+0000) Subject: [COSMETIC] some more centering X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bd63ec651443bb8f0d6527f6a64700f18bd03ff7;p=gosa.git [COSMETIC] some more centering git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2274 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_divlist.inc b/include/class_divlist.inc index 180d7bfb9..e9c74ba00 100644 --- a/include/class_divlist.inc +++ b/include/class_divlist.inc @@ -273,8 +273,8 @@ class divlist { } } - // if fewer than 19 Entries (list not full), print row to fill empty space - //if($this->_numEntries()<=18){ + // if fewer than 22 Entries (list not full), print row to fill empty space + if($this->_numEntries()<=22){ $fill= ""; for ($i= 1; $i <= $this->cols; $i++){ if ($i == $this->cols){ @@ -284,7 +284,7 @@ class divlist { } } $s_return.="\n$fill"; - //} + } $s_return .= "\n"; return $s_return; } diff --git a/include/functions.inc b/include/functions.inc index 23413b8b9..6151838bc 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1279,7 +1279,7 @@ function range_selector($dcnt,$start,$range=25,$post_var=false) } if(($post_var)&&($numpages)){ - $output.= " "._("Entries per page")." "; foreach(array(20,50,100,200,"all") as $num){ if($num == "all"){ $var = 10000; @@ -1287,7 +1287,7 @@ function range_selector($dcnt,$start,$range=25,$post_var=false) $var = $num; } if($var == $range){ - $output.="\n"; + $output.="\n"; }else{ $output.="\n"; } diff --git a/plugins/admin/applications/class_applicationManagement.inc b/plugins/admin/applications/class_applicationManagement.inc index 86e5891fd..8d33c5939 100644 --- a/plugins/admin/applications/class_applicationManagement.inc +++ b/plugins/admin/applications/class_applicationManagement.inc @@ -301,9 +301,9 @@ class applicationManagement extends plugin /* Don't show buttons if tab dialog requests this */ if (!$this->apptabs->by_object[$this->apptabs->current]->dialog){ $display.= "

\n"; - $display.= "\n"; + $display.= "\n"; $display.= " \n"; - $display.= "\n"; + $display.= "\n"; $display.= "

"; } return ($display); @@ -315,7 +315,7 @@ class applicationManagement extends plugin $options= ""; foreach ($this->config->idepartments as $key => $value){ if ($appfilter['depselect'] == $key){ - $options.= ""; + $options.= ""; } else { $options.= ""; } @@ -334,21 +334,21 @@ class applicationManagement extends plugin ""; - $actions = ""; - $actions.= ""; + $actions = ""; + $actions.= ""; // Defining Links $linkopen = "%s"; // image Buttons $editlink = "%s"; - $userimg = "User"; + $userimg = "User"; // Extension images - $applimg = "A"; + $applimg = "A"; // Space - $empty = ""; + $empty = ""; $divlist = new divlist("applicationtabs"); diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 52ff0768c..4b8ef6665 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -288,8 +288,8 @@ class departmentManagement extends plugin $divlist = new divlist("departmenttabs"); $divlist->SetSummary(_("This table displays all departments, in the selected tree.")); $divlist->SetEntriesPerPage(0); - $actions= ""; - $actions.= ""; + $actions= ""; + $actions.= ""; $linkopen = "%s"; diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index b652106d3..d9db64056 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -389,14 +389,14 @@ class faiManagement extends plugin }elseif(((isset($this->dialog->current))&&(!$this->dialog->by_object[$this->dialog->current]->is_dialog))){ $display.= "

\n"; - $display.= "\n"; + $display.= "\n"; $display.= " \n"; - $display.= "\n"; + $display.= "\n"; $display.= "

"; }elseif(!isset($this->dialog->current)){ $display.= "

\n"; - $display.= " "; - $display.= "\n"; + $display.= " "; + $display.= "\n"; $display.= "

"; } return($display); @@ -412,7 +412,7 @@ class faiManagement extends plugin $options= ""; foreach ($this->config->idepartments as $key => $value){ if ($faifilter['base'] == $key){ - $options.= ""; + $options.= ""; } else { $options.= ""; } @@ -479,8 +479,8 @@ class faiManagement extends plugin array("string" => _("Actions"), "attach" => "style='width:60px;border-right:0px;text-align:right;'"))); - $action = ""; - $action .= ""; + $action = ""; + $action .= ""; $editlink ="%NAME%"; $linkopen = "%s"; @@ -522,53 +522,53 @@ class faiManagement extends plugin if(!$faifilter['ShowPartitions']){ $abort = true; } - $img="PT"; + $img="PT"; $info = _("Partition table"); break; case "FAIpackageList" : if(!$faifilter['ShowPackages']){ $abort = true; } - $img="PL"; + $img="PL"; $info = _("Package list"); break; case "FAIscript" : if(!$faifilter['ShowScripts']){ $abort = true; } - $img="S"; + $img="S"; $info = _("Scripts"); break; case "FAIvariable" : if(!$faifilter['ShowVariables']){ $abort = true; } - $img="V"; + $img="V"; $info = _("Variables"); break; case "FAIhook" : if(!$faifilter['ShowHooks']){ $abort = true; } - $img="H"; + $img="H"; $info = _("Hooks"); break; case "FAIprofile" : if(!$faifilter['ShowProfiles']){ $abort = true; } - $img="P"; + $img="P"; $info = _("Profile"); break; case "FAItemplate" : if(!$faifilter['ShowTemplates']){ $abort = true; } - $img="T"; + $img="T"; $info = _("Templates"); break; default : - $img="";$info = "";break; + $img="";$info = "";break; } diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index 4f9dd7819..83010bc76 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -358,25 +358,25 @@ class groupManagement extends plugin ""; - $actions = ""; - $actions.= ""; + $actions = ""; + $actions.= ""; // Defining Links $linkopen = "%s"; // image Buttons $editlink = "%s"; - $userimg = "User"; + $userimg = "User"; // Extension images - $posiximg = "P"; - $mailimg = "M"; - $sambaimg = "S"; - $applimg = "A"; - $phoneimg = "Ph"; - $envimg = "E"; + $posiximg = "P"; + $mailimg = "M"; + $sambaimg = "S"; + $applimg = "A"; + $phoneimg = "Ph"; + $envimg = "E"; // Space - $empty = ""; + $empty = ""; $divlist = new divlist("groupstab"); diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc index 577bd1742..d6288d1da 100644 --- a/plugins/admin/ogroups/class_ogroupManagement.inc +++ b/plugins/admin/ogroups/class_ogroupManagement.inc @@ -368,21 +368,21 @@ name='dep_root' alt='"._("Root")."'> ". ""; - $actions = ""; - $actions.= ""; + $actions = ""; + $actions.= ""; // Defining Links $linkopen = "%s"; // image Buttons $editlink = "%s"; - $userimg = "User"; + $userimg = "User"; // Extension images - $mailimg = "M"; + $mailimg = "M"; // Space - $empty = ""; + $empty = ""; // List Setup $divlist = new divlist("ogroubstab"); @@ -509,8 +509,8 @@ name='dep_root' alt='"._("Root")."'> ". $p2['alt']= ""; $p2['tit']= ""; } - $temp = "".$p1["; - $temp.= "".$p2["; + $temp = "".$p1["; + $temp.= "".$p2["; return ($temp); } diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 6be034cbb..99d841ebc 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -537,9 +537,9 @@ class systems extends plugin /* Don't show buttons if tab dialog requests this */ if (!$this->systab->by_object[$this->systab->current]->dialog){ $display.= "

\n"; - $display.= "\n"; + $display.= "\n"; $display.= " \n"; - $display.= "\n"; + $display.= "\n"; $display.= "

"; } return ($display); @@ -554,7 +554,7 @@ class systems extends plugin $options= ""; foreach ($this->config->idepartments as $key => $value){ if ($terminalfilter['depselect'] == $key){ - $options.= ""; + $options.= ""; } else { $options.= ""; } @@ -580,8 +580,8 @@ class systems extends plugin - $action= ""; - $action.= ""; + $action= ""; + $action.= ""; $divlist = new divlist("systemstab"); @@ -623,16 +623,16 @@ class systems extends plugin $editlink = "%s"; // Pictures for Extensions - $img1 = "C"; - $img2 = "L"; - $img3 = "L"; - $img4 = "M"; - $img5 = "I"; - $img6 = "F"; - $img7 = "K"; - $img8 = "A"; - $img9 = "F"; - $img10 = "L"; + $img1 = "C"; + $img2 = "L"; + $img3 = "L"; + $img4 = "M"; + $img5 = "I"; + $img6 = "F"; + $img7 = "K"; + $img8 = "A"; + $img9 = "F"; + $img10 = "L"; // Test Every Entry and generate divlist Array foreach($this->terminals as $key => $val){ @@ -658,7 +658,7 @@ class systems extends plugin } if((in_array("gotoTerminal",$val['objectClass']))||(in_array("gotoWorkstation",$val['objectClass']))){ - $action2 = ""; + $action2 = ""; }else{ $action2 = ""; } @@ -719,7 +719,7 @@ class systems extends plugin } foreach ($conv as $key => $value){ if($input['type']==$key){ - $tmp['img'] ="".$key.""; + $tmp['img'] ="".$key.""; $tmp['class']=$key; return $tmp; } diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index fbc3ab56b..7a09f8a2a 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -678,9 +678,9 @@ class userManagement extends plugin "  ". ""; - $action= ""; - $action.= ""; - $action.= ""; + $action= ""; + $action.= ""; + $action.= ""; @@ -723,29 +723,29 @@ class userManagement extends plugin } /* Pictures for Extensions */ - $usrimg =""; - $posiximg = ""; - $eviroimg = ""; - $mailimg = ""; - $fonimg = ""; - $faximg = ""; - $sambaimg = ""; - $tplcreateuserimg = ""; - $empty = ""; + $empty = ""; // User and Template Images - $userimg = "User"; - $tplimg = "Template"; + $userimg = "User"; + $tplimg = "Template"; $editlink = "%s"; // Defines Arrays to save User and Templates diff --git a/plugins/gofax/blocklists/class_blocklistManagement.inc b/plugins/gofax/blocklists/class_blocklistManagement.inc index e9c5e01ab..af37e1b76 100644 --- a/plugins/gofax/blocklists/class_blocklistManagement.inc +++ b/plugins/gofax/blocklists/class_blocklistManagement.inc @@ -297,8 +297,8 @@ class blocklist extends plugin "  ". ""; - $action= ""; - $action.= ""; + $action= ""; + $action.= ""; $divlist = new divlist("faxtabs"); @@ -333,7 +333,7 @@ class blocklist extends plugin } // User and Template Images - $blockimg = "User"; + $blockimg = "User"; $editlink = "%s"; foreach($this->blocklists as $key => $val){ diff --git a/plugins/gofon/conference/class_phoneConferenceManagment.inc b/plugins/gofon/conference/class_phoneConferenceManagment.inc index 9c3229d60..8e1287b99 100644 --- a/plugins/gofon/conference/class_phoneConferenceManagment.inc +++ b/plugins/gofon/conference/class_phoneConferenceManagment.inc @@ -263,9 +263,9 @@ class phoneConferenceManagment extends plugin /* Don't show buttons if tab dialog requests this */ if (!$this->conftab->by_object[$this->conftab->current]->dialog){ $display.= "

\n"; - $display.= "\n"; + $display.= "\n"; $display.= " \n"; - $display.= "\n"; + $display.= "\n"; $display.= "

"; } return ($display); @@ -275,7 +275,7 @@ class phoneConferenceManagment extends plugin $options= ""; foreach ($this->config->idepartments as $key => $value){ if ($conferencefilter['depselect'] == $key){ - $options.= ""; + $options.= ""; } else { $options.= ""; } @@ -293,10 +293,10 @@ class phoneConferenceManagment extends plugin ""; /* Images for delete / edit */ - $actions = ""; - $actions.= ""; + $actions = ""; + $actions.= ""; - $actions2= ""; + $actions2= ""; /* open an entry */ $linkopen= "%s"; @@ -337,7 +337,7 @@ class phoneConferenceManagment extends plugin } /* Image shown in divlist */ - $userimg = "User"; + $userimg = "User"; /* Edit entry link*/ $editlink = "%s"; @@ -346,7 +346,7 @@ class phoneConferenceManagment extends plugin foreach($this->conferences as $conferencekey => $conference ){ if((isset($conference['goFonPIN'][0]))&&(($this->ui->dn==$conference['goFonConferenceOwner'][0])||($this->acl=="#all#"))){ - $pin = "PIN"; + $pin = "PIN"; }else{ $pin = " "; } diff --git a/plugins/gofon/macro/class_gofonMacroManagement.inc b/plugins/gofon/macro/class_gofonMacroManagement.inc index 0f5d78255..2a6a14b12 100755 --- a/plugins/gofon/macro/class_gofonMacroManagement.inc +++ b/plugins/gofon/macro/class_gofonMacroManagement.inc @@ -297,9 +297,9 @@ class gofonMacro extends plugin /* Don't show buttons if tab dialog requests this */ if (!$this->macrotabs->by_object[$this->macrotabs->current]->dialog){ $display.= "

\n"; - $display.= "\n"; + $display.= "\n"; $display.= " \n"; - $display.= "\n"; + $display.= "\n"; $display.= "

"; } return ($display); @@ -312,7 +312,7 @@ class gofonMacro extends plugin $options= ""; foreach ($this->config->idepartments as $key => $value){ if ($macrofilter['depselect'] == $key){ - $options.= ""; + $options.= ""; } else { $options.= ""; } @@ -333,8 +333,8 @@ class gofonMacro extends plugin /* Options */ - $action= ""; - $action.= ""; + $action= ""; + $action.= ""; $divlist = new divlist("macrotabs"); $divlist->SetHeader(array( @@ -372,12 +372,12 @@ class gofonMacro extends plugin } // Pictures for Extensions - $empty = ""; + $empty = ""; // User and Template Images - $macroimg = ""._("Macro").""; - $visible = ""._("yes").""; - $invisible = ""._("no").""; + $macroimg = ""._("Macro").""; + $visible = ""._("yes").""; + $invisible = ""._("no").""; // Link for edit $editlink = "%s";