/[drupal]/contributions/modules/hidden/hidden.display-pages.inc
ViewVC logotype

Diff of /contributions/modules/hidden/hidden.display-pages.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Wed Dec 10 23:03:47 2008 UTC revision 1.2, Fri Dec 12 19:23:35 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: hidden.display-pages.inc,v 1.1 2008/12/10 23:03:47 ekes Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 102  function theme_hidden_list_comments($tab Line 102  function theme_hidden_list_comments($tab
102   *   page content if is hidden.   *   page content if is hidden.
103   */   */
104  function hidden_view($type, $id) {  function hidden_view($type, $id) {
105      if (! $hidden = _hidden_hidden_get($type, $id)) {
106        drupal_not_found();
107        return;
108      }
109    if ($type == 'comment') {    if ($type == 'comment') {
110      $comment = _comment_load($id);      $comment = _comment_load($id);
111      $node = node_load($comment->nid);      $node = node_load($comment->nid);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2