cvs diff -u -p -r1.13.2.3 download_count.module Index: download_count.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/download_count/download_count.module,v retrieving revision 1.13.2.3 diff -u -p -r1.13.2.3 download_count.module --- download_count.module 4 May 2008 16:58:44 -0000 1.13.2.3 +++ download_count.module 10 May 2008 14:35:48 -0000 @@ -46,12 +46,11 @@ function download_count_menu() { return $items; } - function download_count_admin_settings() { switch (variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC)) { case FILE_DOWNLOADS_PUBLIC: - $output = '
' . t('You are using public download. Set your download method to private on the ') . l('admin/settings/file-system', 'admin/settings/file-system') . t(' page, if you wish for Drupal to keep a record of downloaded files.') . '
'; + $output = '' . t('You are using public download. Set your download method to private on the file system configuration page, if you wish for Drupal to keep a record of downloaded files.', array('@admin-file-system' => url('admin/settings/file-system'))) . '
'; break; case FILE_DOWNLOADS_PRIVATE: $output = '' . t('You are using the private download method, hence you have the correct setting to allow this module to keep a record of downloaded files.') . '
'; @@ -102,7 +101,7 @@ function download_count_admin_settings() '#type' => 'textfield', '#title' => t('Title'), '#default_value' => variable_get('download_counter_view_page_title', t('Download counter')), - '#description' => t('Title of this ') . l('page', 'download_counter') . '.', + '#description' => t('Title of this page.', array('@page' => url('download_counter'))), ); $form['download counter page']['download_counter_view_page_header'] = array( @@ -126,7 +125,7 @@ function download_count_admin_settings() ); $form['info_on_access control'] = array( - '#value' => '' . t('Visit the ') . l('permissions page', 'admin/user/permissions') . ' to allow roles to view download count in nodes and on the download counter page.
', + '#value' => '' . t('Visit the permissions page to allow roles to view download count in nodes and on the download counter page.', array('@page' => url('admin/user/permissions'))) . '
' ); return system_settings_form($form);