Browse Source

Merge branch '6.x' of github.com:bwoodhead/islandora into 6.x

pull/24/merge
Ben Woodhead 13 years ago
parent
commit
8a052f5951
  1. 21
      formClass.inc

21
formClass.inc

@ -213,7 +213,7 @@ class formClass {
'#default_value' => variable_get('fedora_repository_name', 'Islandora demos collection'),
'#description' => t('The Name of the Root Collection Object'),
'#required' => TRUE,
'#weight' => 1
'#weight' => -20
);
$form['fedora_repository_pid'] = array(
'#type' => 'textfield',
@ -221,16 +221,7 @@ class formClass {
'#default_value' => variable_get('fedora_repository_pid', 'islandora:root'),
'#description' => t('The PID of the Root Collection Object'),
'#required' => TRUE,
'#weight' => 2
);
$form['fedora_collection_model_pid'] = array(
'#type' => 'textfield',
'#title' => t('Root Collection Model PID'),
'#default_value' => variable_get('fedora_collection_model_pid', 'islandora:collectionCModel'),
'#description' => t('The PID of the Root Collection Model Object'),
'#required' => TRUE,
'#weight' => 3
'#weight' => -18
);
$form['fedora_repository_url'] = array(
@ -238,7 +229,7 @@ class formClass {
'#title' => t('Fedora RISearch URL'),
'#default_value' => variable_get('fedora_repository_url', 'http://localhost:8080/fedora/risearch'),
'#description' => t('The url of the Fedora server'), '#required' => TRUE,
'#weight' => 5
'#weight' => -16
);
$form['fedora_base_url'] = array(
@ -247,7 +238,7 @@ class formClass {
'#default_value' => variable_get('fedora_base_url', 'http://localhost:8080/fedora'),
'#description' => t('The URL to use for REST-type connections'),
'#required' => TRUE,
'#weight' => 6,
'#weight' => -14,
);
$form['fedora_soap_url'] = array(
@ -256,7 +247,7 @@ class formClass {
'#default_value' => variable_get('fedora_soap_url', 'http://localhost:8080/fedora/services/access?wsdl'),
'#description' => t('The URL to use for SOAP connections'),
'#required' => TRUE,
'#weight' => 7,
'#weight' => -12,
'#suffix' => '<p>' . (fedora_available() ? '<img src="' . url('misc/watchdog-ok.png') . '"/>' . t('Successfully connected to Fedora server at !fedora_soap_url', array('!fedora_soap_url' => variable_get('fedora_soap_url', ''))) : '<img src="' . url('misc/watchdog-error.png') . '"/> ' . t('Unable to connect to Fedora server at !fedora_soap_url</p>', array('!fedora_soap_url' => variable_get('fedora_soap_url', '')))),
);
@ -265,7 +256,7 @@ class formClass {
'#title' => t('Fedora SOAP management URL'),
'#default_value' => variable_get('fedora_soap_manage_url', 'http://localhost:8080/fedora/services/management?wsdl'), '#description' => t('The URL to use for SOAP API-M connections'),
'#required' => TRUE,
'#weight' => 8
'#weight' => -10
);
// will allow admin user to remove namepsace restrictions if not explicitly disallowed in settings.php

Loading…
Cancel
Save