Zeile 30 | Zeile 30 |
---|
$sub_tabs['credits_about'] = array( 'title' => $lang->about_the_team,
|
$sub_tabs['credits_about'] = array( 'title' => $lang->about_the_team,
|
'link' => "http://www.mybb.com/about/team",
| 'link' => "https://mybb.com/about/team",
|
'link_target' => "_blank",
|
'link_target' => "_blank",
|
| 'link_rel' => "noopener",
|
);
$sub_tabs['check_for_updates'] = array(
| );
$sub_tabs['check_for_updates'] = array(
|
Zeile 52 | Zeile 53 |
---|
);
require_once MYBB_ROOT."inc/class_xml.php";
|
);
require_once MYBB_ROOT."inc/class_xml.php";
|
$contents = fetch_remote_file("http://www.mybb.com/mybb_team.xml");
| $contents = fetch_remote_file("https://mybb.com/mybb_team.xml");
|
if(!$contents) {
| if(!$contents) {
|
Zeile 61 | Zeile 62 |
---|
{ admin_redirect('index.php?module=tools-cache'); }
|
{ admin_redirect('index.php?module=tools-cache'); }
|
admin_redirect('index.php?module=home-credits');
| admin_redirect('index.php?module=home-credits&fetch_new=-1');
|
}
$parser = new XMLParser($contents);
| }
$parser = new XMLParser($contents);
|
Zeile 97 | Zeile 98 |
---|
else { flash_message($lang->success_credits_updated, 'success');
|
else { flash_message($lang->success_credits_updated, 'success');
|
admin_redirect('index.php?module=home-credits');
| admin_redirect('index.php?module=home-credits&fetch_new=-1');
|
} }
| } }
|
Zeile 138 | Zeile 139 |
---|
} else {
|
} else {
|
$table->construct_cell("<a href=\"{$mybb_credits['credits'][$team]['members'][$i]['profile']}\" title=\"{$mybb_credits['credits'][$team]['members'][$i]['username']}\" target=\"_blank\">{$mybb_credits['credits'][$team]['members'][$i]['name']}</a>");
| $table->construct_cell("<a href=\"{$mybb_credits['credits'][$team]['members'][$i]['profile']}\" title=\"{$mybb_credits['credits'][$team]['members'][$i]['username']}\" target=\"_blank\" rel=\"noopener\">{$mybb_credits['credits'][$team]['members'][$i]['name']}</a>");
|
} } $table->construct_row();
| } } $table->construct_row();
|