/[drupal]/contributions/modules/trash/trash.module
ViewVC logotype

Diff of /contributions/modules/trash/trash.module

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

revision 1.1.2.1, Wed Mar 12 00:03:39 2008 UTC revision 1.1.2.2, Wed Mar 25 09:54:01 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: trash.module,v 1.1.2.1 2008/03/12 00:03:39 roetzi Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 234  function trash_delete_button_removing_en Line 234  function trash_delete_button_removing_en
234   */   */
235  function trash_deleted_message($node) {  function trash_deleted_message($node) {
236    $output = '';    $output = '';
237    drupal_set_title(t('Trash:') . ' ' . $node->title);    drupal_set_title(t('Trash: @title', array('@title' => $node->title)));
238    if (user_access('view trash')) {    if (user_access('view trash')) {
239      $output .= '<p>' . t('This page has been moved to the !trash.', array('!trash' => l(t('trash'), 'trash'))) . '</p>';      $output .= '<p>' . t('This page has been moved to the !trash.', array('!trash' => l(t('trash'), 'trash'))) . '</p>';
240      $output .= '<p>' . t('You can') . '</p><ul>';      $output .= '<p>' . t('You can') . '</p><ul>';
# Line 305  function trash_view() { Line 305  function trash_view() {
305  function trash_view_node($node) {  function trash_view_node($node) {
306    $output = '';    $output = '';
307    if (node_access('view', $node) && $node->status == STATUS_TRASH) {    if (node_access('view', $node) && $node->status == STATUS_TRASH) {
308      drupal_set_title(t('Trash:') . ' ' . check_plain($node->title));      drupal_set_title(t('Trash: @title', array('@title' => $node->title)));
309      $output = node_view($node, FALSE, TRUE, TRUE);      $output = node_view($node, FALSE, TRUE, TRUE);
310    }    }
311    else {    else {

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2