summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2181d07)
raw | patch | inline | side by side (parent: 2181d07)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jul 2007 11:57:32 +0000 (11:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jul 2007 11:57:32 +0000 (11:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6919 594d385d-05f5-0310-b6e9-bd551577e9d8
html/themes/default/style.css | patch | blob | history | |
include/class_plugin.inc | patch | blob | history | |
include/class_tabs.inc | patch | blob | history |
index cbd670f3b9bfba9b8e86b0a9b3073296307afccf..cf91f5601de58d9a1e37407741b2faec74721d24 100644 (file)
padding-right:8px;
}
+div#notify {
+ background-image: url("../../images/lamp.png");
+ background-repeat:no-repeat;
+ background-position:1px 1px;
+ padding-left:18px;
+}
+
div.tab_left {
text-align:center;
background-color:#D0D0D0;
margin:0px;
height:22px;
font-family:arial,helvetica,sans-serif;
- background-color:#f8f8f8;
text-decoration:none;
color:#00008F;
font-size:13px;
border:0px;
margin:0px;
font-family:arial,helvetica,sans-serif;
- background-color:#D0D0D0;
text-decoration:none;
color:#00008F;
font-size:13px;
border:0px;
margin:0px;
font-family:arial,helvetica,sans-serif;
- background-color:#D0D0D0;
text-decoration:none;
color:#00008F;
font-size:13px;
index e613f4db9753c1a1498842c3e22943ac32f766fe..5377436705ff16c15264bd2ddf74fb6b4901c3d2 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
var $plHeadline= "";
var $plDescription= "";
+ /* This can be set to render the tabulators in another stylesheet */
+ var $pl_notify= FALSE;
+
/*! \brief plugin constructor
If 'dn' is set, the node loads the given 'dn' from LDAP
/* Check if the snapshot_base is defined */
if(!isset($tmp['SNAPSHOT_BASE'])){
- print_red(sprintf(_("The snapshot functionality is enabled, but the required variable '%s' is not configured in your gosa.conf."),$missing));
+ print_red(sprintf(_("The snapshot functionality is enabled, but the required variable '%s' is not configured in your gosa.conf."),"SNAPSHOT_BASE"));
return(FALSE);
}
diff --git a/include/class_tabs.inc b/include/class_tabs.inc
index a6025cb20ad562b0115a9754e970e509f1660ccb..e3bc989f175db25104e6e4e7eb9b83a3d0c4553f 100644 (file)
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
/* nobr causes w3c warnings so we use to keep the tab name in one line */
$title= preg_replace("/ /"," ",$title);
+ /* Take care about notifications */
+ if ($this->by_object[$class]->pl_notify){
+ $notify= "id=\"notify\"";
+ } else {
+ $notify= "";
+ }
+
if ($_SESSION['js']==FALSE){
- $display.= "<div class=\"$style[$index]\"><input type=\"submit\" name=\"$class\"".
+ $display.= "<div ".$notify." class=\"$style[$index]\"><input type=\"submit\" name=\"$class\"".
" class=\"$style[$index]\" value=\"$title\"";
} else {
- $display.= "<div class=\"$style[$index]\"><a class=\"$style[$index]\" onclick=\"return true;\" href=\"javascript:document.mainform.arg.value='$class';document.mainform.submit();\">$title</a";
+ $display.= "<div ".$notify." class=\"$style[$index]\"><a class=\"$style[$index]\" onclick=\"return true;\" href=\"javascript:document.mainform.arg.value='$class';document.mainform.submit();\">$title</a";
}
$display.= "></div></td>";
}