Code

Fixed phone list
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 May 2006 08:15:27 +0000 (08:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 May 2006 08:15:27 +0000 (08:15 +0000)
Fixed typos

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3412 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/style.css
plugins/addons/addressbook/class_addressbook.inc
plugins/addons/addressbook/contents.tpl
plugins/admin/applications/class_divListApplication.inc
plugins/admin/ogroups/class_termgroup.inc

index 0d36d72b77ca1081820fff71de15914aad31ed16..2204b787efc9577dd9971fc2416179d28074acc9 100644 (file)
@@ -289,6 +289,12 @@ table.menuitem:hover {
 
 td.phonelist:hover {
        background-color:#d2d2d2;
+       border-right:1px solid #B0B0B0;
+       border-bottom:1px solid #B0B0B0;
+}
+
+td.phonelist {
+       border-right:1px solid #B0B0B0;
 }
 
 h1.menuheader {
@@ -758,3 +764,12 @@ input.menubar{
        padding:0px;
        width:100%;
 }
+
+td.tbhead {
+       border-right:1px solid #B0B0B0;
+       border-bottom:1px solid #B0B0B0;
+}
+
+td.tbrhead {
+       border-bottom:1px solid #B0B0B0;
+}
index 6ec8948e9ea27a8f9409a71aae1a00e759e84034..615a5bbfb0589ed0a030c193c5d98ea2fa3d5abe 100644 (file)
@@ -336,7 +336,6 @@ class addressbook extends plugin
                        /* Walk through LDAP results */
                        while ($attrs= $ldap->fetch()){
 
-#! hickert  
                                /* prevent empty vaiables */
                                foreach($this->attributes as $atr)          {
                                        if(!isset($attrs[$atr][0])) {
@@ -358,18 +357,18 @@ class addressbook extends plugin
                                                "<td class=\"phonelist\" title=\"".$attrs['sn'][0].", ".$attrs['givenName'][0]."\" onClick='location.href=\"main.php?plug=".validate($_GET['plug'])."&amp;start=".validate($_GET['start'])."&amp;show=".base64_encode($attrs['dn'])."\"'><a style='vertical-align:middle;' href=\"main.php?plug=".validate($_GET['plug'])."&amp;start=".validate($_GET['start'])."&amp;show=".base64_encode($attrs['dn'])."\">".$attrs['sn'][0].", ".$attrs['givenName'][0].
                                                "</a>
                                                </td>
-                                               <td title=\""._("Dial")." ".$attrs['telephoneNumber'][0]."\">
+                                               <td class=\"phonelist\" title=\""._("Dial")." ".$attrs['telephoneNumber'][0]."\">
                                                <a style='vertical-align:middle;' href=\"main.php?plug=".validate($_GET['plug'])."&amp;dial=telephoneNumber&amp;start=".validate($_GET['start'])."&amp;target=".base64_encode($attrs['dn'])."\">".$attrs['telephoneNumber'][0]."
                                                </a>
                                                </td>
-                                               <td title=\"".$attrs['facsimileTelephoneNumber'][0]."\">
+                                               <td class=\"phonelist\" title=\"".$attrs['facsimileTelephoneNumber'][0]."\">
                                                ".$attrs['facsimileTelephoneNumber'][0]."
                                                </td>
-                                               <td title=\""._("Dial")." ".$attrs['mobile'][0]."\">
+                                               <td class=\"phonelist\" title=\""._("Dial")." ".$attrs['mobile'][0]."\">
                                                <a style='vertical-align:middle;' href=\"main.php?plug=".validate($_GET['plug'])."&amp;dial=mobile&amp;start=".validate($_GET['start'])."&amp;target=".base64_encode($attrs['dn'])."\">".$attrs['mobile'][0]."
                                                </a>
                                                </td>
-                                               <td title=\""._("Dial")." ".$attrs['homePhone'][0]."\">
+                                               <td class=\"phonelist\" title=\""._("Dial")." ".$attrs['homePhone'][0]."\">
                                                <a style='vertical-align:middle;' href=\"main.php?plug=".validate($_GET['plug'])."&amp;dial=homePhone&amp;start=".validate($_GET['start'])."&amp;target=".base64_encode($attrs['dn'])."\">".$attrs['homePhone'][0]."
                                                </a>
                                                </td>
index c39931573e4d0cf68b963fd17b95529c19bc2804..3e61376feb52327507e9c4a94b1fe88f8292d7c2 100644 (file)
@@ -1,7 +1,7 @@
-<table summary="" style="table-layout:fixed; width:100%; vertical-align:top; text-align:left; table-layout:auto;" cellpadding="4">
+<table summary="" style="table-layout:fixed; width:100%; vertical-align:top; text-align:left; table-layout:auto;" cellpadding="4" border="0">
 <tr>
   <td style="vertical-align:top;">
-   <table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;"  cellpadding="4" cellspacing="0" rules="cols">
+   <table summary="" style="border:1px solid #B0B0B0; width:100%; vertical-align:top; text-align:left;"  cellpadding="4" cellspacing="0">
     <colgroup>
         <col width="32%">
         <col width="14%">
@@ -11,8 +11,8 @@
         <col width="8%">
     </colgroup>
     <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
-     <td>{t}Name{/t}</td><td>{t}Phone{/t}</td><td>{t}Fax{/t}</td>
-     <td>{t}Mobile{/t}</td><td>{t}Private{/t}</td><td>{t}Contact{/t}</td>
+     <td class="tbhead">{t}Name{/t}</td><td class="tbhead">{t}Phone{/t}</td><td class="tbhead">{t}Fax{/t}</td>
+     <td class="tbhead">{t}Mobile{/t}</td><td class="tbhead">{t}Private{/t}</td><td class="tbrhead">{t}Contact{/t}</td>
     </tr>
     {$search_result}
    </table>
index 2d9cebc5904048799d279bff1c1ea5c2bdeef6f1..646caf12b53352d5dcfbeb270820398f8a6a65b2 100755 (executable)
@@ -94,17 +94,17 @@ class divListApplication extends MultiSelectWindow
      * It provides general navigation and object creation
      */
     $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
-      " <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_back.png' 
-        title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
-      " <input class='center' type='image' align='middle' src='images/list_home.png' 
-        title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
-      " <input class='center' type='image' src='images/list_reload.png' align='middle' 
-        title='"._("Reload list")."' name='submit_department' alt='"._("Submit")."'>&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_back.png' ".
+        "title='"._("Go up one department")."' alt='"._("Up")."' name='dep_back'>&nbsp;".
+      " <input class='center' type='image' align='middle' src='images/list_home.png' ".
+        "title='"._("Go to users department")."' alt='"._("Home")."' name='dep_home'>&nbsp;".
+      " <input class='center' type='image' src='images/list_reload.png' align='middle' ".
+        "title='"._("Reload list")."' name='submit_department' alt='"._("Submit")."'>&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;".
+      " <input class='center' type='image' align='middle' src='images/list_new_app.png' alt='"._("new").
+        "' title='"._("Create new application")."' name='appl_new'>&nbsp;".
       $Copy_Paste.
       " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".
       _("Base")."&nbsp;<select name='CurrentMainBase' onChange='mainform.submit()' class='center'>$options</select>".
index 49d099202667cf6422bb458a4f4a3e1791f3ad2a..fab217ef85a12c2bbd286dea9f3ecb4e82f5ffd1 100644 (file)
@@ -108,7 +108,7 @@ class termgroup extends plugin
 
     /* Check for valid ntpServer selection */
     if((!$this->inheritTimeServer) && (!count($this->gotoNtpServer))){
-      $message[]= _("There must be at least one NTP server selected, or the inherit mode activated.");
+      $message[]= _("There must be at least one NTP server selected.");
     }
     return($message);
   }