Changeset 16697 for extensions/BatchDownloader/include
- Timestamp:
- Jul 13, 2012, 8:42:34 PM (12 years ago)
- Location:
- extensions/BatchDownloader/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/BatchDownloader.class.php
r16695 r16697 607 607 try 608 608 { 609 if (!class_exists('UserCollection')) throw new Exception(); 609 610 $UserCollection = new UserCollection($this->data['type_id']); 610 611 $set['NAME'] = l10n('Collection').': <a href="'.USER_COLLEC_PUBLIC.'view/'.$UserCollection->getParam('id').'">'.$UserCollection->getParam('name').'</a>'; -
extensions/BatchDownloader/include/events.inc.php
r16689 r16697 106 106 107 107 // toolbar button 108 $button = '<li><a href="'. $url .'&action=advdown_set" title="'.l10n('Download all pictures of this selection').'" class="pwg-state-default pwg-button" rel="nofollow" 109 onClick="return confirm(\''.sprintf(l10n('Confirm the download of %d pictures?'), count($page['items'])).'\');"> 108 $button = '<script type="text/javascript">var batchdown_count = '.count($page['items']).'; var batchdown_string = "'.l10n('Confirm the download of %d pictures?').'";</script> 109 <li><a href="'. $url .'&action=advdown_set" title="'.l10n('Download all pictures of this selection').'" class="pwg-state-default pwg-button" rel="nofollow" 110 onClick="return confirm(batchdown_string.replace(\'%d\', batchdown_count));"> 110 111 <span class="pwg-icon batch-downloader-icon" style="background:url(\'' . BATCH_DOWNLOAD_PATH . 'template/zip.png\') center center no-repeat;"> </span><span class="pwg-button-text">'.l10n('Batch Downloader').'</span> 111 112 </a></li>';
Note: See TracChangeset
for help on using the changeset viewer.