Commit f43f2dcc16a2f93d69eba8d11e5a46652eb613d4

Authored by michael
1 parent 9e25904e

improved instruction text


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2322 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserToGroupUI.inc
@@ -15,14 +15,14 @@ function getPage($iUserID, $iGroupID) { @@ -15,14 +15,14 @@ function getPage($iUserID, $iGroupID) {
15 $oGroup = null; 15 $oGroup = null;
16 16
17 if (isset($iUserID)) { 17 if (isset($iUserID)) {
18 - $heading = "<tr><td colspan=\"2\">Please Assign the User to a Group:</td></tr>\n";  
19 $oUser = User::get($iUserID); 18 $oUser = User::get($iUserID);
20 - //$heading = "<tr><td colspan=\"2\">Are you Sure you wish to assign the User to the Group?</td></tr>\n";  
21 - } else{  
22 - $heading = "<tr><td colspan=\"2\">Please Assign a User to a Group:</td></tr>\n";  
23 } 19 }
  20 +
24 if (isset($iGroupID)) { 21 if (isset($iGroupID)) {
25 $oGroup = Group::get($iGroupID); 22 $oGroup = Group::get($iGroupID);
  23 + $heading = "<tr><td colspan=\"2\">Please confirm your choice by clicking 'Assign', or 'Cancel' to abort.</td></tr>\n";
  24 + } else {
  25 + $heading = "<tr><td colspan=\"2\">Please choose the Group to assign to this user.</td></tr>\n";
26 } 26 }
27 $sQueryString = "&fUserID=$iUserID"; 27 $sQueryString = "&fUserID=$iUserID";
28 28