From: hickert Date: Thu, 1 Dec 2005 11:51:23 +0000 (+0000) Subject: Script will be updated correctly now X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=87dfe6c910c444c76d489b5d27f0f3cb58279f2e;p=gosa.git Script will be updated correctly now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2179 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index c04abdbeb..cb2fe6009 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -78,7 +78,7 @@ class application extends plugin } - function generateTempalte(){ + function generateTemplate(){ $str= "# This code is part of GOsa (https://gosa.gonicus.de)\n#\n"; $values = array(); @@ -129,7 +129,7 @@ class application extends plugin } # 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 beabfee52..da2bc67cc 100644 --- a/plugins/admin/applications/class_applicationParameters.inc +++ b/plugins/admin/applications/class_applicationParameters.inc @@ -52,6 +52,7 @@ class applicationParameters extends plugin } 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); } } @@ -104,6 +105,7 @@ class applicationParameters extends plugin $smarty= get_smarty(); $smarty->assign("table", $table); $display.= $smarty->fetch(get_template_path('parameters.tpl', TRUE)); + $this->parent->by_object['application']->generateTemplate(); return ($display); }