diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.admin.css | 10 | ||||
-rw-r--r-- | modules/system/system.module | 12 |
2 files changed, 22 insertions, 0 deletions
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 @@ -56,6 +56,16 @@ small .admin-link:after { } /** + * Quick inline admin links. + */ +small .admin-link:before { + content: '['; +} +small .admin-link:after { + content: ']'; +} + +/** * Modules page. */ #system-modules div.incompatible { 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, |