Changeset 16598 for extensions/BatchDownloader/include/events.inc.php
- Timestamp:
- Jul 10, 2012, 6:13:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/events.inc.php
r16592 r16598 34 34 case 'view': 35 35 $page['sub_section'] = 'view'; 36 $page['title'].= l10n('Edit set');36 $page['title'].= l10n('Edit the set'); 37 37 break; 38 38 default: … … 107 107 // toolbar button 108 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 <span class="pwg-icon" style="background:url(\'' . BATCH_DOWNLOAD_PATH . 'template/zip.png\') center center no-repeat;"> </span><span class="pwg-button-text">'.l10n(' AdvancedDownloader').'</span>109 <span class="pwg-icon" style="background:url(\'' . BATCH_DOWNLOAD_PATH . 'template/zip.png\') center center no-repeat;"> </span><span class="pwg-button-text">'.l10n('Batch Downloader').'</span> 110 110 </a></li>'; 111 111 $template->concat('PLUGIN_INDEX_ACTIONS', $button); … … 130 130 user_id = '.$user['id'].' 131 131 AND status != "done" 132 LIMIT 1 132 133 ;'; 133 134 $result = pwg_query($query); 134 135 if (!pwg_db_num_rows($result)) return; 135 136 136 $menu->register_block(new RegisteredBlock('mb AdvancedDownloader', l10n('Downloads'), 'AdvancedDownloader'));137 $menu->register_block(new RegisteredBlock('mbBatchDownloader', l10n('Batch Downloader'), 'BatchDownloader')); 137 138 } 138 139 … … 142 143 143 144 $menu = &$menu_ref_arr[0]; 144 $block = $menu->get_block('mb AdvancedDownloader');145 $block = $menu->get_block('mbBatchDownloader'); 145 146 146 147 if ($block != null) … … 171 172 $template->set_template_dir(BATCH_DOWNLOAD_PATH . 'template/'); 172 173 $block->set_title(l10n('Downloads')); 173 $block->template = 'menublock .tpl';174 $block->template = 'menublock_batch_down.tpl'; 174 175 $block->data = $data; 175 176 }
Note: See TracChangeset
for help on using the changeset viewer.