From eb674f8b21e4112cbbac707430f8c3ad9fed2726 Mon Sep 17 00:00:00 2001 From: nfreear Date: Thu, 5 Apr 2007 10:55:04 +0000 Subject: [PATCH] Fixes bug MDL-9221 "new group admin - can't view full group name". --- group/index.php | 25 +++++++++++++++---------- group/lib/clientlib.js | 20 ++++++++++++++++++-- theme/standard/styles_fonts.css | 7 +++++++ theme/standard/styles_layout.css | 3 +-- 4 files changed, 41 insertions(+), 14 deletions(-) diff --git a/group/index.php b/group/index.php index 58a5d76e87..ee1f677816 100644 --- a/group/index.php +++ b/group/index.php @@ -199,12 +199,14 @@ if ($success) { */ - echo ''."\n"; + echo '
'."\n"; echo ''."\n"; echo '\n'."\n"; echo '
'."\n"; - echo '

'."\n"; + echo '

'."\n"; echo '

'."\n"; echo "
\n"; - echo '

'."\n"; - echo ''."\n"; if (GROUP_NOT_IN_GROUPING == $sel_groupingid) { $groupids = groups_get_groups_not_in_any_grouping($courseid); //$sel_groupingid @@ -284,7 +287,7 @@ if ($success) { $select = ' selected="selected"'; $sel_groupid = $group->id; } - echo "\n"; + echo "\n"; $count++; } } else { @@ -318,8 +321,10 @@ if ($success) { echo '
'."\n"; - echo '

'."\n"; - echo ''."\n"; if (isset($sel_groupid)) { $userids = groups_get_members($sel_groupid); @@ -331,7 +336,7 @@ if ($success) { echo ''; } else { foreach ($user_names as $user) { - echo "\n"; + echo "\n"; } } } else { diff --git a/group/lib/clientlib.js b/group/lib/clientlib.js index 9ce0ad2f78..69b1cff83b 100644 --- a/group/lib/clientlib.js +++ b/group/lib/clientlib.js @@ -34,6 +34,7 @@ function UpdatableGroupsCombo(wwwRoot, courseId) { for (var i=0; i= 0) { + spanEl.innerHTML = selectEl.options[selectEl.selectedIndex].title; + } // Clear the groups combo box. - var selectEl = document.getElementById("groups"); + selectEl = document.getElementById("groups"); if (selectEl) { while (selectEl.firstChild) { selectEl.removeChild(selectEl.firstChild); @@ -129,6 +137,7 @@ function UpdatableMembersCombo(wwwRoot, courseId) { for (var i=0; i= 0) { + spanEl.innerHTML = selectEl.options[selectEl.selectedIndex].title; + } // Clear the members combo box. + selectEl = document.getElementById("members"); if (selectEl) { while (selectEl.firstChild) { selectEl.removeChild(selectEl.firstChild); diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index f23baf6757..02d400feb0 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -835,6 +835,13 @@ body#mod-forum-index .generalbox .cell { } +#thegroup, #thegrouping, #dummygrouping { + font-size: 0.8em; + letter-spacing: -0.01em; + display: block; +} + + /*** *** Phpinfo display ***/ diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 34d679beb1..f76b50f714 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -400,7 +400,7 @@ form.popupform label { } .groupmanagementtable select { - width:200px; + width: 18em; } img.icon { @@ -3354,4 +3354,3 @@ wikiadminactions { .workshopkey { text-align:center; } - -- 2.39.5