Vergleich online.php - 1.2.2 - 1.2.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: online.php 2312 2006-10-02 02:34:49Z Tikitiki $

 * $Id: online.php 2715 2007-02-04 23:33:13Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 399Zeile 399
			break;
case "member":
case "member_login":

			break;
case "member":
case "member_login":

			$locationname = $lang->logging_in;









			// Guest or member?
if($mybb->user['uid'] == 0)
{
$locationname = $lang->logging_in;
}
else
{
$locationname = $lang->logging_in_plain;
}

			break;
case "member_logout":
$locationname = $lang->logging_out;

			break;
case "member_logout":
$locationname = $lang->logging_out;

Zeile 458Zeile 466
			if($user['pid'])
{
$user['tid'] = $posts[$user['pid']];

			if($user['pid'])
{
$user['tid'] = $posts[$user['pid']];

			}
if($threads[$user['tid']])
{

			}
if($threads[$user['tid']])
{

				$locationname = sprintf($lang->replying_thread2, $user['tid'], $threads[$user['tid']]);
}
else
{
$locationname = $lang->replying_thread;

				$locationname = sprintf($lang->replying_thread2, $user['tid'], $threads[$user['tid']]);
}
else
{
$locationname = $lang->replying_thread;

			}
break;

			}
break;

		// newthread.php functions
case "newthread":
if($forums[$user['fid']])

		// newthread.php functions
case "newthread":
if($forums[$user['fid']])

Zeile 482Zeile 490
		// online.php functions
case "wol":
$locationname = $lang->viewing_wol;

		// online.php functions
case "wol":
$locationname = $lang->viewing_wol;

			break;

			break;

		case "woltoday":
$locationname = $lang->viewing_woltoday;
break;
// polls.php functions
case "newpoll":
$locationname = $lang->creating_poll;

		case "woltoday":
$locationname = $lang->viewing_woltoday;
break;
// polls.php functions
case "newpoll":
$locationname = $lang->creating_poll;

			break;

			break;

		case "editpoll":
$locationname = $lang->editing_poll;
break;

		case "editpoll":
$locationname = $lang->editing_poll;
break;

Zeile 512Zeile 520
			break;
case "private_folders":
$locationname = $lang->editing_pmfolders;

			break;
case "private_folders":
$locationname = $lang->editing_pmfolders;

			break;

			break;

		case "private":
$locationname = $lang->using_pmsystem;
break;
/* Ratethread functions */
case "ratethread":
$locationname = $lang->rating_thread;

		case "private":
$locationname = $lang->using_pmsystem;
break;
/* Ratethread functions */
case "ratethread":
$locationname = $lang->rating_thread;

			break;

			break;

		// report.php functions
case "report":
$locationname = $lang->reporting_post;

		// report.php functions
case "report":
$locationname = $lang->reporting_post;

Zeile 527Zeile 535
		// reputation.php functions
case "reputation":
$locationname = $lang->giving_reputation;

		// reputation.php functions
case "reputation":
$locationname = $lang->giving_reputation;

			break;

			break;

		// search.php functions
case "search":
$locationname = sprintf($lang->searching_forum, $mybb->settings['bbname']);

		// search.php functions
case "search":
$locationname = sprintf($lang->searching_forum, $mybb->settings['bbname']);

Zeile 564Zeile 572
			break;
case "usercp_avatar":
$locationname = $lang->changing_avatar;

			break;
case "usercp_avatar":
$locationname = $lang->changing_avatar;

			break;

			break;

		case "usercp_subscriptions":
$locationname = $lang->viewing_subscriptions;
break;

		case "usercp_subscriptions":
$locationname = $lang->viewing_subscriptions;
break;

Zeile 579Zeile 587
			break;
case "usercp2_favorites":
$locationname = $lang->managing_favorites;

			break;
case "usercp2_favorites":
$locationname = $lang->managing_favorites;

			break;

			break;

		case "usercp2_subscriptions":
$locationname = $lang->managing_subscriptions;

		case "usercp2_subscriptions":
$locationname = $lang->managing_subscriptions;

			break;

			break;

		case "portal":
$locationname = $lang->viewing_portal;

		case "portal":
$locationname = $lang->viewing_portal;

 
			break;
// sendthread.php functions
case "sendthread":
$locationname = $lang->sending_thread;

			break;
}
if($user['nopermission'] == 1)

			break;
}
if($user['nopermission'] == 1)

Zeile 758Zeile 770
			}
break;
case "memberlist":

			}
break;
case "memberlist":

			$user['activity'] = "memberlist";

			$user['activity'] = "memberlist";

			break;
case "misc":
$accepted_parameters = array("markread", "help", "buddypopup", "smilies", "syndication", "imcenter");
if($parameters['action'] == "whoposted")

			break;
case "misc":
$accepted_parameters = array("markread", "help", "buddypopup", "smilies", "syndication", "imcenter");
if($parameters['action'] == "whoposted")

			{
if(is_numeric($parameters['tid']))
{

			{
if(is_numeric($parameters['tid']))
{

					$tidsql .= ",$parameters[tid]";
}
$user['activity'] = "misc_whoposted";

					$tidsql .= ",$parameters[tid]";
}
$user['activity'] = "misc_whoposted";

Zeile 779Zeile 791
			else
{
$user['activity'] = "misc";

			else
{
$user['activity'] = "misc";

			}
break;

			}
break;

		case "moderation":
$user['activity'] = "moderation";
break;

		case "moderation":
$user['activity'] = "moderation";
break;

Zeile 817Zeile 829
			else
{
$user['activity'] = "wol";

			else
{
$user['activity'] = "wol";

			}
break;

			}
break;

		case "polls":
// Make the "do" parts the same as the other one.
if($parameters['action'] == "do_newpoll")

		case "polls":
// Make the "do" parts the same as the other one.
if($parameters['action'] == "do_newpoll")

Zeile 826Zeile 838
				$user['activity'] = "newpoll";
}
elseif($parameters['action'] == "do_editpoll")

				$user['activity'] = "newpoll";
}
elseif($parameters['action'] == "do_editpoll")

			{

			{

				$user['activity'] = "editpoll";

				$user['activity'] = "editpoll";

			}

			}

			else
{
$user['activity'] = $parameters['action'];

			else
{
$user['activity'] = $parameters['action'];

			}
break;

			}
break;

		case "printthread":
if(is_numeric($parameters['tid']))
{

		case "printthread":
if(is_numeric($parameters['tid']))
{

Zeile 855Zeile 867
				$user['activity'] = "private_folders";
}
else

				$user['activity'] = "private_folders";
}
else

			{

			{

				$user['activity'] = "private";
}
break;

				$user['activity'] = "private";
}
break;

Zeile 870Zeile 882
			break;
case "search":
$user['activity'] = "search";

			break;
case "search":
$user['activity'] = "search";

			break;

			break;

		case "sendthread":
if(is_numeric($parameters['tid']))
{

		case "sendthread":
if(is_numeric($parameters['tid']))
{

Zeile 878Zeile 890
			}
$user['activity'] = "sendthread";
$user['tid'] = $parameters['tid'];

			}
$user['activity'] = "sendthread";
$user['tid'] = $parameters['tid'];

 
			break;

		case "showteam":
$user['activity'] = "showteam";
break;

		case "showteam":
$user['activity'] = "showteam";
break;