Changeset 26849


Ignore:
Timestamp:
Jan 18, 2014, 1:53:50 PM (7 years ago)
Author:
mistic100
Message:

keep old trigger functions (PHP 5.2 issue)

Location:
extensions/BatchDownloader
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/include/BatchDownloader.class.php

    r26642 r26849  
    467467      $this->updateParam('date_creation', date('Y-m-d H:i:s'));
    468468
    469       trigger_notify('batchdownload_init_zip', $this->data, array_keys($this->images)); // triggered once for all
     469      trigger_action('batchdownload_init_zip', $this->data, array_keys($this->images)); // triggered once for all
    470470    }
    471471
     
    571571      pwg_query($query);
    572572
    573       trigger_notify('batchdownload_end_zip', $this->data, $images_added); // triggered for each zip
     573      trigger_action('batchdownload_end_zip', $this->data, $images_added); // triggered for each zip
    574574
    575575      // all images added ?
     
    763763        {
    764764          $set['NAME'] = l10n('Album').': '.get_cat_display_name($category['upper_names']);
    765           $set['sNAME'] = l10n('Album').': '.trigger_change('render_category_name', $category['name']);
    766           $set['COMMENT'] = trigger_change('render_category_description', $category['comment']);
     765          $set['sNAME'] = l10n('Album').': '.trigger_event('render_category_name', $category['name']);
     766          $set['COMMENT'] = trigger_event('render_category_description', $category['comment']);
    767767
    768768          if (!empty($category['permalink']))
     
    804804          $set['NAME'].=
    805805            '<a href="' . make_index_url(array('tags'=>array($tag))) . '">'
    806             .trigger_change('render_tag_name', $tag['name'])
     806            .trigger_event('render_tag_name', $tag['name'])
    807807            .'</a>';
    808808          $set['BASENAME'].= '-'.$tag['url_name'];
  • extensions/BatchDownloader/include/functions.inc.php

    r25932 r26849  
    9494  }
    9595
    96   return trigger_change('batchdownload_get_set_info', $set);
     96  return trigger_event('batchdownload_get_set_info', $set);
    9797}
    9898
  • extensions/BatchDownloader/template/download_button.tpl

    r25932 r26849  
    3333{/footer_script}
    3434
    35 {html_style}{literal}
    36 .downloadSizeDetails {font-style:italic; font-size:80%;}
    37 {/literal}{/html_style}
     35{html_style}
     36.downloadSizeDetails { font-style:italic; font-size:80%; }
     37{/html_style}
Note: See TracChangeset for help on using the changeset viewer.