? archive_upd.patch Index: README.txt =================================================================== RCS file: /cvs/drupal/contributions/modules/archive/README.txt,v retrieving revision 1.8 diff -u -p -r1.8 README.txt --- README.txt 4 Jan 2008 00:09:47 -0000 1.8 +++ README.txt 4 Jan 2008 03:37:11 -0000 @@ -1,6 +1,6 @@ This is replacement for the Drupal archive.module which was available in Drupal core in Drupal 4.7.x and previous versions. It provides a simple -calendarblock that shows the current month with links to the archive for +calendar block that shows the current month with links to the archive for days that have posts. It also allows browsing of all content by date or node-type, so if you have a linked list users can browse just those nodes. @@ -34,7 +34,7 @@ Timezone handling: => This means that "time() + timezone" is used as the displayed date - Archive module sets today to time() + timezone to conform - - SQL injected timestamps should have timezone substracted, since + - SQL injected timestamps should have timezone subtracted, since we need to move the window on the queried nodes "back" to get nodes for the date the user expects to get - Displayed timestamps should have timezone added to them Index: archive.admin.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/archive/archive.admin.inc,v retrieving revision 1.5 diff -u -p -r1.5 archive.admin.inc --- archive.admin.inc 23 Dec 2007 17:43:27 -0000 1.5 +++ archive.admin.inc 4 Jan 2008 03:37:11 -0000 @@ -13,10 +13,10 @@ function archive_admin_settings() { $form['archive_type_filters'] = array( '#type' => 'checkboxes', - '#title' => t('Cotent types available in archive'), + '#title' => t('Content types available in archive'), '#default_value' => variable_get('archive_type_filters', array()), '#options' => $final_types, - '#description' => t('Posts of the types selected here will show up in the archives and will be available as type filters.') + '#description' => t('Posts of these types will be displayed in the archive.') ); return system_settings_form($form); Index: archive.module =================================================================== RCS file: /cvs/drupal/contributions/modules/archive/archive.module,v retrieving revision 1.31 diff -u -p -r1.31 archive.module --- archive.module 4 Jan 2008 00:09:47 -0000 1.31 +++ archive.module 4 Jan 2008 03:37:11 -0000 @@ -7,14 +7,12 @@ function archive_help($path, $arg) { switch ($path) { case 'admin/help#archive': - $output = '

'. t('The archive module provides a suggested menu item, which shows a page allowing content to be filtered by date and node type. The date selectors allow visitors to view content published in any given year, month or day. The node type selectors allow visitors to view content of all node types or only specific ones.') .'

'; - $output .= t('

You can

- -', array('!archive' => url('archive'), '!admin-menu' => url('admin/menu'))); - $output .= '

'. t('For more information please read the configuration and customization handbook Archive page.') .'

'; + $output = '

'. t('The archive module allows your users to browse your content by its type and date of publication. The archive module interface, available at the path archive, presents simple controls for selecting a year, month or day. All available posts published within this range are displayed beneath the control. Administrators may select the content types to be displayed. The archive module adds an Archives menu item to the default Navigation menu (the item is disabled by default), and displays the current month and year within an optional block.', array('@archive' => url('archive'))) .'

'; + $output .= '

'. t('You can') .'

'; + $output .= ''; + $output .= '

'. t('For more information, see the online handbook entry for Archive module.', array('@handbook-page' => 'http://drupal.org/handbook/modules/archive/')) .'

'; return $output; } } @@ -26,14 +24,14 @@ function archive_menu() { $items = array(); $items['archive'] = array( 'title' => 'Archives', - 'access arguments' => array('access content'), + 'access arguments' => array('access content'), 'page callback' => 'archive_page', 'file' => 'archive.pages.inc', 'type' => MENU_SUGGESTED_ITEM ); $items['admin/settings/archive'] = array( 'title' => 'Archives', - 'description' => 'Configure which content types are listed in the archives.', + 'description' => 'Select the content types listed in the archives.', 'page callback' => 'drupal_get_form', 'page arguments' => array('archive_admin_settings'), 'file' => 'archive.admin.inc', Index: archive.pages.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/archive/archive.pages.inc,v retrieving revision 1.17 diff -u -p -r1.17 archive.pages.inc --- archive.pages.inc 26 Dec 2007 20:40:38 -0000 1.17 +++ archive.pages.inc 4 Jan 2008 03:37:11 -0000 @@ -376,6 +376,7 @@ function theme_archive_navigation_node_t * @ingroup themeable */ function theme_archive_separator($date_created, $separators) { + $date_sep = ''; if ($separators['year'] && $separators['month'] && $separators['day']) { $date_sep = format_date($date_created, 'custom', 'F jS, Y'); }