| 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 |
* |
* |
| 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 |
} |
} |
| 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 |
} |
} |