summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb5d741)
raw | patch | inline | side by side (parent: cb5d741)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Sep 2010 13:27:26 +0000 (13:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Sep 2010 13:27:26 +0000 (13:27 +0000) |
-Added a hidden variable which keeps track of plugin modifications.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19625 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19625 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_tabs.inc | patch | blob | history |
index 6d1b5e871781daf574a885a21751473dd6e8ffe6..339e20f1fcf6a7c3b9d2e57a604ddfa235061a50 100644 (file)
"\n {$display}".
"\n </div>";
}
+
+ // Detect if we've modifications right now.
+ foreach ($this->by_name as $class => $name){
+ $this->isPluginModified |= $this->by_object[$class]->is_modified;
+ }
+ $display="<input style='width:100%;' type='text' id='pluginModified' name='pluginModified' value='{$this->isPluginModified}'>".$display;
+
return ($display);
}