Procedural File: moderation.php
Source Location: /public_html/admin/moderation.php
Page Details:
Includes:
ICONS_PER_ROW [line 47]
commandcontrol [line 80]
string commandcontrol(
string $token)
|
|
Prints the command & control block at the top
Tags:
Parameters
itemlist [line 256]
string itemlist(
string $type, string $token)
|
|
Displays items needing moderation Displays the moderation list of items from the submission tables
Tags:
Parameters
| string |
$type |
Type of object to build list for |
| string |
$token |
CSRF token |
moderateusers [line 596]
string moderateusers(
int $uid, array $action, int $count)
|
|
Moderate user submissions Users from the user submission queue are either appoved (an email containing the password is sent out) or deleted.
Tags:
Parameters
| int |
$uid |
Array of items |
| array |
$action |
Action to perform ('delete', 'approve') |
| int |
$count |
Number of items |
moderation [line 452]
string moderation(
array $mid, array $action, string $type, int $count)
|
|
Moderates an item This will actually perform moderation (approve or delete) one or more items
Tags:
Parameters
| array |
$mid |
Array of items |
| array |
$action |
Array of actions to perform on items |
| string |
$type |
Type of items ('story', etc.) |
| int |
$count |
Number of items to moderate |
render_cc_item [line 59]
string render_cc_item(
&$template, [string $url = ''], [string $image = ''], [string $label = ''], template $template)
|
|
Renders an entry (icon) for the "Command and Control" center
Tags:
Parameters
| template |
$template |
template to use |
| string |
$url |
URL the entry links to |
| string |
$image |
URL of the icon |
| string |
$label |
text to use under the icon |
| |
&$template |
|
security_check_reminder [line 654]
string security_check_reminder(
)
|
|
Display a reminder to execute the security check script
Tags:
userlist [line 385]
string userlist(
string $token)
|
|
Displays new user submissions When enabled, this will list all the new users which have applied for a site membership. When approving an application, an email containing the password is sent out immediately.
Tags:
Parameters
|