Ignore:
Timestamp:
Sep 25, 2013, 10:31:35 AM (11 years ago)
Author:
plg
Message:

bug fixed: load language at the right time so that the tab is always translated

Location:
extensions/photo_update
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/photo_update/admin.php

    r24623 r24624  
    5252// +-----------------------------------------------------------------------+
    5353
    54 load_language('plugin.lang', PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
    55  
    5654if (isset($_FILES['photo_update']))
    5755{
  • extensions/photo_update/main.inc.php

    r16982 r24624  
    1717function photo_update_add_tab($sheets, $id)
    1818
     19  load_language('plugin.lang', PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     20 
    1921  if ($id == 'photo')
    2022  {
Note: See TracChangeset for help on using the changeset viewer.