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

Diff of /contributions/modules/biblio/biblio.module

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

revision 1.196.2.3 by rjerome, Thu Oct 29 20:42:55 2009 UTC revision 1.196.2.4 by rjerome, Fri Oct 30 02:33:09 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: biblio.module,v 1.196.2.2 2009/10/28 21:18:43 rjerome Exp $  // $Id: biblio.module,v 1.196.2.3 2009/10/29 20:42:55 rjerome Exp $
3  /**  /**
4   *   biblio.module for Drupal   *   biblio.module for Drupal
5   *   *
# Line 357  function biblio_permission() { Line 357  function biblio_permission() {
357        ),        ),
358      'show filter tab'=> array(      'show filter tab'=> array(
359        'title' => t('Show filter tab'),        'title' => t('Show filter tab'),
360        'description' => t(),        'description' => t('This determines if the "Filter" tab on the Biblio list page will be shown to the user'),
361        ),        ),
362      'show sort links'=> array(      'show sort links'=> array(
363        'title' => t('Show sort links'),        'title' => t('Show sort links'),
364        'description' => t(),        'description' => t('This determines if the "Sort" links on the Biblio list page will be shown to the user'),
365        ),        ),
366      'view full text'=> array(      'view full text'=> array(
367        'title' => t('Show full text'),        'title' => t('Show full text'),
368        'description' => t(),        'description' => t('This determines if the user will be able to access the "Full Text" of the article if it is available'),
369        ),        ),
370      );      );
371  }  }
# Line 2116  function biblio_hash($node) { Line 2116  function biblio_hash($node) {
2116    static $sums = array();    static $sums = array();
2117    if (empty($sums)) {    if (empty($sums)) {
2118      $res = db_query("SELECT nid, biblio_md5 FROM {biblio} ");      $res = db_query("SELECT nid, biblio_md5 FROM {biblio} ");
2119      while ($md5 = db_fetch_object($res)) {      foreach ($res as $md5) {
2120        $sums[$md5->biblio_md5] = $md5->nid;        $sums[$md5->biblio_md5] = $md5->nid;
2121      }      }
2122    }    }

Legend:
Removed from v.1.196.2.3  
changed lines
  Added in v.1.196.2.4

  ViewVC Help
Powered by ViewVC 1.1.3