36 $this->frameset_title = $a_fs_title;
44 $this->main_frame_source = $a_main_source;
52 $this->main_frame_title = $a_main_title;
60 $this->main_frame_name = $a_main_name;
68 $this->side_frame_source = $a_side_source;
76 $this->side_frame_title = $a_side_title;
84 $this->side_frame_name = $a_side_name;
94 $this->mainwidth = $a_mainwidth;
104 return $this->mainwidth;
114 $this->sidewidth = $a_sidewidth;
124 return $this->sidewidth;
132 return $this->
show(
true);
139 function show($a_get_only =
false)
143 if ($ilSetting->get(
"tree_frame") ==
"right")
158 $tpl->setVariable(
"SRC_".$main, $this->main_frame_source);
159 $tpl->setVariable(
"SRC_".$side, $this->side_frame_source);
160 $tpl->setVariable(
"TITLE_".$main, $this->main_frame_title);
161 $tpl->setVariable(
"TITLE_".$side, $this->side_frame_title);
162 $tpl->setVariable(
"NAME_".$main, $this->main_frame_name);
163 $tpl->setVariable(
"NAME_".$side, $this->side_frame_name);
166 if ($ilSetting->get(
'short_inst_name') !=
"")
168 $tpl->setVariable(
"WINDOW_TITLE",
169 $ilSetting->get(
'short_inst_name'));
173 $tpl->setVariable(
"WINDOW_TITLE",
183 $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