summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51c376f)
raw | patch | inline | side by side (parent: 51c376f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jul 2007 11:41:25 +0000 (11:41 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Jul 2007 11:41:25 +0000 (11:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6918 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 6a6fba1bf42c6cf08ca1e283a5d3277554c687b8..3145a7c14988b7aad0470826ef08a15a21977f85 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;
height:20px;
margin:0px;
height:22px;
font-family:arial,helvetica,sans-serif;
- background-color:#f0f0f0;
text-decoration:none;
color:#00348B;
font-size:13px;
border:0px;
margin:0px;
font-family:arial,helvetica,sans-serif;
- background-color:#c0c0c0;
text-decoration:none;
color:#00348b;
font-size:13px;
border:0px;
margin:0px;
font-family:arial,helvetica,sans-serif;
- background-color:#c0c0c0;
text-decoration:none;
color:#00348b;
font-size:13px;
border:0px;
margin:0px;
font-family:arial,helvetica,sans-serif;
- background-color:#c0c0c0;
text-decoration:none;
color:#00348b;
font-size:13px;
index da3441eaab7d4417e18116ebe1116060b373c19d..f9a5b3a7878a94980514534ced443d0f9b2dd0a0 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
var $new= TRUE;
var $saved_attributes= array();
+ /* 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
diff --git a/include/class_tabs.inc b/include/class_tabs.inc
index ee245f01b22ac1f7e9a0adf729dc3f0335a65e49..4e8ee724911d61d879288965290b2f398e8bdc01 100644 (file)
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
$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 class=\"$style[$index]\" $notify><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>";
}