Ignore:
Timestamp:
Oct 9, 2007, 1:46:09 AM (17 years ago)
Author:
rvelices
Message:
  • some code refactoring before upgrade to utf (only cosmetic at this point...)
Location:
trunk/plugins/add_index
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/add_index/main.admin.inc.php

    r2059 r2126  
    5151  function loading_lang()
    5252  {
    53     global $lang;
    54 
    55     include(get_language_filepath('plugin.lang.php', $this->path));
     53    load_language('plugin.lang', $this->path);
    5654  }
    5755
  • trunk/plugins/add_index/main.normal.inc.php

    r2059 r2126  
    3737    {
    3838      $help_content =
    39         @file_get_contents(get_language_filepath('help/'.$page.'.html', $this->path));
     39        load_language('help/'.$page.'.html', $this->path, '', true);
    4040    }
    4141    else
Note: See TracChangeset for help on using the changeset viewer.