cvs: pearweb /public_html/notes/admin view-note.php

From: Date: Fri, 23 Mar 2007 16:31:59 +0000
Subject: cvs: pearweb /public_html/notes/admin view-note.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-45379@lists.php.net to get a copy of this message
davidc Fri Mar 23 16:31:59 2007 UTC Added files: /pearweb/public_html/notes/admin view-note.php Log: - View note ability with both ajax and non ajax http://cvs.php.net/viewvc.cgi/pearweb/public_html/notes/admin/view-note.php?view=markup&rev=1.1 Index: pearweb/public_html/notes/admin/view-note.php +++ pearweb/public_html/notes/admin/view-note.php <?php auth_require('pear.dev'); $status = isset($_GET['status']) && $_GET['status'] == 'yes' ? 'approved' : false; $ajax = isset($_GET['ajax']) && $_GET['ajax'] == 'yes' ? true : false; $id = isset($_GET['noteId']) ? (int)$_GET['noteId'] : ''; if (!$id) { response_footer(); exit; } require_once 'notes/ManualNotes.class.php'; $manualNotes = new Manual_Notes; $noteContent = $manualNotes->getSingleCommentById($id); include dirname(dirname(dirname(dirname(__FILE__)))) . '/templates/notes/view-full-note.tpl.php';

« previous php.pear.cvs (#45379) next »