Ignore:
Timestamp:
Mar 5, 2013, 1:04:50 PM (11 years ago)
Author:
mistic100
Message:

-define body_id and fix breadcrumb
-fix edit page with simple and gthumb+

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/include/download.inc.php

    r17915 r21206  
    137137{
    138138  // add links
    139   $search = '<span class="wrap1">';
    140   $replace = $search.'
     139  $search = '#(<li>|<li class="gthumb">)#';
     140  $replace = '$1
    141141{strip}<a class="removeSet" href="{$U_VIEW}&amp;remove={$thumbnail.id}" data-id="{$thumbnail.id}" rel="nofollow">
    142142{\'Remove from download set\'|@translate}&nbsp;<img src="{$ROOT_URL}{$BATCH_DOWNLOAD_PATH}template/image_delete.png" title="{\'Remove from download set\'|@translate}">
     
    146146  $content.= file_get_contents(BATCH_DOWNLOAD_PATH.'template/thumbnails_css_js.tpl');
    147147
    148   return str_replace($search, $replace, $content);
     148  return preg_replace($search, $replace, $content);
    149149}
    150150
Note: See TracChangeset for help on using the changeset viewer.