Zeile 408 | Zeile 408 |
---|
if($lang->$langdocvar) { $helpdoc['document'] = $lang->$langdocvar;
|
if($lang->$langdocvar) { $helpdoc['document'] = $lang->$langdocvar;
|
if($langdocvar == "d3_document") { $helpdoc['document'] = $lang->sprintf($helpdoc['document'], $mybb->user['logoutkey']); }
| |
} }
|
} }
|
| if($helpdoc['hid'] == 3) { $helpdoc['document'] = $lang->sprintf($helpdoc['document'], $mybb->post_code); }
|
add_breadcrumb($helpdoc['name']);
$plugins->run_hooks("misc_help_helpdoc_end");
| add_breadcrumb($helpdoc['name']);
$plugins->run_hooks("misc_help_helpdoc_end");
|
Zeile 541 | Zeile 542 |
---|
// Load Buddies $buddies = ''; if($mybb->user['buddylist'] != "")
|
// Load Buddies $buddies = ''; if($mybb->user['buddylist'] != "")
|
{
| {
|
$buddys = array('online' => '', 'offline' => ''); $timecut = TIME_NOW - $mybb->settings['wolcutoff'];
| $buddys = array('online' => '', 'offline' => ''); $timecut = TIME_NOW - $mybb->settings['wolcutoff'];
|
Zeile 738 | Zeile 739 |
---|
eval("\$smilies .= \"".$templates->get("misc_smilies_popup_empty")."\";"); } eval("\$smiliespage = \"".$templates->get("misc_smilies_popup", 1, 0)."\";");
|
eval("\$smilies .= \"".$templates->get("misc_smilies_popup_empty")."\";"); } eval("\$smiliespage = \"".$templates->get("misc_smilies_popup", 1, 0)."\";");
|
output_page($smiliespage); }
| output_page($smiliespage); }
|
else { add_breadcrumb($lang->nav_smilies);
| else { add_breadcrumb($lang->nav_smilies);
|
Zeile 870 | Zeile 871 |
---|
$comma = ","; $flist[$fid] = true; }
|
$comma = ","; $flist[$fid] = true; }
|
} }
| } }
|
$url = $mybb->settings['bburl']."/syndication.php"; if(!$all) {
| $url = $mybb->settings['bburl']."/syndication.php"; if(!$all) {
|
Zeile 881 | Zeile 882 |
---|
// If the version is not RSS2.0, set the type to Atom1.0. if($version != "rss2.0")
|
// If the version is not RSS2.0, set the type to Atom1.0. if($version != "rss2.0")
|
{ if(!$add) { $url .= "?"; } else { $url .= "&";
| { if(!$add) { $url .= "?"; } else { $url .= "&";
|
} $url .= "type=atom1.0"; $add = true;
| } $url .= "type=atom1.0"; $add = true;
|
Zeile 896 | Zeile 897 |
---|
if((int)$limit > 0) { if($limit > 100)
|
if((int)$limit > 0) { if($limit > 100)
|
{
| {
|
$limit = 100;
|
$limit = 100;
|
}
| }
|
if(!$add)
|
if(!$add)
|
{
| {
|
$url .= "?"; } else
|
$url .= "?"; } else
|
{
| {
|
$url .= "&";
|
$url .= "&";
|
}
| }
|
if(is_numeric($limit)) { $url .= "limit=$limit"; } } eval("\$feedurl = \"".$templates->get("misc_syndication_feedurl")."\";");
|
if(is_numeric($limit)) { $url .= "limit=$limit"; } } eval("\$feedurl = \"".$templates->get("misc_syndication_feedurl")."\";");
|
}
| }
|
unset($GLOBALS['forumcache']);
// If there is no version in the input, check the default (RSS2.0).
| unset($GLOBALS['forumcache']);
// If there is no version in the input, check the default (RSS2.0).
|
Zeile 921 | Zeile 922 |
---|
{ $atom1check = "checked=\"checked\""; $rss2check = '';
|
{ $atom1check = "checked=\"checked\""; $rss2check = '';
|
}
| }
|
else { $atom1check = '';
| else { $atom1check = '';
|
Zeile 936 | Zeile 937 |
---|
} elseif($mybb->input['action'] == "clearcookies") {
|
} elseif($mybb->input['action'] == "clearcookies") {
|
| verify_post_check($mybb->get_input('my_post_key'));
|
$plugins->run_hooks("misc_clearcookies");
|
$plugins->run_hooks("misc_clearcookies");
|
if($mybb->get_input('key') != $mybb->user['logoutkey']) { error($lang->error_invalidkey); }
| |
$remove_cookies = array('mybb', 'mybbuser', 'mybb[password]', 'mybb[lastvisit]', 'mybb[lastactive]', 'collapsed', 'mybb[forumread]', 'mybb[threadsread]', 'mybbadmin');
| $remove_cookies = array('mybb', 'mybbuser', 'mybb[password]', 'mybb[lastvisit]', 'mybb[lastactive]', 'collapsed', 'mybb[forumread]', 'mybb[threadsread]', 'mybbadmin');
|