summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-13 17:09:00 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-13 17:09:00 +0000
commite45e8b2abe3f5906bbc3418e4d20827e443cc410 (patch)
tree172c96278d6c715c5cf1f94aaff7a2203be34f5c /modules
parentcf11af686500e727838166e758c211dafd526208 (diff)
downloadbrdo-e45e8b2abe3f5906bbc3418e4d20827e443cc410.tar.gz
brdo-e45e8b2abe3f5906bbc3418e4d20827e443cc410.tar.bz2
#902644 follow-up: Committing missing JS file.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.admin.css10
-rw-r--r--modules/system/system.module12
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,