Vergleich inc/functions_online.php - 1.6.3 - 1.6.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: functions_online.php 5380 2011-02-21 12:04:43Z Tomm $

 * $Id: functions_online.php 5498 2011-07-18 08:05:00Z Tomm $

 */

$uid_list = $aid_list = $pid_list = $tid_list = $fid_list = $eid_list = array();

 */

$uid_list = $aid_list = $pid_list = $tid_list = $fid_list = $eid_list = array();

Zeile 191Zeile 191
			
$accepted_parameters = array();
$accepted_parameters['report'] = array("do_reports", "reports", "allreports");

			
$accepted_parameters = array();
$accepted_parameters['report'] = array("do_reports", "reports", "allreports");

			$accepted_parameters['new_annoucement'] = array("do_new_announcement", "new_announcement");

			$accepted_parameters['new_announcement'] = array("do_new_announcement", "new_announcement");

			$accepted_parameters['delete_announcement'] = array("do_delete_announcement", "delete_announcement");
$accepted_parameters['edit_announcement'] = array("do_edit_announcement", "edit_announcement");
$accepted_parameters['mod_queue'] = array("do_modqueue", "modqueue");

			$accepted_parameters['delete_announcement'] = array("do_delete_announcement", "delete_announcement");
$accepted_parameters['edit_announcement'] = array("do_edit_announcement", "edit_announcement");
$accepted_parameters['mod_queue'] = array("do_modqueue", "modqueue");

Zeile 418Zeile 418
			}
elseif($parameters['action'] == "view")
{

			}
elseif($parameters['action'] == "view")
{

				$user_activity['activity'] == "warnings_view";

				$user_activity['activity'] = "warnings_view";

			}
else
{

			}
else
{

Zeile 501Zeile 501
		$perms = array();
$tid_sql = implode(",", $tid_list);
$query = $db->query("

		$perms = array();
$tid_sql = implode(",", $tid_list);
$query = $db->query("

			SELECT t.fid, t.tid, t.subject, t.visible, p.displaystyle AS threadprefix

			SELECT t.uid, t.fid, t.tid, t.subject, t.visible, p.displaystyle AS threadprefix

			FROM ".TABLE_PREFIX."threads t
LEFT JOIN ".TABLE_PREFIX."threadprefixes p ON (p.pid=t.prefix)
WHERE tid IN({$tid_sql}) {$fidnot} {$visible}

			FROM ".TABLE_PREFIX."threads t
LEFT JOIN ".TABLE_PREFIX."threadprefixes p ON (p.pid=t.prefix)
WHERE tid IN({$tid_sql}) {$fidnot} {$visible}

Zeile 514Zeile 514
				$perms[$thread['fid']] = forum_permissions($thread['fid']);
}


				$perms[$thread['fid']] = forum_permissions($thread['fid']);
}


			if($perms[$thread['fid']]['canonlyviewownthreads'] == 1 && $thread['uid'] != $mybb->user['uid'])

			if($perms[$thread['fid']]['canonlyviewownthreads'] == 1 && $thread['uid'] != $mybb->user['uid'] && !is_moderator($thread['fid']))

			{
continue;
}

			{
continue;
}

Zeile 674Zeile 674
			$location_name = $lang->rating_user;
break;
case "member_resendactivation":

			$location_name = $lang->rating_user;
break;
case "member_resendactivation":

			$location_name = $lang->resending_account_activation;

			$location_name = $lang->member_resendactivation;

			break;
case "member_lostpw":
$location_name = $lang->member_lostpw;

			break;
case "member_lostpw":
$location_name = $lang->member_lostpw;

Zeile 698Zeile 698
			}
break;
case "misc_markread":

			}
break;
case "misc_markread":

			$location_name = $lang->marking_read;

			$location_name = $lang->sprintf($lang->marking_read, $mybb->post_code);

			break;
case "misc_help":
$location_name = $lang->viewing_helpdocs;

			break;
case "misc_help":
$location_name = $lang->viewing_helpdocs;