Changeset 21206 for extensions/BatchDownloader/include/download.inc.php
- Timestamp:
- Mar 5, 2013, 1:04:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/BatchDownloader/include/download.inc.php
r17915 r21206 137 137 { 138 138 // add links 139 $search = ' <span class="wrap1">';140 $replace = $search.'139 $search = '#(<li>|<li class="gthumb">)#'; 140 $replace = '$1 141 141 {strip}<a class="removeSet" href="{$U_VIEW}&remove={$thumbnail.id}" data-id="{$thumbnail.id}" rel="nofollow"> 142 142 {\'Remove from download set\'|@translate} <img src="{$ROOT_URL}{$BATCH_DOWNLOAD_PATH}template/image_delete.png" title="{\'Remove from download set\'|@translate}"> … … 146 146 $content.= file_get_contents(BATCH_DOWNLOAD_PATH.'template/thumbnails_css_js.tpl'); 147 147 148 return str_replace($search, $replace, $content);148 return preg_replace($search, $replace, $content); 149 149 } 150 150
Note: See TracChangeset
for help on using the changeset viewer.