Skip to content

Instantly share code, notes, and snippets.

@cpsubrian
Created November 15, 2011 20:25
Show Gist options
  • Save cpsubrian/1368221 to your computer and use it in GitHub Desktop.
Save cpsubrian/1368221 to your computer and use it in GitHub Desktop.
This is a test
<?php
// Archived (deleted) messages.
$items[$url_prefix . '/archived'] = array(
'title' => 'Archived Messages',
'page callback' => 'privatemsg_list_page',
'page arguments' => array('archived', $url_prefix_user_arg_position),
'file' => 'privatemsg.pages.inc',
'file path' => drupal_get_path('module', 'privatemsg'),
'access callback' => 'privatemsg_menu_access',
'type' => MENU_LOCAL_TASK,
'weight' => -5,
);
// Disable replies to a message.
$items[$url_prefix . '/lock/%privatemsg_thread'] = array(
'title' => 'Lock Thread',
'page callback' => 'gac_privatemsg_lock_thread',
'page arguments' => array($url_prefix_arg_count + 1),
'access callback' => 'gac_privatemsg_lock_access',
'access arguments' => array($url_prefix_arg_count + 1),
'type' => MENU_CALLBACK,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment