Commit 08e9a8fd authored by Tim Steiner's avatar Tim Steiner
Browse files

Merge pull request #702 from erasmussen2/issue-696

Closes #696
parents ebf9a6ba 7ab16b61
......@@ -579,6 +579,7 @@ function unl_form_alter(&$form, $form_state, $form_id) {
'#type' => 'checkbox',
'#title' => 'SSL Enabled',
'#default_value' => variable_get('https', FALSE),
'#disabled' => !unl_user_is_administrator(),
);
if (conf_path() != 'sites/default') {
......@@ -592,6 +593,7 @@ function unl_form_alter(&$form, $form_state, $form_id) {
'#type' => 'select',
'#options' => $base_urls,
'#default_value' => variable_get('unl_primary_base_url'),
'#disabled' => !unl_user_is_administrator(),
);
$form['#submit'][] = 'unl_system_settings_form_submit';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment