summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 36578fc)
raw | patch | inline | side by side (parent: 36578fc)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jan 2010 15:28:55 +0000 (15:28 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jan 2010 15:28:55 +0000 (15:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15012 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/themes/default/style.css | patch | blob | history | |
gosa-core/include/class_listing.inc | patch | blob | history |
index 51f1bcb17e4c3740beb6fdbc031d9052f23c011a..37fd2d72e4a6770149e80f82edcd96a68b7bc72c 100644 (file)
overflow: hidden;
max-width:500px;
}
+
+td.nlistFooter {
+ background-color:#E5E5E5;
+ border-left:1px solid #C0C0C0;
+ border-right:1px solid #C0C0C0;
+ border-bottom:1px solid #C0C0C0;
+ padding:3px;
+ height:16px;
+}
+
index f4c2ed9a0b5f337551a41cb96edffb7713b1f2da..558e859d551279382c64c0dd2b1b2a2a6fdc304b 100644 (file)
// Build list body
$result.= "<tbody class='listScrollContent listBodyFormat' id='t_nscrollbody' style='height:".$height."px;'>\n";
-###########################
-
// No results? Just take an empty colspanned row
if (count($this->entries) + count($this->departments) == 0) {
$result.= "<tr class='rowxp0'><td class='list1nohighlight' colspan='$this->numColumns' style='height:100%;border-right:0px;width:100%;'> </td></tr>";
$result.= "</tr>";
}
- // Close list
- $result.= "</tbody></table></div></td></tr></table>";
+ // Close list body
+ $result.= "</tbody></table></div></td></tr>";
// Add the footer if requested
-#################################
- #if ($this->showFooter) {
- # $result.= "<tr><td class='scrollhead'><table summary='' style='width:100%' cellspacing='0' id='t_scrollfoot'><tr><td class='listfooter' style='border-bottom:0px;'>";
-
- # foreach ($this->objectTypes as $objectType) {
- # if (isset($this->objectTypeCount[$objectType['label']])) {
- # $label= _($objectType['label']);
- # $result.= "<img class='center' src='".$objectType['image']."' title='$label' alt='$label'> ".$this->objectTypeCount[$objectType['label']]." ";
- # }
- # }
-
- # $result.= "<td class='listfooter' style='width:13px;border-right:0px;'> </td></table></td></tr>";
- #}
+ if ($this->showFooter) {
+ $result.= "<tr><td class='nlistFooter'>";
+
+ foreach ($this->objectTypes as $objectType) {
+ if (isset($this->objectTypeCount[$objectType['label']])) {
+ $label= _($objectType['label']);
+ $result.= "<img class='center' src='".$objectType['image']."' title='$label' alt='$label'> ".$this->objectTypeCount[$objectType['label']]." ";
+ }
+ }
+
+ $result.= "</td></tr>";
+ }
+
+ // Close list
+ $result.= "</table>";
$smarty= get_smarty();
$smarty->assign("usePrototype", "true");