diff -Naur adminblock-4.7/adminblock.info adminblock/adminblock.info --- adminblock-4.7/adminblock.info 1969-12-31 18:00:00.000000000 -0600 +++ adminblock/adminblock.info 2007-01-24 15:57:58.000000000 -0600 @@ -0,0 +1,7 @@ +; $Id: adminblock.info,v 2.1 2007/01/24 03:56:00 cbutera Exp $ +name = Adminblock +description = "The adminblock module enables admins to display a block with the comments approval queue and the node moderation queue. Each item gets their own edit link and delete link for quick administration. The block will only show for users with "administer nodes" privileges. If there are no comments to approve and no nodes to moderate the block will not show." +version = "$Name: DRUPAL-5 $" +package = Administration +version = "5.x-1.x-dev" +project = "adminblock" diff -Naur adminblock-4.7/adminblock.module adminblock/adminblock.module --- adminblock-4.7/adminblock.module 2006-08-24 02:33:24.000000000 -0500 +++ adminblock/adminblock.module 2007-01-24 16:32:19.000000000 -0600 @@ -62,11 +62,11 @@ $node_count_display = $node_count > $nlimit ? ' ('. $node_count .')' : ''; $items2 = array(); while ($node = db_fetch_object($result2)) { - $items2[] = check_plain($node->title) .' - '. format_date($node->changed, 'medium') .'
['. l(t('By %user', array('%user' => $node->name)), 'user/'. $node->uid) .']|['. l(t('edit'), 'node/'. $node->nid .'/edit') .']|['. l(t('delete'), 'node/'. $node->nid .'/delete') .']'; + $items2[] = check_plain($node->title) .' - '. format_date($node->changed, 'medium') .'
['. l(t('By ' . $node->name, array('%user' => $node->name)), 'user/'. $node->uid) .']|['. l(t('edit'), 'node/'. $node->nid .'/edit') .']|['. l(t('delete'), 'node/'. $node->nid .'/delete') .']'; } } - if (module_exist('trackback') && user_access('administer trackbacks')) { + if (module_exists('trackback') && user_access('administer trackbacks')) { $result3 = db_query_range('SELECT t.created, t.subject, t.nid, t.trid, t.excerpt FROM {trackback_received} t INNER JOIN {node} n ON t.nid = n.nid