/[drupal]/contributions/modules/hof/hof.module
ViewVC logotype

Diff of /contributions/modules/hof/hof.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.12, Mon Dec 8 04:19:46 2008 UTC revision 1.13, Fri Dec 12 03:44:17 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  /*  /*
3   * $Id: hof.module,v 1.11 2007/03/23 01:37:01 syscrusher Exp $   * $Id: hof.module,v 1.12 2008/12/08 04:19:46 syscrusher Exp $
4   *   *
5   * Hall-Of-Fame is a module that reports summary statistics for a Drupal   * Hall-Of-Fame is a module that reports summary statistics for a Drupal
6   * web site, with an emphasis on reports that are of interest to visitors   * web site, with an emphasis on reports that are of interest to visitors
# Line 629  function _hof_page_section_files() { Line 629  function _hof_page_section_files() {
629   * Node statistics (most popular)   * Node statistics (most popular)
630   */   */
631  function _hof_page_section_node() {  function _hof_page_section_node() {
632      if (! module_exists('statistics')) {
633        $html = t('<p>The <code>statistics</code> module is not installed or is disabled. Read counts are not available unless this is corrected.</p>');
634        return $html;
635      }
636      if (! variable_get('statistics_count_content_views', FALSE)) {
637        $html = t('<p>The <code>statistics</code> module is installed, but read counts are not enabled. Correct this in the Access Log Settings page.</p>');
638        return $html;
639      }
640    $popular_limit = variable_get('hof_item_count', 5);    $popular_limit = variable_get('hof_item_count', 5);
641    // Do the interval calculations    // Do the interval calculations
642    $pops = array();    $pops = array();

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.2