summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d5cf87)
raw | patch | inline | side by side (parent: 2d5cf87)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Mar 2010 16:41:48 +0000 (16:41 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Mar 2010 16:41:48 +0000 (16:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16001 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/themes/modern/style.css | patch | blob | history | |
gosa-core/include/class_plugin.inc | patch | blob | history |
index 7015f5c105d8e1ce932a940e742bbc29a11e882e..06c6a0ee8e2bfdd12f26fdaf6f2911782710c951 100644 (file)
text-align:right;
}
+.plugin-disable-header {
+ border-bottom:1px solid #DDD;
+}
+
+.plugin-enable-header {
+}
/* Plugin navigation bar */
}
-/* Containers */
-
-div.horizontal-container {
- width:100%;
- margin:0;
- padding:0;
- height:100%;
- clear:both;
-}
-
-div.container {
- float:left;
- height:100%;
- margin-right:-1px;
- border-right:1px solid #CCC;
-}
-
-div.last-container {
- float:left;
- height:100%;
-}
-
-div.padder {
- padding:4px;
- height:100%;
- width:100%;
-}
+/* Cleaner */
.clear-left{
clear:left;
index be28572cdfa468b4c7d82de9b91c749f0197bef9..333ae0a7e0530895ea30df828656360726fa1e5a 100644 (file)
} else {
$state= "";
}
- $display= "<table summary=\"\" width=\"100%\"><tr>\n<td colspan=2><p><b>$text</b></p>\n";
- $display.= "<input type=submit value=\"$button_text\" name=\"modify_state\" ".$state.
- "><p class=\"seperator\"> </p></td></tr></table>";
+ $display = "<div class='plugin-enable-header'>\n";
+ $display.= "<p>$text</p>\n";
+ $display.= "<button type='submit' name=\"modify_state\" ".$state.">$button_text</button>\n";
+ $display.= "</div>\n";
return($display);
}
} else {
$state= "";
}
- $display = "<p>$text<br>\n";
- $display.= "<input type=submit value=\"$button_text\" name=\"modify_state\" ".$state."></p>";
+ $display = "<div class='plugin-disable-header'>\n";
+ $display.= "<p>$text</p>\n";
+ $display.= "<button type='submit' name=\"modify_state\" ".$state.">$button_text</button>\n";
+ $display.= "</div>\n";
return($display);
}
- /*! \brief Show header message for tab dialogs */
- function show_header($button_text, $text, $disabled= FALSE)
- {
- echo "FIXME: show_header should be replaced by show_disable_header and show_enable_header<br>";
- if ($disabled == TRUE){
- $state= "disabled";
- } else {
- $state= "";
- }
- $display= "<table summary=\"\" width=\"100%\"><tr>\n<td colspan=2><p><b>$text</b></p>\n";
- $display.= "<input type=submit value=\"$button_text\" name=\"modify_state\" ".
- ($this->acl_is_createable()?'':'disabled')." ".$state.
- "><p class=\"seperator\"> </p></td></tr></table>";
-
- return($display);
- }
-
/* Create unique DN */
function create_unique_dn2($data, $base)