CC-1977: Allow multiple files to be selected and acted upon in the library and playlist

- Fixed issues in "Manage Users" page
- Moved some code to more appropriate place
This commit is contained in:
Yuchen Wang 2012-01-13 14:17:39 -05:00
parent 186aa9e898
commit 258521ffbf
3 changed files with 74 additions and 57 deletions

View file

@ -236,8 +236,10 @@ class Application_Model_User {
// mark record which is for the current user
foreach($res['aaData'] as &$record){
if($record[1] == $username){
$record[5] = "self";
if($record['login'] == $username){
$record['delete'] = "self";
} else {
$record['delete'] = "";
}
}