Zeile 1704 | Zeile 1704 |
---|
$multivalue = explode(',', $setting['value']); }
|
$multivalue = explode(',', $setting['value']); }
|
| $option_list = array();
|
for($i = 0; $i < $typecount; $i++) { $optionsexp = explode("=", $type[$i]); if(!isset($optionsexp[1])) { continue;
|
for($i = 0; $i < $typecount; $i++) { $optionsexp = explode("=", $type[$i]); if(!isset($optionsexp[1])) { continue;
|
}
| }
|
$title_lang = "setting_{$setting['name']}_{$optionsexp[0]}"; if(isset($lang->$title_lang)) {
| $title_lang = "setting_{$setting['name']}_{$optionsexp[0]}"; if(isset($lang->$title_lang)) {
|
Zeile 1724 | Zeile 1725 |
---|
else if($type[0] == "radio") { if($setting['value'] == $optionsexp[0])
|
else if($type[0] == "radio") { if($setting['value'] == $optionsexp[0])
|
{
| {
|
$option_list[$i] = $form->generate_radio_button($element_name, $optionsexp[0], htmlspecialchars_uni($optionsexp[1]), array('id' => $element_id.'_'.$i, "checked" => 1, 'class' => $element_id));
|
$option_list[$i] = $form->generate_radio_button($element_name, $optionsexp[0], htmlspecialchars_uni($optionsexp[1]), array('id' => $element_id.'_'.$i, "checked" => 1, 'class' => $element_id));
|
}
| }
|
else { $option_list[$i] = $form->generate_radio_button($element_name, $optionsexp[0], htmlspecialchars_uni($optionsexp[1]), array('id' => $element_id.'_'.$i, 'class' => $element_id));
|
else { $option_list[$i] = $form->generate_radio_button($element_name, $optionsexp[0], htmlspecialchars_uni($optionsexp[1]), array('id' => $element_id.'_'.$i, 'class' => $element_id));
|
} }
| } }
|
else if($type[0] == "checkbox") { if(in_array($optionsexp[0], $multivalue))
| else if($type[0] == "checkbox") { if(in_array($optionsexp[0], $multivalue))
|
Zeile 1758 | Zeile 1759 |
---|
$setting_code .= $form->generate_hidden_field("isvisible_{$setting['name']}", 1); } }
|
$setting_code .= $form->generate_hidden_field("isvisible_{$setting['name']}", 1); } }
|
$option_list = array();
| |
}
// Do we have a custom language variable for this title or description?
| }
// Do we have a custom language variable for this title or description?
|