Ignore:
Timestamp:
Jan 23, 2014, 6:35:31 PM (10 years ago)
Author:
plg
Message:

compatibility with Piwigo 2.6 (jQuery 1.10)

bug fixed: correctly load language for "Rotate" photo edition tab

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rotateImage/main.inc.php

    r16981 r26925  
    1616add_event_handler('loc_begin_element_set_global', 'rotate_image_set_template_data');
    1717function rotate_image_set_template_data() {
    18   global $template,$lang;
    19   load_language('plugin.lang', dirname(__FILE__).'/');
     18  global $template;
    2019
    2120  include_once(PHPWG_ROOT_PATH.'admin/include/image.class.php');
     
    7170add_event_handler('tabsheet_before_select','rotate_image_add_tab', 50, 2);
    7271function rotate_image_add_tab($sheets, $id)
    73 
     72{
     73  load_language('plugin.lang', dirname(__FILE__).'/');
     74 
    7475  if ($id == 'photo')
    7576  {
Note: See TracChangeset for help on using the changeset viewer.