From e45e8b2abe3f5906bbc3418e4d20827e443cc410 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 13 Oct 2010 17:09:00 +0000 Subject: #902644 follow-up: Committing missing JS file. --- modules/system/system.admin.css | 10 ++++++++++ modules/system/system.module | 12 ++++++++++++ 2 files changed, 22 insertions(+) (limited to 'modules') diff --git a/modules/system/system.admin.css b/modules/system/system.admin.css index adcc369fd..0b1409bb7 100644 --- a/modules/system/system.admin.css +++ b/modules/system/system.admin.css @@ -55,6 +55,16 @@ small .admin-link:after { content: ']'; } +/** + * Quick inline admin links. + */ +small .admin-link:before { + content: '['; +} +small .admin-link:after { + content: ']'; +} + /** * Modules page. */ diff --git a/modules/system/system.module b/modules/system/system.module index 88c9c94c7..9942996d6 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -359,6 +359,18 @@ function system_element_info() { '#theme' => 'textfield', '#theme_wrappers' => array('form_element'), ); + $types['machine_name'] = array( + '#input' => TRUE, + '#default_value' => NULL, + '#required' => TRUE, + '#maxlength' => 64, + '#size' => 60, + '#autocomplete_path' => FALSE, + '#process' => array('form_process_machine_name', 'ajax_process_form'), + '#element_validate' => array('form_validate_machine_name'), + '#theme' => 'textfield', + '#theme_wrappers' => array('form_element'), + ); $types['password'] = array( '#input' => TRUE, '#size' => 60, -- cgit v1.2.3