4 include_once
'Services/Form/classes/class.ilFormPropertyGUI.php';
27 $this->lng = $DIC->language();
28 parent::__construct($a_title, $a_id);
29 $this->
setType(
"glo_adv_col_sort");
39 $this->value = $a_value;
79 $tpl =
new ilTemplate(
"tpl.adv_col_sort_input.html",
true,
true,
"Modules/Glossary");
80 include_once(
"./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php");
82 foreach ($this->
getValue() as $k => $v) {
83 $tpl->setCurrentBlock(
"item");
84 $tpl->setVariable(
"TEXT", $v[
"text"]);
87 $tpl->setVariable(
"TXT_DOWN",
$lng->txt(
"down"));
89 $tpl->setVariable(
"TXT_UP",
$lng->txt(
"up"));
90 $tpl->setVariable(
'NAME', $this->
getPostVar() .
"[" . $k .
"][id]");
91 $tpl->setVariable(
'TNAME', $this->
getPostVar() .
"[" . $k .
"][text]");
94 $tpl->parseCurrentBlock();
107 $a_tpl->setCurrentBlock(
"prop_generic");
108 $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
109 $a_tpl->parseCurrentBlock();
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
static get($a_glyph, $a_text="")
Get glyph html.
special template class to simplify handling of ITX/PEAR
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled