|
### Eclipse Workspace Patch 1.0
|
|
#P igeworkspace42
|
|
Index: typo3/sysext/version/mod2/index.php
|
|
===================================================================
|
|
--- typo3/sysext/version/mod2/index.php (revision 291)
|
|
+++ typo3/sysext/version/mod2/index.php (working copy)
|
|
@@ -329,19 +329,19 @@
|
|
if($prevStageRecord['uid'] == '0') {
|
|
// The prev stage would be the standart edit stage use possible recipients from workspace config field adminusers
|
|
$workspaceRec = t3lib_BEfunc::getRecord('sys_workspace',$workspaceId);
|
|
- $prevUserRecords = t3lib_BEfunc::getUserNames('username, uid, email','AND uid IN ('.str_replace('be_users_','',$workspaceRec['adminusers']).')');
|
|
+ $prevUserRecords = t3lib_BEfunc::getUserNames('username, uid, email, realName','AND uid IN ('.str_replace('be_users_','',$workspaceRec['adminusers']).')');
|
|
if(!empty($prevUserRecords) && is_array($prevUserRecords)) {
|
|
foreach($prevUserRecords as $prevUserUid => $prevUserRecord) {
|
|
- $content .= '<br /><input type="checkbox" class="checkbox" name="PrevStageRecipient[]" value="'.$prevUserRecord['email'].'"> '.$prevUserRecord['email'].'';
|
|
+ $content .= '<br /><input type="checkbox" class="checkbox" name="PrevStageRecipient[]" value="'.$prevUserRecord['email'].'"> '.$prevUserRecord['email'].' ( '.$prevUserRecord['realName'].' ) ';
|
|
}
|
|
} else {
|
|
$content .= '<span style="color: red;">There are no recipients defined for this stage.</span>';
|
|
}
|
|
} else {
|
|
- $prevUserRecords = t3lib_BEfunc::getUserNames('username, uid, email','AND uid IN ('.$prevStageRecord['responsible_persons'].')');
|
|
+ $prevUserRecords = t3lib_BEfunc::getUserNames('username, uid, email, realName','AND uid IN ('.$prevStageRecord['responsible_persons'].')');
|
|
if(!empty($prevUserRecords) && is_array($prevUserRecords)) {
|
|
foreach($prevUserRecords as $prevUserUid => $prevUserRecord) {
|
|
- $content .= '<br /><input type="checkbox" class="checkbox" name="PrevStageRecipient[]" value="'.$prevUserRecord['email'].'"> '.$prevUserRecord['email'].'';
|
|
+ $content .= '<br /><input type="checkbox" class="checkbox" name="PrevStageRecipient[]" value="'.$prevUserRecord['email'].'"> '.$prevUserRecord['email'].' ( '.$prevUserRecord['realName'].' ) ';
|
|
}
|
|
} else {
|
|
$content .= '<span style="color: red;">There are no recipients defined for this stage.</span>';
|
|
@@ -375,19 +375,19 @@
|
|
if($nextStageRecord['uid'] == '10') {
|
|
// The prev stage would be the standart edit stage use possible recipients from workspace config field adminusers
|
|
$workspaceRec = t3lib_BEfunc::getRecord('sys_workspace',$workspaceId);
|
|
- $nextUserRecords = t3lib_BEfunc::getUserNames('username, uid, email','AND uid IN ('.str_replace('be_users_','',$workspaceRec['adminusers']).')');
|
|
+ $nextUserRecords = t3lib_BEfunc::getUserNames('username, uid, email, realName','AND uid IN ('.str_replace('be_users_','',$workspaceRec['adminusers']).')');
|
|
if(!empty($nextUserRecords) && is_array($nextUserRecords)) {
|
|
foreach($nextUserRecords as $nextUserUid => $nextUserRecord) {
|
|
- $content .= '<br /><input type="checkbox" class="checkbox" name="NextStageRecipient[]" value="'.$nextUserRecord['email'].'"> '.$nextUserRecord['email'].'';
|
|
+ $content .= '<br /><input type="checkbox" class="checkbox" name="NextStageRecipient[]" value="'.$nextUserRecord['email'].'"> '.$nextUserRecord['email'].' ( '.$nextUserRecord['realName'].' ) ';
|
|
}
|
|
} else {
|
|
$content .= '<span style="color: red;">There are no recipients defined for this stage.</span>';
|
|
}
|
|
} else {
|
|
- $nextUserRecords = t3lib_BEfunc::getUserNames('username, uid, email','AND uid IN ('.$nextStageRecord['responsible_persons'].')');
|
|
+ $nextUserRecords = t3lib_BEfunc::getUserNames('username, uid, email, realName','AND uid IN ('.$nextStageRecord['responsible_persons'].')');
|
|
if(!empty($nextUserRecords) && is_array($nextUserRecords)) {
|
|
foreach($nextUserRecords as $nextUserUid => $nextUserRecord) {
|
|
- $content .= '<br /><input type="checkbox" class="checkbox" name="NextStageRecipient[]" value="'.$nextUserRecord['email'].'"> '.$nextUserRecord['email'].'';
|
|
+ $content .= '<br /><input type="checkbox" class="checkbox" name="NextStageRecipient[]" value="'.$nextUserRecord['email'].'"> '.$nextUserRecord['email'].' ( '.$nextUserRecord['realName'].' ) ';
|
|
}
|
|
} else {
|
|
$content .= '<span style="color: red;">There are no recipients defined for this stage.</span>';
|