[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/public_html/admin/ -> moderation.php (sommaire)

(pas de description)

Poids: 666 lignes (27 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 public_html/admin/auth.inc.php
 public_html/lib-common.php

Définit 8 fonctions

  render_cc_item()
  commandcontrol()
  itemlist()
  userlist()
  draftlist()
  moderation()
  moderateusers()
  security_check_reminder()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

render_cc_item(&$template, $url = '', $image = '', $label = '')   X-Ref
Renders an entry (icon) for the "Command and Control" center

param: template    $template   template to use
param: string      $url        URL the entry links to
param: string      $image      URL of the icon
param: string      $label      text to use under the icon
return: void

commandcontrol()   X-Ref
Prints the command & control block at the top


itemlist($type)   X-Ref
Displays items needing moderation

Displays the moderation list of items from the submission tables


userlist()   X-Ref
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.


draftlist()   X-Ref
Displays a list of all the stories that have the 'draft' flag set.

When enabled, this will list all the stories that have been marked as
'draft'. Approving a story from this list will clear the draft flag and
thus publish the story.


moderation($mid, $action, $type, $count)   X-Ref
Moderates an item

This will actually perform moderation (approve or delete) one or more items

param: array   $mid        Array of items
param: array   $action     Array of actions to perform on items
param: string  $type       Type of items ('story', etc.)
param: int     $count      Number of items to moderate
return: string              HTML for "command and control" page

moderateusers($uid, $action, $count)   X-Ref
Moderate user submissions

Users from the user submission queue are either appoved (an email containing
the password is sent out) or deleted.

param: int     $uid        Array of items
param: array   $action     Action to perform ('delete', 'approve')
param: int     $count      Number of items
return: string              HTML for "command and control" page

security_check_reminder()   X-Ref
Display a reminder to execute the security check script




Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics