54 $this->heading = $a_val;
94 $this->footer = $a_val;
114 $this->panel_style = $a_val;
134 $this->heading_style = $a_val;
154 $this->footer_style = $a_val;
174 $tpl =
new ilTemplate(
"tpl.panel.html",
true,
true,
"Services/UIComponent/Panel");
176 $head_outer_div_style =
"";
179 $tpl->setCurrentBlock(
"heading");
184 case self::HEADING_STYLE_BLOCK:
185 $tpl->setVariable(
"HEAD_DIV_STYLE",
"panel-heading ilBlockHeader");
186 $tpl->setVariable(
"HEAD_H3_STYLE",
"ilBlockHeader");
187 $head_outer_div_style =
"il_Block";
190 case self::HEADING_STYLE_SUBHEADING:
191 $tpl->setVariable(
"HEAD_DIV_STYLE",
"panel-heading ilHeader");
192 $tpl->setVariable(
"HEAD_H3_STYLE",
"ilHeader");
196 $tpl->parseCurrentBlock();
203 $tpl->setCurrentBlock(
"footer");
208 case self::FOOTER_STYLE_BLOCK:
209 $tpl->setVariable(
"FOOT_DIV_STYLE",
"panel-footer ilBlockInfo");
213 $tpl->parseCurrentBlock();
218 case self::PANEL_STYLE_SECONDARY:
219 $tpl->setVariable(
"PANEL_STYLE",
"panel panel-default ".$head_outer_div_style);
223 $tpl->setVariable(
"PANEL_STYLE",
"panel panel-primary ".$head_outer_div_style);