Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Procedural File: moderation.php

Source Location: /public_html/admin/moderation.php



Page Details:



Includes:

require_once($_CONF['path_system'].'lib-user.php') [line 37]
require_once($_CONF['path_system'].'lib-comment.php') [line 39]
require_once('../lib-common.php') [line 35]
require_once('auth.inc.php') [line 36]
require_once($_CONF['path_system'].'lib-story.php') [line 38]






itemlist [line 128]

string itemlist( string $type, string $token)

Displays items needing moderation

Displays the moderation list of items from the submission tables




Tags:

return:  HTML for the list of items


Parameters

string   $type   Type of object to build list for
string   $token   CSRF token
[ Top ]



moderateusers [line 493]

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:

return:  HTML for "command and control" page


Parameters

int   $uid   Array of items
array   $action   Action to perform ('delete', 'approve')
int   $count   Number of items
[ Top ]



moderation [line 340]

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:

return:  HTML for "command and control" page


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
[ Top ]



userlist [line 273]

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:

return:  HTML for the list of users


Parameters

string   $token   CSRF token
[ Top ]



usersubmissions [line 63]

string usersubmissions( string $token)

Prints the user submission lists at the top



Tags:

return:  HTML for the C&C block


Parameters

string   $token   CSRF token
[ Top ]



Documentation generated on Sun, 02 Oct 2016 07:52:34 +0000 by phpDocumentor 1.4.3