Source for file index.php
Documentation is available at index.php
auth_require ('pear.dev');
require_once 'notes/ManualNotes.class.php';
$title = 'Approve Pending User Notes';
$caption = 'Approve Notes';
if (isset ($_GET['status']) && $_GET['status'] == 'approved') {
$action = 'updateApproved';
$title = 'Move Approved Notes to Pending';
$button = 'Make Pending';
elseif (isset($_GET['status']) && $_GET['status'] == 'deleted') {
$title = 'Deleted notes';
$button = 'Un-Delete comments';
if (isset ($_GET['url']) && !empty ($_GET['url'])) {
$pendingComments = $manualNotes->getPageComments ($_GET['url'], $status);
$pendingComments = $manualNotes->getPageComments ('', $status, true );
$url = isset ($_GET['url']) ? strip_tags($_GET['url']) : '';
require PEARWEB_TEMPLATEDIR . '/notes/note-manage-admin.tpl.php';
Documentation generated on Mon, 11 Mar 2019 16:04:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|