26 $this->dirs = array(
"all",
"top",
"bottom",
"left",
"right");
36 $this->allvalue = $a_allvalue;
46 return $this->allvalue;
56 $this->topvalue = $a_topvalue;
66 return $this->topvalue;
76 $this->bottomvalue = $a_bottomvalue;
86 return $this->bottomvalue;
96 $this->leftvalue = $a_leftvalue;
106 return $this->leftvalue;
116 $this->rightvalue = $a_rightvalue;
126 return $this->rightvalue;
138 foreach ($this->dirs as $dir)
177 $layout_tpl =
new ilTemplate(
"tpl.prop_trbl_layout.html",
true,
true,
"Services/Style");
179 foreach ($this->dirs as $dir)
181 $tpl =
new ilTemplate(
"tpl.prop_trbl_select.html",
true,
true,
"Services/Style");
182 $pre_options = array_merge(array(
"" =>
""),
194 foreach ($pre_options as $option)
196 $tpl->setCurrentBlock(
"pre_option");
197 $tpl->setVariable(
"VAL_PRE", $option);
198 $tpl->setVariable(
"TXT_PRE", $option);
201 $tpl->setVariable(
"PRE_SELECTED",
'selected="selected"');
203 $tpl->parseCurrentBlock();
207 $tpl->setVariable(
"TXT_DIR", $lng->txt(
"sty_$dir"));
208 $tpl->setVariable(
"DIR", $dir);
210 $layout_tpl->setVariable(strtoupper($dir),
$tpl->get());
213 $a_tpl->setCurrentBlock(
"prop_generic");
214 $a_tpl->setVariable(
"PROP_GENERIC", $layout_tpl->get());
215 $a_tpl->parseCurrentBlock();