diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.css | 21 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
2 files changed, 16 insertions, 7 deletions
diff --git a/modules/system/system.css b/modules/system/system.css index 02ec1581f..cf28f9438 100644 --- a/modules/system/system.css +++ b/modules/system/system.css @@ -235,24 +235,29 @@ html.js fieldset.collapsed { border-left-width: 0; border-right-width: 0; margin-bottom: 0; + height: 1em; } html.js fieldset.collapsed * { display: none; } -html.js fieldset.collapsed table *, -html.js fieldset.collapsed legend, -html.js fieldset.collapsed legend * { - display: inline; +html.js fieldset.collapsed legend { + display: block; } html.js fieldset.collapsible legend a { padding-left: 15px; - background: url(../../misc/menu-expanded.png) 5px 50% no-repeat; + background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; } html.js fieldset.collapsed legend a { background-image: url(../../misc/menu-collapsed.png); + background-position: 5px 50%; } /* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */ -* html.js fieldset.collapsible legend a { +* html.js fieldset.collapsed legend, +* html.js fieldset.collapsed legend *, +* html.js fieldset.collapsed table * { + display: inline; +} +html.js fieldset.collapsible legend a { display: block; } @@ -269,6 +274,10 @@ html.js fieldset.collapsed legend a { border-top-width: 0; cursor: s-resize; } +html.js .resizable-textarea textarea { + margin-bottom: 0; + width: 100%; +} /* ** Progressbar styles diff --git a/modules/user/user.module b/modules/user/user.module index 27bfaf014..2dc1213a5 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2358,7 +2358,7 @@ function _user_forms(&$edit, $account, $category, $hook = 'form') { /** * Retrieve a pipe delimited string of autocomplete suggestions for existing users */ -function user_autocomplete($string) { +function user_autocomplete($string = '') { $matches = array(); $result = db_query_range("SELECT name FROM {users} WHERE LOWER(name) LIKE LOWER('%s%%')", $string, 0, 10); while ($user = db_fetch_object($result)) { |