| 1 |
<?php |
<?php |
| 2 |
// $Id: biblio.admin.inc,v 1.9.2.47 2009/02/20 22:28:58 rjerome Exp $ |
// $Id: biblio.admin.inc,v 1.9.2.48 2009/02/23 02:19:38 rjerome Exp $ |
| 3 |
/** |
/** |
| 4 |
* biblio.admin.inc |
* biblio.admin.inc |
| 5 |
* |
* |
| 33 |
* Implementation of hook_settings(). |
* Implementation of hook_settings(). |
| 34 |
*/ |
*/ |
| 35 |
function biblio_admin_settings() { |
function biblio_admin_settings() { |
| 36 |
$version = '$Revision: 1.9.2.47 $ $Date: 2009/02/20 22:28:58 $'; |
$version = '$Revision: 1.9.2.48 $ $Date: 2009/02/23 02:19:38 $'; |
| 37 |
$version = str_replace('$', '', $version); |
$version = str_replace('$', '', $version); |
| 38 |
$form['biblio_rev'] = array( |
$form['biblio_rev'] = array( |
| 39 |
'#value' => $version, |
'#value' => $version, |
| 119 |
'#title' => t('Citekey'), |
'#title' => t('Citekey'), |
| 120 |
'#description' => t('You can alter citekey related settings here.') |
'#description' => t('You can alter citekey related settings here.') |
| 121 |
); |
); |
| 122 |
|
$form['citekey']['biblio_display_citation_key'] = array( |
| 123 |
|
'#type' => 'checkbox', |
| 124 |
|
'#title' => t('Show citation key in results'), |
| 125 |
|
'#return_value' => 1, |
| 126 |
|
'#default_value' => variable_get('biblio_display_citation_key', 0), |
| 127 |
|
'#description' => t('This will output the citekey as the first item in the citation string') |
| 128 |
|
); |
| 129 |
$form['citekey']['biblio_auto_citekey'] = array( |
$form['citekey']['biblio_auto_citekey'] = array( |
| 130 |
'#type' => 'checkbox', |
'#type' => 'checkbox', |
| 131 |
'#title' => t('Auto generate citekeys if not given'), |
'#title' => t('Auto generate citekeys if not given'), |