BUG 0000 Added new option "create dashboard" in wizard for the plugins
- New requirement in the creation of plugins, creating dashlets - The new option was added in the wizard for creating dashlets - Fixed the files needed for this new option
This commit is contained in:
@@ -19,8 +19,9 @@ class PMDashlet extends DashletInstance implements DashletInterface {
|
||||
$pluginsDashlets = $oPluginRegistry->getDashlets();
|
||||
foreach ($pluginsDashlets as $pluginDashlet) {
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . PATH_PLUGINS . $pluginDashlet . PATH_SEP);
|
||||
require_once 'classes/class.' . $className . '.php';
|
||||
}
|
||||
|
||||
require_once ("classes" . PATH_SEP . "class." . $className . ".php");
|
||||
}
|
||||
G::LoadClass($className);
|
||||
eval("\$additionalFields = $className::getAdditionalFields(\$className);");
|
||||
@@ -43,8 +44,9 @@ class PMDashlet extends DashletInstance implements DashletInterface {
|
||||
$pluginsDashlets = $oPluginRegistry->getDashlets();
|
||||
foreach ($pluginsDashlets as $pluginDashlet) {
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . PATH_PLUGINS . $pluginDashlet . PATH_SEP);
|
||||
require_once 'classes/class.' . $className . '.php';
|
||||
}
|
||||
|
||||
require_once ("classes" . PATH_SEP . "class." . $className . ".php");
|
||||
}
|
||||
$this->dashletObject = new $className();
|
||||
$this->dashletObject->setup($this->dashletInstance);
|
||||
@@ -303,8 +305,9 @@ class PMDashlet extends DashletInstance implements DashletInterface {
|
||||
$pluginsDashlets = $oPluginRegistry->getDashlets();
|
||||
foreach ($pluginsDashlets as $pluginDashlet) {
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . PATH_PLUGINS . $pluginDashlet . PATH_SEP);
|
||||
require_once 'classes/class.' . $className . '.php';
|
||||
}
|
||||
|
||||
require_once ("classes" . PATH_SEP . "class." . $className . ".php");
|
||||
}
|
||||
G::LoadClass($className);
|
||||
eval("\$additionalFields = $className::getXTemplate(\$className);");
|
||||
|
||||
Reference in New Issue
Block a user