4 include_once
'Services/Form/classes/class.ilFormPropertyGUI.php';
25 parent::__construct($a_title, $a_id);
26 $this->
setType(
"glo_adv_col_sort");
36 $this->value = $a_value;
79 $tpl =
new ilTemplate(
"tpl.adv_col_sort_input.html",
true,
true,
"Modules/Glossary");
82 foreach ($this->
getValue() as $k => $v)
84 $tpl->setCurrentBlock(
"item");
85 $tpl->setVariable(
"TEXT", $v[
"text"]);
88 $tpl->setVariable(
"TXT_DOWN", $lng->txt(
"down"));
90 $tpl->setVariable(
"TXT_UP", $lng->txt(
"up"));
95 $tpl->parseCurrentBlock();
108 $a_tpl->setCurrentBlock(
"prop_generic");
109 $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
110 $a_tpl->parseCurrentBlock();
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
special template class to simplify handling of ITX/PEAR
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled