From 25eef00f897256e2dcc7245bfe6bdee78c082034 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 12 Feb 2006 05:34:34 +0000 Subject: - Patch #48939 by Steve Ratcliffe: added missing {} to upgrade path. --- modules/system.module | 9 ++++----- modules/system/system.module | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'modules') diff --git a/modules/system.module b/modules/system.module index e5559180a..1785a2837 100644 --- a/modules/system.module +++ b/modules/system.module @@ -62,12 +62,11 @@ function system_elements() { $type['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => TRUE); $type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => FALSE); $type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE); - $type['password'] = array('#input' => TRUE, '#size' => 30, '#maxlength' => 64); - $type['password_confirm'] = array( - '#input' => TRUE, + $type['password'] = array('#input' => TRUE, '#size' => 30); + $type['password_confirm'] = array('#input' => TRUE, '#value' => 'pass', - 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), - 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), + 'pass1' => array('#type' => 'password', '#size' => 12), + 'pass2' => array('#type' => 'password', '#size' => 12), '#validate' => array('password_confirm_validate' => array()), ); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); diff --git a/modules/system/system.module b/modules/system/system.module index e5559180a..1785a2837 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -62,12 +62,11 @@ function system_elements() { $type['submit'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => TRUE); $type['button'] = array('#input' => TRUE, '#name' => 'op', '#button_type' => 'submit', '#form_submitted' => FALSE); $type['textfield'] = array('#input' => TRUE, '#size' => 60, '#maxlength' => 128, '#autocomplete_path' => FALSE); - $type['password'] = array('#input' => TRUE, '#size' => 30, '#maxlength' => 64); - $type['password_confirm'] = array( - '#input' => TRUE, + $type['password'] = array('#input' => TRUE, '#size' => 30); + $type['password_confirm'] = array('#input' => TRUE, '#value' => 'pass', - 'pass1' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), - 'pass2' => array('#type' => 'password', '#size' => 12, '#maxlength' => 24), + 'pass1' => array('#type' => 'password', '#size' => 12), + 'pass2' => array('#type' => 'password', '#size' => 12), '#validate' => array('password_confirm_validate' => array()), ); $type['textarea'] = array('#input' => TRUE, '#cols' => 60, '#rows' => 5); -- cgit v1.2.3