Zeile 918 | Zeile 918 |
---|
// What type of page $cache_groups = $cache_settings = array();
|
// What type of page $cache_groups = $cache_settings = array();
|
if($mybb->input['search'])
| if(isset($mybb->input['search']))
|
{ // Search
| { // Search
|
Zeile 997 | Zeile 997 |
---|
} $group_lang_var = "setting_group_{$groupinfo['name']}";
|
} $group_lang_var = "setting_group_{$groupinfo['name']}";
|
if($lang->$group_lang_var)
| if(isset($lang->$group_lang_var))
|
{ $groupinfo['title'] = $lang->$group_lang_var; }
| { $groupinfo['title'] = $lang->$group_lang_var; }
|
Zeile 1044 | Zeile 1044 |
---|
foreach($cache_groups as $groupinfo) { $group_lang_var = "setting_group_{$groupinfo['name']}";
|
foreach($cache_groups as $groupinfo) { $group_lang_var = "setting_group_{$groupinfo['name']}";
|
if($lang->$group_lang_var)
| if(isset($lang->$group_lang_var))
|
{ $groupinfo['title'] = $lang->$group_lang_var; }
| { $groupinfo['title'] = $lang->$group_lang_var; }
|
Zeile 1123 | Zeile 1123 |
---|
for($i=0; $i < count($type); $i++) { $optionsexp = explode("=", $type[$i]);
|
for($i=0; $i < count($type); $i++) { $optionsexp = explode("=", $type[$i]);
|
if(!$optionsexp[1])
| if(!isset($optionsexp[1]))
|
{ continue; } $title_lang = "setting_{$setting['name']}_{$optionsexp[0]}";
|
{ continue; } $title_lang = "setting_{$setting['name']}_{$optionsexp[0]}";
|
if($lang->$title_lang)
| if(isset($lang->$title_lang))
|
{ $optionsexp[1] = $lang->$title_lang; }
| { $optionsexp[1] = $lang->$title_lang; }
|
Zeile 1173 | Zeile 1173 |
---|
// Do we have a custom language variable for this title or description? $title_lang = "setting_".$setting['name']; $desc_lang = $title_lang."_desc";
|
// Do we have a custom language variable for this title or description? $title_lang = "setting_".$setting['name']; $desc_lang = $title_lang."_desc";
|
if($lang->$title_lang)
| if(isset($lang->$title_lang))
|
{ $setting['title'] = $lang->$title_lang; }
|
{ $setting['title'] = $lang->$title_lang; }
|
if($lang->$desc_lang)
| if(isset($lang->$desc_lang))
|
{ $setting['description'] = $lang->$desc_lang; }
| { $setting['description'] = $lang->$desc_lang; }
|
Zeile 1203 | Zeile 1203 |
---|
$plugins->run_hooks("admin_config_settings_start"); $page->output_header($lang->board_settings);
|
$plugins->run_hooks("admin_config_settings_start"); $page->output_header($lang->board_settings);
|
if($message)
| if(isset($message))
|
{ $page->output_inline_message($message); }
| { $page->output_inline_message($message); }
|
Zeile 1268 | Zeile 1268 |
---|
while($group = $db->fetch_array($query)) { $group_lang_var = "setting_group_{$group['name']}";
|
while($group = $db->fetch_array($query)) { $group_lang_var = "setting_group_{$group['name']}";
|
if($lang->$group_lang_var)
| if(isset($lang->$group_lang_var))
|
{ $group_title = htmlspecialchars_uni($lang->$group_lang_var); }
| { $group_title = htmlspecialchars_uni($lang->$group_lang_var); }
|
Zeile 1278 | Zeile 1278 |
---|
} $group_desc_lang_var = "setting_group_{$group['name']}_desc";
|
} $group_desc_lang_var = "setting_group_{$group['name']}_desc";
|
if($lang->$group_desc_lang_var)
| if(isset($lang->$group_desc_lang_var))
|
{ $group_desc = htmlspecialchars_uni($lang->$group_desc_lang_var); }
| { $group_desc = htmlspecialchars_uni($lang->$group_desc_lang_var); }
|