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

Source for file view-note.php

Documentation is available at view-note.php

  1. <?php
  2. auth_require('pear.dev');
  3.  
  4. $status = isset($_GET['status']) && $_GET['status'] == 'yes' ? 'approved' : false;
  5. $ajax   = isset($_GET['ajax']) && $_GET['ajax'] == 'yes' ? true : false;
  6. $id     = isset($_GET['noteId']) ? (int)$_GET['noteId'] : '';
  7.  
  8. if (!$id) {
  9.     response_footer();
  10.     exit;
  11. }
  12.  
  13. require_once 'notes/ManualNotes.class.php';
  14. $manualNotes = new Manual_Notes;
  15. $noteContent = $manualNotes->getSingleCommentById($id);
  16.  
  17. include PEARWEB_TEMPLATEDIR . '/notes/view-full-note.tpl.php';

Documentation generated on Mon, 11 Mar 2019 16:04:26 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.