Code

[COSMETIC] Fixed alignment in newer browsers
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Nov 2005 14:24:16 +0000 (14:24 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Nov 2005 14:24:16 +0000 (14:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2071 594d385d-05f5-0310-b6e9-bd551577e9d8

21 files changed:
html/themes/default/style.css
ihtml/themes/default/conflict.tpl
ihtml/themes/default/framework.tpl
ihtml/themes/default/help.tpl
ihtml/themes/default/islocked.tpl
ihtml/themes/default/login.tpl
include/class_divlist.inc
plugins/admin/applications/class_applicationManagement.inc
plugins/admin/departments/class_departmentManagement.inc
plugins/admin/fai/class_faiManagement.inc
plugins/admin/fai/class_faiPackageEntry.inc
plugins/admin/groups/class_groupManagement.inc
plugins/admin/groups/headpage.tpl
plugins/admin/ogroups/class_ogroupManagement.inc
plugins/admin/systems/class_systemManagement.inc
plugins/admin/users/class_userManagement.inc
plugins/admin/users/headpage.tpl
plugins/admin/users/main.inc
plugins/gofax/blocklists/class_blocklistManagement.inc
plugins/gofon/conference/class_phoneConferenceManagment.inc
plugins/gofon/macro/class_gofonMacroManagement.inc

index 0fedb77af75c8b35c4331a485567913e56c04bb9..920a1e7c19c206bfb913a3b0c349b2ff56235e33 100644 (file)
@@ -195,6 +195,8 @@ a.maintitlebar, div.maintitlebar {
        text-decoration:none;
        color:#00348B;
        font-size:12px;
+       text-align:center;
+       vertical-align:middle;
 }
 
 a.maintitlebar:hover {
@@ -635,6 +637,7 @@ div.contentboxh {
        border:1px solid #b0b0b0;
        border-bottom-width:0px;
        height:26px;
+       vertical-align:middle;
 }
 
 p.contentboxh {
@@ -642,17 +645,20 @@ p.contentboxh {
        font-family:arial,helvetica,sans-serif;
        font-size:16px;
        font-weight:bold;
+       vertical-align:middle;
 }
 
 div.contentboxb {
        border:1px solid #b0b0b0;
        border-top-width:0px;
+       vertical-align:middle;
 }
 
 p.contentboxb {
        padding-bottom:0px;
        margin:0px;
        border:4px solid #f8f8f8;
+       vertical-align:middle;
 }
 
 a.alphaselect:hover {
index 8d51695780c2c75d196df4343be2407599b286a5..af63fc3e23afbf5c55334ad47a2b941c63dd35ba 100644 (file)
@@ -7,10 +7,10 @@
 </p>
 
 <p>
-  <b style="color:red">{t}Ignoring this message will change/destroy the data you're currently editing, so please close multiple windows and log in again.{/t}</b>
+  <b style="color:red;">{t}Ignoring this message will change/destroy the data you're currently editing, so please close multiple windows and log in again.{/t}</b>
 </p>
 
 <p class="plugbottom">
-  <input type=submit name="reset_session" value="{t}Logout{/t}">
+  <input type="submit" name="reset_session" value="{t}Logout{/t}">
 </p>
 
index 2b068128a08342e0a3e562093409a721b2ba857d..cb18a3649b3cda4f3ccb5232f360bfc11a3eb8a4 100644 (file)
@@ -8,28 +8,28 @@
      <a href="main.php" style="vertical-align:bottom;"><img src='{$go_logo}' border="0" alt="GOSA2" style='vertical-align:bottom;'></a>
     </td>
     <td>
-      <table style="margin-left:20px;" border=0 summary="">
+      <table style="margin-left:20px;" border="0" summary="">
        <tr>
-        <td valign="middle">
-        <a class=maintitlebar href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' class="center">
+        <td style="vertical-align:middle;">
+        <a class="maintitlebar" href='main.php?reset=1' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "main.php?reset=1");' >
          <img src='{$go_home}' class='center' border="0" alt="GOSA2">&nbsp;{t}Main{/t}
         </a>
        </td>
         <td>
-        <a class=maintitlebar class='center' style="margin-left:35px" {$help_method}>
+        <a class="maintitlebar" style="margin-left:35px" {$help_method}>
           <img src='{$go_help}' class='center' border="0" alt="GOSA2">&nbsp;{t}Help{/t}
          </a>
        </td>
        <td>
-        <a class=maintitlebar href='logout.php' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' class='center' style="margin-left:35px;">
+        <a class="maintitlebar" href='logout.php' onClick='return question("{t}You are currently editing a database entry. Do you want to dismiss the changes?{/t}", "logout.php");' style="margin-left:35px;">
           <img src='{$go_out}' class='center' border="0" alt="GOSA2">&nbsp;{t}Sign out{/t}
          </a>
        </td>
        </tr>
       </table>
     </td>
-    <td align=right>
-      <div class=maintitlebar style="padding-right:10px">
+    <td style="text-align:right;">
+      <div class="maintitlebar" style="padding-right:10px">
         <a>{t}Signed in:{/t} <b>{$username}</b></a>
       </div>
     </td>
     <td style="background-color:#EEFFE6; vertical-align:top;" >
       <div style="background-color:#CDF6BD; height:12px; width:100%;">&nbsp;</div>
       {$menu}
-         <br>
+         <br />
          <div style="height:1px; width:140px;"></div>
     </td>
     <!-- Plugin window -->
-    <td style="background-color:white; width:100%; vertical-align:top; height:15px; border-left:1px solid #778F6E; border-top:1px solid #778F6E" colspan=2>
+    <td style="background-color:white; width:100%; vertical-align:top; height:15px; border-left:1px solid #778F6E; border-top:1px solid #778F6E" colspan="2">
       <table style="vertical-align:top; text-align:justify; background-color: #F8F8F8; margin-top:7px; margin-left:7px; margin-right:7px; width:99%" summary="">
        <tr>
         <td>
index 72b5d46fd2a12d38c5a9281020837bcdd9606380..0109bc4f9bb67827d4d251b3fdbb8e72ccde6050 100644 (file)
@@ -1,14 +1,14 @@
-<body style='background-color:#F1F1F1;background-image:none'>
+<body style='background-color:#F1F1F1;background-image:none;'>
 {$php_errors}
 
 <form action='helpviewer.php' name='mainform' method='post' enctype='multipart/form-data'>
-<div style='background-color:#CDF6BD;width:100%;border-bottom:1px solid #909090'>
-  <table summary="" width="99%">
+<div style='background-color:#CDF6BD;width:100%;border-bottom:1px solid #909090;'>
+  <table summary="" style="width:99%;">
    <tr>
-    <td width="33%">
+    <td style="width:33%;">
      <b>{t}GOsa help viewer{/t}</b>
        </td>
-    <td width="33%" style="text-align:center">
+    <td style="width:33%;text-align:center">
                {$backward}
                &nbsp;&nbsp;
                <a href="?pg={$index}"  class="maintitlebar">
                &nbsp;&nbsp;
                {$forward}
        </td>
-       <td style="text-align:right">
-        <input name="search_string" size="15" value="{$search_string}" maxlength="50">&nbsp;<input type=submit name="search" value="{t}Search{/t}">
+       <td style="text-align:right;">
+        <input name="search_string" size="15" value="{$search_string}" maxlength="50">&nbsp;<input type="submit" name="search" value="{t}Search{/t}">
        </td>
    </tr>
   </table>
 </div>
-<div style="height: 100%;
-                       width: 100%;
-                       padding-top: 1px;
-                       margin: 0px;
-                       background-color: #F1F1F1;">
+<div style="height:100%;width:100%;padding-top:1px;margin:0px;background-color:#F1F1F1;">
 {$help_contents}
 </div>
 
index cd62c27751d271d4b306c5b274d2d15b3460ba51..a76b619489fb33c29a325346fc05b0a0dbec4892 100644 (file)
@@ -1,5 +1,5 @@
 <div style="font-size:20px;">
-  <img alt="" src="images/encrypted.png" align=top>&nbsp;{t}Locking conflict detected{/t}
+  <img alt="" src="images/encrypted.png" style="vertical-align:top;">&nbsp;{t}Locking conflict detected{/t}
 </div>
 
 <p>
@@ -10,9 +10,9 @@
 </p>
 
 <p class="plugbottom">
-  <input type=submit name="delete_lock" value="{t}Remove{/t}">
+  <input type="submit" name="delete_lock" value="{t}Remove{/t}">
   &nbsp;
-  <input type=submit name="cancel_lock" value="{t}Cancel{/t}">
+  <input type="submit" name="cancel_lock" value="{t}Cancel{/t}">
 </p>
       
 <input type="hidden" name="dn" value="{$dn}">
index 94721fa07e966da8218f14c587c26bdc58826b4e..ea540935e29397d3c327a295cffc28d4cbf3834b 100644 (file)
@@ -6,9 +6,9 @@
 <!-- Spacer for some browsers -->
 <div class='gosaLoginSpacer'></div>
 
-<table summary="" class='gosaLoginMask' align='center'>
+<table summary="" class='gosaLoginMask' style="text-align:right;" align='center'>
  <tr>
-  <td class='gosaLoginBack' width="606">
+  <td class='gosaLoginBack' style="width:606px;">
    <div class='gosaLoginBack'>
        
     <p class='gosaLoginHeader'>
@@ -20,7 +20,7 @@
 
     <!-- Formular data, containing a table to center fields -->
     <form action='index.php' method='post' name='mainform' onSubmit='js_check(this);return true;'>
-     <table summary="" style='align:center; text-align:left;' cellspacing='7' align='center'>
+     <table summary="" style='vertical-align:middle; text-align:left;' cellspacing='7' align='center'>
       <tr>
         <td>
           <img src='{$personal_img}' alt='{t}Username{/t}' title='{t}Username{/t}'>
@@ -51,7 +51,7 @@
       </tr>
       <tr>
         <td colspan='2' style='text-align:right;'>
-         <br>
+         <br />
          <input type='submit' name='login' value='{t}Sign in{/t}'
                 title='{t}Click here to log in{/t}'>
        </td>
index 91fe65e16eed4e136252e0477d14ee717e726cbb..203d2298424f83770e13c85fdd2c0ed05e532c14 100644 (file)
@@ -18,6 +18,8 @@ class divlist {
 
                $this->i_currentPage    = 0;
                $this->i_entriesPerPage = 10;
+    $this->s_height         = "500";
+    $this->s_width          = "600";
                $this->s_summary                = "";
                $this->a_entries                = array();
                $this->a_header                 = array();
@@ -42,6 +44,14 @@ class divlist {
        function SetHeader($a_headerdata) {
                $this->a_header[] = $a_headerdata ;
        }
+       
+  function SetHeight($s_height) {
+               $this->s_height= $s_height;
+       }
+  
+  function SetWidth($s_width) {
+               $this->s_width= $s_width;
+       }
 
        function SetEntriesPerPage($i_num){
                $this->i_entriesPerPage=$i_num;
@@ -49,7 +59,7 @@ class divlist {
        
        function DrawList(){
                $s_return = "";
-               $s_return.= "<table summary='".$this->s_summary."' style='width:600px;height:500px;' cellspacing='0'>";
+               $s_return.= "<table summary='".$this->s_summary."' style='width:".$this->s_width."px;height:".$this->s_height."px;' cellspacing='0'>";
 
     $s_return.= $this->_generateHeader();
     $s_return.=$this->_generatePage();
@@ -82,7 +92,7 @@ class divlist {
                
     // Using scrolltable?
     if($this->i_entriesPerPage == 0) {
-      $s_return .= "\n<tr><td class='scrollhead'><table style='width:600px;' cellspacing='0'>";
+      $s_return .= "\n<tr><td class='scrollhead'><table style='width:".$this->s_width."px;' cellspacing='0'>";
     }
 
                $s_return .= "\n<tr>";
@@ -119,7 +129,7 @@ class divlist {
                $s_return       = "";
    
     // We need to construct a "body"-table that is width-of-scrollbar thinner than the "head"-table.
-    $s_return .= "\n<tr><td class='scrollbody'><div style='align:left;width:600px;height:480px;overflow:auto;'>";
+    $s_return .= "\n<tr><td class='scrollbody'><div style='align:left;width:".$this->s_width."px;height:".($this->s_height-20)."px;overflow:auto;'>";
 
     // Only reduce width if we need a scrollbar (>19 Entries)
     if($this->_numEntries()>19) {
index 4655059131e70263d6ba07fa0abfea2652b76c28..6b70a3a57c1013fe9dc29ec6d37cf8db1866d436 100644 (file)
@@ -323,14 +323,14 @@ class applicationManagement extends plugin
        
         // Managment
         $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-          " <input type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-          " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
-          " <input type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
-          " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-          " <input type='image' align='middle' src='images/list_new_app.png' alt='"._("new")."' title='"._("Create new application")."' name='appl_new'>&nbsp;".
-          " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+          " <input class='center' type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+          " <input class='center' type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
+          " <input class='center' type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
+          " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+          " <input class='center' type='image' align='middle' src='images/list_new_app.png' alt='"._("new")."' title='"._("Create new application")."' name='appl_new'>&nbsp;".
+          " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
           _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-          " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
+          " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
           "</div>";
 
 
index fa2aa3bda03ec4d7b6f0edf6dc877d5a12890242..b062cd1472fdc44bb0fb4a47c1ae354ac9656bda 100644 (file)
@@ -277,14 +277,14 @@ class departmentManagement extends plugin
 
                        /* Generate list head */
                        $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-                                               " <input type='image' src='images/list_up.png' align='middle' title='"._("Go up one department")."' name='dep_back' alt='"._("Up")."'>&nbsp;".
-                                               " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
-                                               " <input type='image' src='images/list_home.png' align='middle' title='"._("Go to users home department")."' name='dep_home' alt='"._("Home")."'>&nbsp;".
-                                               " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-                                               " <input type='image' src='images/list_new_department.png' align='middle' alt='"._("Create new department")."' name='dep_new'>&nbsp;".
-                                               " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+                                               " <input type='image' class='center' src='images/list_up.png' align='middle' title='"._("Go up one department")."' name='dep_back' alt='"._("Up")."'>&nbsp;".
+                                               " <input type='image' class='center' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
+                                               " <input type='image' class='center' src='images/list_home.png' align='middle' title='"._("Go to users home department")."' name='dep_home' alt='"._("Home")."'>&nbsp;".
+                                               " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+                                               " <input class='center' type='image' src='images/list_new_department.png' align='middle' alt='"._("Create new department")."' name='dep_new'>&nbsp;".
+                                               " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
                                                _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-                                               " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
+                                               " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
                                                "</div>";
 
                        /* Show main page */
index 9d11242dc68952db729452bc3f9876000de32431..a1b86f8efe007188b23922cb545cc3382a94936f 100644 (file)
@@ -422,44 +422,44 @@ class faiManagement extends plugin
                $faihead = 
                        "<div style='background:#F0F0F9;padding:5px;'>&nbsp;".
 
-                       "<input type='image' src='images/list_up.png' align='middle' 
+                       "<input class='center' type='image' src='images/list_up.png' align='middle' 
                        title='"._("Go up one department")."' name='dep_back' alt='"._("Up"). "'>&nbsp;".
 
-                       "<input type='image' src='images/list_root.png' align='middle' 
+                       "<input class='center' type='image' src='images/list_root.png' align='middle' 
                        title='"._("Go to root department")."' name='dep_root' alt='".      _("Root")."'>&nbsp;".
 
-                       "<input type='image' src='images/list_home.png' align='middle' 
+                       "<input class='center' type='image' src='images/list_home.png' align='middle' 
                        title='"._("Go to users home department")."' name='dep_home' alt='"._("Home")."'>&nbsp;".
 
-                       "<img src=\"images/list_seperator.png\" alt=\"\" align=\"middle\" height=\"16\" width=\"1\">&nbsp;".
+                       "<img class='center' src=\"images/list_seperator.png\" alt=\"\" align=\"middle\" height=\"16\" width=\"1\">&nbsp;".
                        
-                       " <input type='image' src='images/fai_new_profile.png' align='middle' 
+                       " <input class='center' type='image' src='images/fai_new_profile.png' align='middle' 
                        title='"._("New profile")."' name='Create_profile' alt='"._("P")."'>&nbsp;".
                        
-                       "<img src=\"images/list_seperator.png\" alt=\"\" align=\"middle\" height=\"16\" width=\"1\">&nbsp;".
+                       "<img class='center' src=\"images/list_seperator.png\" alt=\"\" align=\"middle\" height=\"16\" width=\"1\">&nbsp;".
                                
-                       " <input type='image' src='images/fai_new_partitionTable.png' align='middle' 
+                       " <input class='center' type='image' src='images/fai_new_partitionTable.png' align='middle' 
                        title='"._("New partition table")."' name='Create_partition' alt='"._("PT")."'>&nbsp;".
 
-                       " <input type='image' src='images/fai_new_script.png' align='middle' 
+                       " <input class='center' type='image' src='images/fai_new_script.png' align='middle' 
                        title='"._("New scripts")."' name='Create_script' alt='"._("S")."'>&nbsp;".
 
-                       " <input type='image' src='images/fai_new_hook.png' align='middle' 
+                       " <input class='center' type='image' src='images/fai_new_hook.png' align='middle' 
                        title='"._("New hooks")."' name='Create_hook' alt='"._("H")."'>&nbsp;".
 
-                       " <input type='image' src='images/fai_new_variable.png' align='middle' 
+                       " <input class='center' type='image' src='images/fai_new_variable.png' align='middle' 
                        title='"._("New variables")."' name='Create_variable' alt='"._("V")."'>&nbsp;".
                        
-                       " <input type='image' src='images/fai_new_template.png' align='middle' 
+                       " <input class='center' type='image' src='images/fai_new_template.png' align='middle' 
                        title='"._("New templates")."' name='Create_template' alt='"._("T")."'>&nbsp;".
 
-                       " <input type='image' src='images/fai_new_packages.png' align='middle' 
+                       " <input class='center' type='image' src='images/fai_new_packages.png' align='middle' 
                        title='"._("New package list")."' name='Create_package' alt='"._("PK")."'>&nbsp;".
 
-                       " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+                       " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
 
                        _("Current base")."&nbsp;<select name='base' onChange='mainform.submit()'>$options</select>".
-                       " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
+                       " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
                        
                        "</div>";
 
index 617de0f43450df64c7fef51e791b3dcb86f3311b..860b6707a4c637383b4e36ccf8fb00ac097753f9 100644 (file)
@@ -47,6 +47,7 @@ class faiPackageEntry extends plugin
     $divlist = new divlist("PackageEntry");
     $divlist->SetSummary(_("This list displays all assigned package names for this repository settings."));
     $divlist->SetEntriesPerPage(0);
+    $divlist->SetHeight("650px;");
     $divlist->SetHeader(array(array("string" => "&nbsp;", "attach" => "style='text-align:center;width:20px;'"),
                               array("string" => "Name", "attach" => "style=''"),
                               array("string" => "Version", "attach" => "style='width:100px;'"),
index e982d2da8a110ac25e46426cda5c04a286a70c11..78d37b445ede1772e3f37aabffee78aaf344a59e 100644 (file)
@@ -348,14 +348,14 @@ class groupManagement extends plugin
 
     // Managment
     $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-      " <input type='image' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-      " <input type='image' src='images/list_root.png' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
-      " <input type='image' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
-      " <img src='images/list_seperator.png' alt='' height='16' width='1'>&nbsp;".
-      " <input type='image' src='images/list_new_group.png' title='"._("Create new group")."' alt='"._("New")."' name='group_new'>&nbsp;".
-      " <img src='images/list_seperator.png' alt='' height='16' width='1'>&nbsp;".
+      " <input type='image' class='center' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+      " <input type='image' class='center' src='images/list_root.png' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
+      " <input type='image' class='center' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
+      " <img class='center' src='images/list_seperator.png' alt='' height='16' width='1'>&nbsp;".
+      " <input type='image' class='center' src='images/list_new_group.png' title='"._("Create new group")."' alt='"._("New")."' name='group_new'>&nbsp;".
+      " <img class='center' src='images/list_seperator.png' alt='' height='16' width='1'>&nbsp;".
       _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-       " <input type='image' src='images/list_submit.png' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
+       " <input type='image' class='center' src='images/list_submit.png' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
       "</div>";
 
     
index 5e2804f579775d07ee863bf449b3d4d50d850e29..9ebf1d5a68e2d835052c27a98b75e8c86b3177dc 100644 (file)
@@ -3,7 +3,7 @@
   <td style="vertical-align:top;">
   <div class="contentboxh">
     <p class="contentboxh">
-     <LABEL for="grouplist">{t}List of groups{/t}</LABEL> {$hint}
+     <label for="grouplist">{t}List of groups{/t}</label> {$hint}
     </p>
   </div>
   <div class="contentboxb">
        <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">     
                <tr>
                        <td>
-       <input type=checkbox id="primarygroups" name="primarygroups" value="1" {$primarygroups} onClick="mainform.submit()" 
+       <input type="checkbox" id="primarygroups" name="primarygroups" value="1" {$primarygroups} onClick="mainform.submit()" 
                        title="{t}Select to see groups that are primary groups of users{/t}">
-               <LABEL for="primarygroups">{t}Show primary groups{/t}</LABEL>
-               <br>
-    <input type=checkbox id="sambagroups" name="sambagroups" value="1" {$sambagroups} onClick="mainform.submit()" 
+               <label for="primarygroups">{t}Show primary groups{/t}</label>
+               <br />
+    <input type='checkbox' id="sambagroups" name="sambagroups" value="1" {$sambagroups} onClick="mainform.submit()" 
                title="{t}Select to see groups that have samba groups mappings{/t}">
-               <LABEL for="sambagroups">{t}Show samba groups{/t}</LABEL>
-               <br>
-    <input type=checkbox id="appgroups" name="appgroups" value="1" {$appgroups} onClick="mainform.submit()" 
+               <label for="sambagroups">{t}Show samba groups{/t}</label>
+               <br />
+    <input type='checkbox' id="appgroups" name="appgroups" value="1" {$appgroups} onClick="mainform.submit()" 
                title="{t}Select to see groups that have applications configured{/t}">
-               <LABEL for="appgroups">{t}Show application groups{/t}</LABEL>
-               <br>
-    <input type=checkbox id="mailgroups" name="mailgroups" value="1" {$mailgroups} onClick="mainform.submit()" 
+               <label for="appgroups">{t}Show application groups{/t}</label>
+               <br />
+    <input type='checkbox' id="mailgroups" name="mailgroups" value="1" {$mailgroups} onClick="mainform.submit()" 
                title="{t}Select to see groups that have mail settings{/t}">
-               <LABEL for="mailgroups">{t}Show mail groups{/t}</LABEL>
-               <br>
-    <input type=checkbox id="functionalgroups" name="functionalgroups" value="1" {$functionalgroups} onClick="mainform.submit()" 
+               <label for="mailgroups">{t}Show mail groups{/t}</label>
+               <br />
+    <input type='checkbox' id="functionalgroups" name="functionalgroups" value="1" {$functionalgroups} onClick="mainform.submit()" 
                title='{t}Select to see normal groups that have only functional aspects{/t}'>
-               <LABEL for="functionalgroups">{t}Show functional groups{/t}</LABEL>
-               <br>
+               <label for="functionalgroups">{t}Show functional groups{/t}</label>
+               <br />
             </td>
         </tr>
     </table>
 
     <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;">
                <tr>
-                       <td><LABEL for="regex"><img alt="{t}Display groups matching{/t}" src="{$search_image}" align="left"></LABEL></td>
+                       <td><label for="regex"><img alt="{t}Display groups matching{/t}" src="{$search_image}" align="left"></label></td>
                        <td style='width:99%'>
                                <input type='text' id="regex" name='regex' maxlength='20' style="width:99%;" value='{$regex}' title='{t}Regular expression for matching group names{/t}' onChange="mainform.submit()">
                        </td>
@@ -70,7 +70,7 @@
        </table>
        <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
                <tr>
-                       <td><LABEL for="guser"><img alt="{t}Display groups of user{/t}" src="{$searchu_image}" align="left"></LABEL></td>
+                       <td><label for="guser"><img alt="{t}Display groups of user{/t}" src="{$searchu_image}" align="left"></label></td>
                        <td style='width:99%'>
                                <input id="guser" type='text' name='guser' maxlength='20' style="width:99%;" value='{$guser}' 
                                        title='{t}User name of which groups are shown{/t}' onChange="mainform.submit()">
index 68c8a370be0a93c11245c6628171fe29a8c6415c..c90fa8ee787b6480098277368db2cf5b82aa9ad5 100644 (file)
@@ -356,16 +356,16 @@ class ogroupManagement extends plugin
 
     // Managment
     $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-      " <input type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-      " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."'
+      " <input class='center' type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+      " <input class='center' type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."'
 name='dep_root' alt='"._("Root")."'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."'
+      " <input class='center' type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."'
  alt='"._("Home")."' name='dep_home'>&nbsp;".
-      " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_new_ogroup.png' title='"._("Create new object group")."' alt='"._("new")."' name='group_new'>".
-      " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+      " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_new_ogroup.png' title='"._("Create new object group")."' alt='"._("new")."' name='group_new'>".
+      " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
       _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-      " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
+      " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
       "</div>";
 
 
index 61078cb996902c70b7312d5df3a1b74b57af49ac..85e3a1121ed7c22ac2f5c3859b3dd3a5f80ca5f9 100644 (file)
@@ -562,19 +562,19 @@ class systems extends plugin
 
   /* NEW LIST MANAGMENT */
     $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-    " <input type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-    " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
-    " <input type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."'                     name='dep_home'>&nbsp;".
-    " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-    " <input type='image' align='middle' src='images/select_new_terminal.png'   name='newsystem_terminal'    alt='"._("New Terminal template")."' title='"._("New Terminal")."'>".
-    " <input type='image' align='middle' src='images/select_new_workstation.png' name='newsystem_workstation' alt='"._("New Workstation template")."' title='"._("New Workstation")."'>".
-    " <input type='image' align='middle' src='images/select_new_server.png'     name='newsystem_server'      alt='"._("New Server")."' title='"._("New Server")."'>".
-    " <input type='image' align='middle' src='images/select_new_printer.png'    name='newsystem_printer'     alt='"._("New Printer")."' title='"._("New Printer")."'>".
-    " <input type='image' align='middle' src='images/select_new_phone.png'      name='newsystem_phone'       alt='"._("New Phone")."' title='"._("New Phone")."'>".
-    " <input type='image' align='middle' src='images/select_new_component.png'  name='newsystem_component'   alt='"._("New Component")."' title='"._("New Component")."'>".
-    " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+    " <input class='center' type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+    " <input class='center' type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
+    " <input class='center' type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."'                     name='dep_home'>&nbsp;".
+    " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+    " <input class='center' type='image' align='middle' src='images/select_new_terminal.png'   name='newsystem_terminal'    alt='"._("New Terminal template")."' title='"._("New Terminal")."'>".
+    " <input class='center' type='image' align='middle' src='images/select_new_workstation.png' name='newsystem_workstation' alt='"._("New Workstation template")."' title='"._("New Workstation")."'>".
+    " <input class='center' type='image' align='middle' src='images/select_new_server.png'     name='newsystem_server'      alt='"._("New Server")."' title='"._("New Server")."'>".
+    " <input class='center' type='image' align='middle' src='images/select_new_printer.png'    name='newsystem_printer'     alt='"._("New Printer")."' title='"._("New Printer")."'>".
+    " <input class='center' type='image' align='middle' src='images/select_new_phone.png'      name='newsystem_phone'       alt='"._("New Phone")."' title='"._("New Phone")."'>".
+    " <input class='center' type='image' align='middle' src='images/select_new_component.png'  name='newsystem_component'   alt='"._("New Component")."' title='"._("New Component")."'>".
+    " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
     _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-    " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='".           _("Submit")."'>&nbsp;".
+    " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='".           _("Submit")."'>&nbsp;".
     "</div>";
 
 
index 5226698b41bb6e37fe1eb2872e980e6ba8b09f3a..93b22ba45531d999ee8af83e3568e87cf31fc323 100644 (file)
@@ -667,15 +667,15 @@ class userManagement extends plugin
 
     /* NEW LIST MANAGMENT */
     $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-      " <input type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-      " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
-      " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_new_user.png' title='"._("Create new user")."' alt='"._("New user")."' name='user_new'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_new.png' title='"._("Create new template")."' alt='"._("New template")."' name='user_tplnew'>&nbsp;".
-      " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+      " <input class='center' type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
+      " <img   class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_new_user.png' title='"._("Create new user")."' alt='"._("New user")."' name='user_new'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_new.png' title='"._("Create new template")."' alt='"._("New template")."' name='user_tplnew'>&nbsp;".
+      " <img   class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
       _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-      " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
+      " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
       "</div>";
 
     $action= "<input type='image' src='images/edit.png' alt='"._("edit")."'     name='user_edit_%KEY%' title='"._("Edit user")."'>";
index 736a6734637a7b376bf1bce1bc6513ff73375e3b..45a53c62a1f89f30cbe5a6088c45566f31f4c780 100644 (file)
@@ -1,9 +1,9 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4">
 <tr>
   <td style="vertical-align:top;width:600px;">
   <div class="contentboxh">
     <p class="contentboxh">
-     <LABEL for="userlist">{t}List of users{/t}</LABEL> {$hint}
+     <label for="userlist">{t}List of users{/t}</label> {$hint}
     </p>
   </div>
   <div class="contentboxb">
@@ -12,7 +12,7 @@
   <div style='height:4px;'></div>
   <div class="contentboxb" style="border-top:1px solid #B0B0B0;">
                        {$userlist}
-      <input type=hidden name="edit_helper">
+      <input type="hidden" name="edit_helper">
   </div>
   </td>
   <td style="vertical-align:top;">
        <table summary="" style="border-top:1px solid #B0B0B0;" width="100%">
                <tr>
                        <td>
-                               <input type=checkbox name="templates" value="1" {$templates} onClick="mainform.submit()" title="{t}Select to see template pseudo users{/t}">{t}Show templates{/t}<br>
-                               <input type=checkbox name="functionalusers" value="1" {$functionalusers} onClick="mainform.submit()" title="{t}Select to see users that have only a GOsa object{/t}">{t}Show functional users{/t}<br>
-                               <input type=checkbox name="unixusers" value="1" {$unixusers} onClick="mainform.submit()" title="{t}Select to see users that have posix settings{/t}">{t}Show unix users{/t}<br>
-                               <input type=checkbox name="mailusers" value="1" {$mailusers} onClick="mainform.submit()" title="{t}Select to see users that have mail settings{/t}">{t}Show mail users{/t}<br>
-                               <input type=checkbox name="sambausers" value="1" {$sambausers} onClick="mainform.submit()" title="{t}Select to see users that have samba settings{/t}">{t}Show samba users{/t}<br>
-                               <input type=checkbox name="proxyusers" value="1" {$proxyusers} onClick="mainform.submit()" title="{t}Select to see users that have proxy settings{/t}">{t}Show proxy users{/t}<br>
+                               <input type="checkbox" name="templates" value="1" {$templates} onClick="mainform.submit()" title="{t}Select to see template pseudo users{/t}">{t}Show templates{/t}<br>
+                               <input type="checkbox" name="functionalusers" value="1" {$functionalusers} onClick="mainform.submit()" title="{t}Select to see users that have only a GOsa object{/t}">{t}Show functional users{/t}<br>
+                               <input type="checkbox" name="unixusers" value="1" {$unixusers} onClick="mainform.submit()" title="{t}Select to see users that have posix settings{/t}">{t}Show unix users{/t}<br>
+                               <input type="checkbox" name="mailusers" value="1" {$mailusers} onClick="mainform.submit()" title="{t}Select to see users that have mail settings{/t}">{t}Show mail users{/t}<br>
+                               <input type="checkbox" name="sambausers" value="1" {$sambausers} onClick="mainform.submit()" title="{t}Select to see users that have samba settings{/t}">{t}Show samba users{/t}<br>
+                               <input type="checkbox" name="proxyusers" value="1" {$proxyusers} onClick="mainform.submit()" title="{t}Select to see users that have proxy settings{/t}">{t}Show proxy users{/t}<br>
 
             </td>
         </tr>
     </table>
-    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;"><tr><td><LABEL for='filter'><img alt="Search" src="{$search_image}" align="middle" title="{t}Display users matching{/t}"></LABEL></td>
+    <table summary="" width="100%" style="border-top:1px solid #B0B0B0;"><tr><td><label for='filter'><img alt="Search" src="{$search_image}" class="center" title="{t}Display users matching{/t}"></label></td>
     <td width="99%"><input id='filter' style='width:99%' type='text' name='regexit' maxlength='20' value='{$regex}' title='{t}Regular expression for matching user names{/t}' onChange="mainform.submit()"></td></tr></table>
    {$apply}
    </div>
index 465ea979e239bb59e9a284e5de78a03e8f148504..6c284053db3692cbc69cc0388ec44b480105f79d 100644 (file)
@@ -38,7 +38,7 @@ if ($remove_lock){
   if (isset($_SESSION['objectinfo'])){
     $display= print_header(get_template_path('images/user.png'),
                            _("User administration"),
-                           "<img alt=\"\" align=\"middle\" src=\"".
+                           "<img alt=\"\" class=\"center\" src=\"".
                            get_template_path('images/closedlock.png').
                            "\"> ".$_SESSION['objectinfo']);
   } else {
index 6786efdc6dd8ae66a080fbe79b5af4a745b6ef14..546ab99532709abb17c66289969d9258fb4d0239 100644 (file)
@@ -291,13 +291,13 @@ class blocklist extends plugin
 
       /* NEW LIST MANAGMENT */
       $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-        " <input type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-        " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
-        " <input type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
-        " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-        " <input type='image' align='middle' src='images/list_new_blocklist.png' title='"._("Create new blocklist")."' alt='"._("New Blocklist")."' name='user_new'>&nbsp;".
-        " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;"._("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-        " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
+        " <input class='center' type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+        " <input class='center' type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
+        " <input class='center' type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
+        " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+        " <input class='center' type='image' align='middle' src='images/list_new_blocklist.png' title='"._("Create new blocklist")."' alt='"._("New Blocklist")."' name='user_new'>&nbsp;".
+        " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;"._("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
+        " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
         "</div>";
 
       $action= "<input type='image' src='images/edit.png' alt='"._("edit")."'     name='user_edit_%KEY%' title='"._("Edit user")."'>";
index e36036a5dc576384b0a8aa4ce749197967239c75..78391cf0ea6f3657e97e05e7e17d85cc253d2659 100644 (file)
@@ -288,14 +288,14 @@ class phoneConferenceManagment extends plugin
     }
 
     $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-      " <input type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-      " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
-      " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-      " <input type='image' align='middle' src='images/list_new_conference.png' title='"._("Create new conference")."' alt='"._("New conference")."' name='user_new'>&nbsp;".
-      " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+      " <input class='center' type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root")."'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
+      " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_new_conference.png' title='"._("Create new conference")."' alt='"._("New conference")."' name='user_new'>&nbsp;".
+      " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
       _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-      " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit").     "'>&nbsp;".
+      " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit").     "'>&nbsp;".
       "</div>";
 
     /* Images for delete / edit */
index 22a2a0235b10e52496f0667781beb96e801db5a0..ef7688e8eb469a684a5fb3caf65d569ee8024386 100755 (executable)
@@ -324,14 +324,14 @@ class gofonMacro extends plugin
 
    /* NEW LIST MANAGMENT */
     $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-            " <input type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-            " <input type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root").        "'>&nbsp;".
-            " <input type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."'                     name='dep_home'>&nbsp;".
-            " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
-            " <input type='image' align='middle' src='images/list_new_macro.png' title='"._("Create new phone macro")."' alt='"._("New")."' name='user_new'>&nbsp;".
-            " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+            " <input class='center' type='image' align='middle' src='images/list_back.png' title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+            " <input class='center' type='image' src='images/list_root.png' align='middle' title='"._("Go to root department")."' name='dep_root' alt='"._("Root").        "'>&nbsp;".
+            " <input class='center' type='image' align='middle' src='images/list_home.png' title='"._("Go to users department")."' alt='"._("Home")."'                     name='dep_home'>&nbsp;".
+            " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
+            " <input class='center' type='image' align='middle' src='images/list_new_macro.png' title='"._("Create new phone macro")."' alt='"._("New")."' name='user_new'>&nbsp;".
+            " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
             _("Current base")."&nbsp;<select name='depselect' onChange='mainform.submit()'>$options</select>".
-            " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
+            " <input class='center' type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
             "</div>";