summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d85e28)
raw | patch | inline | side by side (parent: 6d85e28)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Dec 2005 11:51:23 +0000 (11:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Dec 2005 11:51:23 +0000 (11:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2179 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/applications/class_applicationGeneric.inc | patch | blob | history | |
plugins/admin/applications/class_applicationParameters.inc | patch | blob | history |
diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc
index c04abdbeba18ff8edc6176d00e03d2f19ccefc4c..cb2fe6009045c35ce9bbce9e6d77651d276f5dd3 100644 (file)
}
- function generateTempalte(){
+ function generateTemplate(){
$str= "# This code is part of GOsa (https://gosa.gonicus.de)\n#\n";
$values = array();
}
# if(isset($_POST['ScriptTemplate'])){
- $head = $this->generateTempalte();
+ $head = $this->generateTemplate();
$scr = $this->gotoLogonScript;
if(preg_match("/### END HEADER ###/",$scr)){
diff --git a/plugins/admin/applications/class_applicationParameters.inc b/plugins/admin/applications/class_applicationParameters.inc
index beabfee52af0234770710ba8329a1e385ae63059..da2bc67ccda9a92b266141c5739d828f2c780ce3 100644 (file)
} else {
$display= $this->show_header(_("Create options"),
_("This application has options disabled. You can enable them by clicking below."));
+ $this->parent->by_object['application']->generateTemplate();
return ($display);
}
}
$smarty= get_smarty();
$smarty->assign("table", $table);
$display.= $smarty->fetch(get_template_path('parameters.tpl', TRUE));
+ $this->parent->by_object['application']->generateTemplate();
return ($display);
}