Created
November 15, 2011 20:25
-
-
Save cpsubrian/1368221 to your computer and use it in GitHub Desktop.
This is a test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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