Zeile 245 | Zeile 245 |
---|
case "modcp": if(!isset($parameters['action'])) {
|
case "modcp": if(!isset($parameters['action'])) {
|
$parameters['action'] = 0;
| $parameters['action'] = '';
|
}
$accepted_parameters = array("modlogs", "announcements", "finduser", "warninglogs", "ipsearch");
| }
$accepted_parameters = array("modlogs", "announcements", "finduser", "warninglogs", "ipsearch");
|
Zeile 255 | Zeile 255 |
---|
if($parameters['action'] == $action) { $user_activity['activity'] = "modcp_".$action;
|
if($parameters['action'] == $action) { $user_activity['activity'] = "modcp_".$action;
|
break; } }
| break; } }
|
$accepted_parameters = array(); $accepted_parameters['report'] = array("do_reports", "reports", "allreports"); $accepted_parameters['new_announcement'] = array("do_new_announcement", "new_announcement");
| $accepted_parameters = array(); $accepted_parameters['report'] = array("do_reports", "reports", "allreports"); $accepted_parameters['new_announcement'] = array("do_new_announcement", "new_announcement");
|
Zeile 267 | Zeile 267 |
---|
$accepted_parameters['mod_queue'] = array("do_modqueue", "modqueue"); $accepted_parameters['editprofile'] = array("do_editprofile", "editprofile"); $accepted_parameters['banning'] = array("do_banuser", "banning", "liftban", "banuser");
|
$accepted_parameters['mod_queue'] = array("do_modqueue", "modqueue"); $accepted_parameters['editprofile'] = array("do_editprofile", "editprofile"); $accepted_parameters['banning'] = array("do_banuser", "banning", "liftban", "banuser");
|
|
|
foreach($accepted_parameters as $name => $actions) { if(in_array($parameters['action'], $actions))
| foreach($accepted_parameters as $name => $actions) { if(in_array($parameters['action'], $actions))
|
Zeile 275 | Zeile 275 |
---|
$user_activity['activity'] = "modcp_".$name; break; }
|
$user_activity['activity'] = "modcp_".$name; break; }
|
}
| }
|
if(empty($user_activity['activity'])) { $user_activity['activity'] = "modcp";
|
if(empty($user_activity['activity'])) { $user_activity['activity'] = "modcp";
|
}
| }
|
break; case "moderation": $user_activity['activity'] = "moderation"; break; case "newreply": if(!isset($parameters['tid']))
|
break; case "moderation": $user_activity['activity'] = "moderation"; break; case "newreply": if(!isset($parameters['tid']))
|
{
| {
|
$parameters['tid'] = 0; } $parameters['tid'] = (int)$parameters['tid'];
| $parameters['tid'] = 0; } $parameters['tid'] = (int)$parameters['tid'];
|
Zeile 307 | Zeile 307 |
---|
if($parameters['fid'] > 0) { $fid_list[$parameters['fid']] = $parameters['fid'];
|
if($parameters['fid'] > 0) { $fid_list[$parameters['fid']] = $parameters['fid'];
|
}
| }
|
$user_activity['activity'] = "newthread"; $user_activity['fid'] = $parameters['fid']; break; case "online":
|
$user_activity['activity'] = "newthread"; $user_activity['fid'] = $parameters['fid']; break; case "online":
|
if(!isset($parameters['action'])) { $parameters['action'] = ''; }
| if(!isset($parameters['action'])) { $parameters['action'] = ''; }
|
if($parameters['action'] == "today") { $user_activity['activity'] = "woltoday";
|
if($parameters['action'] == "today") { $user_activity['activity'] = "woltoday";
|
} else
| } else
|
{ $user_activity['activity'] = "wol"; }
| { $user_activity['activity'] = "wol"; }
|
Zeile 329 | Zeile 329 |
---|
if(!isset($parameters['action'])) { $parameters['action'] = '';
|
if(!isset($parameters['action'])) { $parameters['action'] = '';
|
}
| }
|
// Make the "do" parts the same as the other one. if($parameters['action'] == "do_newpoll") {
| // Make the "do" parts the same as the other one. if($parameters['action'] == "do_newpoll") {
|
Zeile 350 | Zeile 350 |
---|
$user_activity['activity'] = $action; break; }
|
$user_activity['activity'] = $action; break; }
|
}
| }
|
if(!$user_activity['activity']) { $user_activity['activity'] = "showresults";
| if(!$user_activity['activity']) { $user_activity['activity'] = "showresults";
|
Zeile 367 | Zeile 367 |
---|
if($parameters['tid'] > 0) { $tid_list[$parameters['tid']] = $parameters['tid'];
|
if($parameters['tid'] > 0) { $tid_list[$parameters['tid']] = $parameters['tid'];
|
}
| }
|
$user_activity['activity'] = "printthread"; $user_activity['tid'] = $parameters['tid']; break;
| $user_activity['activity'] = "printthread"; $user_activity['tid'] = $parameters['tid']; break;
|
Zeile 385 | Zeile 385 |
---|
$user_activity['activity'] = "private_read"; } elseif($parameters['action'] == "folders" || $parameters['action'] == "do_folders")
|
$user_activity['activity'] = "private_read"; } elseif($parameters['action'] == "folders" || $parameters['action'] == "do_folders")
|
{ $user_activity['activity'] = "private_folders";
| { $user_activity['activity'] = "private_folders";
|
} else {
| } else {
|
Zeile 442 | Zeile 442 |
---|
case "showthread": if(!isset($parameters['action'])) {
|
case "showthread": if(!isset($parameters['action'])) {
|
$parameters['action'] = 0;
| $parameters['action'] = '';
|
} if(!isset($parameters['pid'])) {
| } if(!isset($parameters['pid'])) {
|
Zeile 516 | Zeile 516 |
---|
{ $user_activity['activity'] = "usercp_subscriptions"; }
|
{ $user_activity['activity'] = "usercp_subscriptions"; }
|
elseif($parameters['action'] == "notepad" || $parameters['action'] == "do_notepad")
| elseif($parameters['action'] == "addfavorite" || $parameters['action'] == "removefavorite" || $parameters['action'] == "removefavorites") { $user_activity['activity'] = "usercp_managefavorites"; } else if($parameters['action'] == "addsubscription" || $parameters['action'] == "do_addsubscription" || $parameters['action'] == "removesubscription" || $parameters['action'] == "removesubscriptions") { $user_activity['activity'] = "usercp_managesubscriptions"; } elseif($parameters['action'] == "notepad" || $parameters['action'] == "do_notepad")
|
{ $user_activity['activity'] = "usercp_notepad";
|
{ $user_activity['activity'] = "usercp_notepad";
|
}
| }
|
else
|
else
|
{
| {
|
$user_activity['activity'] = "usercp";
|
$user_activity['activity'] = "usercp";
|
} break; case "usercp2": if(!isset($parameters['action'])) { $parameters['action'] = ''; } if($parameters['action'] == "addfavorite" || $parameters['action'] == "removefavorite" || $parameters['action'] == "removefavorites") { $user_activity['activity'] = "usercp2_favorites"; } else if($parameters['action'] == "addsubscription" || $parameters['action'] == "do_addsubscription" || $parameters['action'] == "removesubscription" || $parameters['action'] == "removesubscriptions") { $user_activity['activity'] = "usercp2_subscriptions";
| |
} break; case "portal":
| } break; case "portal":
|
Zeile 1088 | Zeile 1082 |
---|
case "usercp": $location_name = $lang->user_cp; break;
|
case "usercp": $location_name = $lang->user_cp; break;
|
case "usercp2_favorites":
| case "usercp_managefavorites":
|
$location_name = $lang->managing_favorites; break;
|
$location_name = $lang->managing_favorites; break;
|
case "usercp2_subscriptions":
| case "usercp_managesubscriptions":
|
$location_name = $lang->managing_subscriptions; break; case "portal":
| $location_name = $lang->managing_subscriptions; break; case "portal":
|