32 $this->lng = $DIC->language();
34 $lng = $DIC->language();
50 $this->frameset_title = $a_fs_title;
58 $this->main_frame_source = $a_main_source;
66 $this->main_frame_title = $a_main_title;
74 $this->main_frame_name = $a_main_name;
82 $this->side_frame_source = $a_side_source;
90 $this->side_frame_title = $a_side_title;
98 $this->side_frame_name = $a_side_name;
108 $this->mainwidth = $a_mainwidth;
118 return $this->mainwidth;
128 $this->sidewidth = $a_sidewidth;
138 return $this->sidewidth;
144 public function get()
146 return $this->
show(
true);
153 public function show($a_get_only =
false)
157 if (
$ilSetting->get(
"tree_frame") ==
"right") {
169 $tpl->setVariable(
"SRC_" . $main, $this->main_frame_source);
170 $tpl->setVariable(
"SRC_" . $side, $this->side_frame_source);
171 $tpl->setVariable(
"TITLE_" . $main, $this->main_frame_title);
172 $tpl->setVariable(
"TITLE_" . $side, $this->side_frame_title);
173 $tpl->setVariable(
"NAME_" . $main, $this->main_frame_name);
174 $tpl->setVariable(
"NAME_" . $side, $this->side_frame_name);
177 if (
$ilSetting->get(
'short_inst_name') !=
"") {
192 $tpl->show(
"DEFAULT",
false);
show($a_get_only=false)
Show frameset.
getSideWidth()
Get Side Width.
setMainFrameTitle($a_main_title)
title for main frame
static getStyleSheetLocation($mode="output", $a_css_name="", $a_css_location="")
get full style sheet file name (path inclusive) of current user
static stripScriptHTML($a_str, $a_allow="", $a_rm_js=true)
strip only html tags (4.0) from text $allowed contains tags to be allowed, in format tags a and b ar...
setMainWidth($a_mainwidth)
Set Main Width.
setFramesetTitle($a_fs_title)
set title for frameset (is normally shown by browser)
special template class to simplify handling of ITX/PEAR
__construct()
Constructor public.
setSideWidth($a_sidewidth)
Set Side Width.
setSideFrameName($a_side_name)
name for main frame
setSideFrameTitle($a_side_title)
title for side frame
setMainFrameSource($a_main_source)
source url for main frame
setMainFrameName($a_main_name)
name for main frame
getMainWidth()
Get Main Width.
setSideFrameSource($a_side_source)
source url for side frame