- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
function make_category_select($name,$selected='',$not='',$additional='')
{
global $udb,$admin,$evoLANG,$cat_cache;
$this->parent_name = $this->parent_name != "" ? $this->parent_name : $evoLANG['noparent'];
if ($this->onlyoptions != 1)
{
$a .= "<select name=\"".$name."\" ".$additional.">\n";
}
$a .= '<option value=""> '.$this->parent_name." </option>\n";
$a .= $this->make_cat_options('0',$selected,1,$not);
if ($this->onlyoptions != 1)
{
$a .= '</select>';
}
return $a;
}
bFaInlN 25.08.2021 01:10 # 0