Changeset View
Changeset View
Standalone View
Standalone View
lib/kolab_client_output.php
Context not available. | |||||
$this->tpl->assign($name, $value); | $this->tpl->assign($name, $value); | ||||
} | } | ||||
$script = ''; | $script = array(); | ||||
if (!empty($this->env)) { | if (!empty($this->env)) { | ||||
$script[] = 'kadm.env = ' . json_encode($this->env) . ';'; | $script[] = 'kadm.env = ' . json_encode($this->env) . ';'; | ||||
Context not available. | |||||
} | } | ||||
$this->tpl->assign('skin_path', 'skins/' . $this->skin . '/'); | $this->tpl->assign('skin_path', 'skins/' . $this->skin . '/'); | ||||
if ($script) { | if (!empty($script)) { | ||||
$script = "<script type=\"text/javascript\">\n" . implode("\n", $script) . "\n</script>"; | $script = "<script type=\"text/javascript\">\n" . implode("\n", $script) . "\n</script>"; | ||||
$this->tpl->assign('script', $script); | $this->tpl->assign('script', $script); | ||||
} | } | ||||
Context not available. |