- Timestamp:
- Jul 10, 2012, 3:39:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/BatchDownloader.class.php
r16400 r16592 39 39 $query = ' 40 40 SELECT 41 user_id, 41 42 date_creation, 42 43 type, … … 58 59 $this->data['set_id'] = $set_id; 59 60 list( 61 $this->data['user_id'], 60 62 $this->data['date_creation'], 61 63 $this->data['type'], … … 68 70 ) = pwg_db_fetch_row($result); 69 71 70 // make sur all pictures of the set exist s72 // make sur all pictures of the set exist 71 73 $query = ' 72 74 DELETE FROM '.BATCH_DOWNLOAD_TIMAGES.' … … 606 608 } 607 609 608 // selection 609 // case 'selection': 610 // { 611 // $set['NAME'] = ''; 612 // $set['COMMENT'] = ''; 613 // break; 614 // } 610 // collection 611 case 'collection': 612 { 613 try 614 { 615 $UserCollection = new UserCollection($this->data['type_id']); 616 $set['NAME'] = l10n('Collection').': <a href="'.USER_COLLEC_PUBLIC.'view/'.$UserCollection->getParam('col_id').'">'.$UserCollection->getParam('name').'</a>'; 617 } 618 catch (Exception $e) 619 { 620 $set['NAME'] = l10n('Collection').': #'.$this->data['type_id'].' (deleted)'; 621 } 622 break; 623 } 615 624 } 616 625
Note: See TracChangeset
for help on using the changeset viewer.