| 1105 |
|
|
| 1106 |
$base = variable_get('biblio_base', 'biblio'); |
$base = variable_get('biblio_base', 'biblio'); |
| 1107 |
$menu = menu_get_active_title(); |
$menu = menu_get_active_title(); |
| 1108 |
if ($menu == 'Edit author information') $path = $base.'/authors'; |
$path = (strpos($_GET['q'],'settings'))? 'admin/settings/biblio/author' : $base.'/authors'; |
|
if ($menu == 'Biblio settings') $path = 'admin/settings/biblio/author/list'; |
|
| 1109 |
$form['#redirect'] = $path; |
$form['#redirect'] = $path; |
| 1110 |
|
|
| 1111 |
$form['cid'] = array( |
$form['cid'] = array( |
| 1214 |
'#collapsible' => TRUE, |
'#collapsible' => TRUE, |
| 1215 |
'#collapsed' => !count($merge_options), |
'#collapsed' => !count($merge_options), |
| 1216 |
); |
); |
| 1217 |
|
|
| 1218 |
$form['merge']['merge_authors'] = array( |
$form['merge']['merge_authors'] = array( |
| 1219 |
'#type' => 'checkboxes', |
'#type' => 'checkboxes', |
| 1220 |
'#title' => t('Similar authors'), |
'#title' => t('Similar authors'), |
| 1227 |
'#value' => t('Merge') |
'#value' => t('Merge') |
| 1228 |
); |
); |
| 1229 |
} |
} |
| 1230 |
|
|
| 1231 |
$form['link'] = array( |
$form['link'] = array( |
| 1232 |
'#type' => 'fieldset', |
'#type' => 'fieldset', |
| 1233 |
'#title' => t('Author Link'), |
'#title' => t('Author Link'), |
| 1386 |
$keyword = db_fetch_object(db_query('SELECT * FROM {biblio_keyword_data} bkd WHERE bkd.kid = %d ', $keyword_id)); |
$keyword = db_fetch_object(db_query('SELECT * FROM {biblio_keyword_data} bkd WHERE bkd.kid = %d ', $keyword_id)); |
| 1387 |
|
|
| 1388 |
$base = variable_get('biblio_base', 'biblio'); |
$base = variable_get('biblio_base', 'biblio'); |
| 1389 |
$form['#redirect'] = "$base/keywords"; |
$path = (strpos($_GET['q'],'settings'))? 'admin/settings/biblio/keywords' : $base.'/keywords'; |
| 1390 |
|
$form['#redirect'] = $path; |
| 1391 |
|
|
| 1392 |
$form['kid'] = array( |
$form['kid'] = array( |
| 1393 |
'#type' => 'value', |
'#type' => 'value', |