Skip to content
Snippets Groups Projects
Commit 160c7955 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

[gh-274] Merging test into staging -c1351

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1352 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 652e4a81
No related branches found
No related tags found
No related merge requests found
......@@ -530,7 +530,7 @@ function unl_form_alter(&$form, $form_state, $form_id) {
$base_urls = array('_null' => '--Select One--');
foreach ($alternate_uris as $alternate_uri) {
$base_urls[$alternate_uri] = $alternate_uri;
};
}
$form['site_information']['unl_primary_base_url'] = array(
'#title' => 'Primary Base URL',
'#type' => 'select',
......@@ -669,10 +669,6 @@ function unl_form_alter(&$form, $form_state, $form_id) {
// Also turn on revisioning by default
$form['revision_information']['revision']['#default_value'] = TRUE;
unset($form['revision_information']['revision']['#states']);
// Also hide the "Promoted to front page" option
$form['options']['promote']['#prefix'] = '<div style="display:none;">';
$form['options']['promote']['#suffix'] = '</div>';
}
// Add the Roles checkboxes to the user edit form for users with ability to 'Administer users' but not 'Administer permissions' (Code below partially taken from user.module)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment