X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=gosa-core%2Finclude%2Fclass_plugin.inc;h=75da65582e81a825d6c7f025f1a6907be8d07a3e;hb=3057b7c840af1c07d2e13762212acdfa5012a813;hp=be28572cdfa468b4c7d82de9b91c749f0197bef9;hpb=e77f4c160cd9298471a9d193829325d4eb097703;p=gosa.git diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index be28572cd..75da65582 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -276,6 +276,8 @@ class plugin session::set('LOCK_VARS_USED_GET',array()); session::set('LOCK_VARS_USED_POST',array()); session::set('LOCK_VARS_USED_REQUEST',array()); + + pathNavigator::registerPlugin($this); } /*! \brief Removes object from parent @@ -588,9 +590,10 @@ class plugin } else { $state= ""; } - $display= "\n

$text

\n"; - $display.= "

 

"; + $display = "
\n"; + $display.= "

$text

\n"; + $display.= "\n"; + $display.= "
\n"; return($display); } @@ -604,29 +607,14 @@ class plugin } else { $state= ""; } - $display = "

$text
\n"; - $display.= "

"; + $display = "
\n"; + $display.= "

$text

\n"; + $display.= "\n"; + $display.= "
\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
"; - if ($disabled == TRUE){ - $state= "disabled"; - } else { - $state= ""; - } - $display= "\n

$text

\n"; - $display.= "acl_is_createable()?'':'disabled')." ".$state. - ">

 

"; - - return($display); - } - /* Create unique DN */ function create_unique_dn2($data, $base)