Index: subscriptions.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/subscriptions/subscriptions.module,v retrieving revision 1.62.2.45.2.12 diff -u -r1.62.2.45.2.12 subscriptions.module --- subscriptions.module 14 Aug 2007 13:28:49 -0000 1.62.2.45.2.12 +++ subscriptions.module 14 Aug 2007 21:03:17 -0000 @@ -310,6 +310,16 @@ 'type' => MENU_CALLBACK, ); if ($type == MENU_DEFAULT_LOCAL_TASK) { + if (isset($uid)) { + $items[] = array( + 'path' => $base, + 'title' => t('Subscriptions'), + 'access' => TRUE, + 'type' => MENU_LOCAL_TASK, + 'callback' => 'subscriptions_page', + 'callback arguments' => array($uid, $stype), + ); + } $items[] = array( 'path' => $base, 'title' => t('My subscriptions'), @@ -1397,14 +1407,17 @@ 'title' => t("!name Subscriptions", array('!name' => $user->name)), 'href' => url('subscriptions/feed'), )); + if (arg(0) == 'user') { + drupal_set_title(check_plain($account->name)); + } return theme('box', '', $output) . theme('xml_icon', url("subscriptions/feed")); } function _subscriptions_send_intervals() { return array( - 0 => t('Imediately'), + 0 => t('Immediately'), 1 => t('Every cron run'), - 900 => t('Every 15 mintues'), + 900 => t('Every 15 minutes'), 3600 => t('Hourly'), 10800 => t('Every three hours'), 86400 => t('Daily'),