Ignore:
Timestamp:
May 21, 2011, 6:16:47 PM (14 years ago)
Author:
mistic100
Message:

test version

File:
1 edited

Legend:

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

    r10871 r10980  
    33Plugin Name: SmartAlbums
    44Version: auto
    5 Description: Easy create dynamic albums with tags, date and other criteria
    6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=
     5Description: Easily create dynamic albums with tags, date and other criteria
     6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=544
    77Author: Mistic
    88Author URI: http://www.strangeplanet.fr
     
    1818if (script_basename() == 'admin')
    1919{
    20   include_once(SMART_PATH.'init_cat_modify.php');
     20  add_event_handler('loc_begin_cat_modify', 'smart_init_cat_modify');
     21  function smart_init_cat_modify()
     22  {
     23    include_once(SMART_PATH.'init_cat_modify.php');
     24    smart_cat_modify();
     25  }
    2126 
    22   add_event_handler('loc_begin_cat_modify', 'smart_cat_modify'); 
     27  add_event_handler('loc_begin_cat_list', 'smart_init_cat_list');
     28  function smart_init_cat_list()
     29  {
     30    include_once(SMART_PATH.'init_cat_list.php');
     31    smart_cat_list();
     32  }
    2333}
    2434
Note: See TracChangeset for help on using the changeset viewer.