Ignore:
Timestamp:
Jul 10, 2012, 5:37:33 PM (12 years ago)
Author:
mistic100
Message:

-menu always displayed if user has unactive collections
-better user status checks
-localizations

File:
1 edited

Legend:

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

    r16591 r16597  
    33Plugin Name: User Collections
    44Version: auto
    5 Description: Registered users can select pictures from the gallery and save them into collections, kind of advanced favorites.
    6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=
     5Description: Registered users can select pictures from the gallery and save them into collections, like advanced favorites.
     6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=615
    77Author: Mistic
    88Author URI: http://www.strangeplanet.fr
     
    1313global $conf, $prefixeTable;
    1414
    15 define('USER_COLLEC_PATH',      PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
    16 define('COLLECTIONS_TABLE',     $prefixeTable.'collections');
     15define('USER_COLLEC_PATH',       PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
     16define('COLLECTIONS_TABLE',      $prefixeTable.'collections');
    1717define('COLLECTION_IMAGES_TABLE',$prefixeTable.'collection_images');
    18 define('USER_COLLEC_ADMIN',     get_root_url() . 'admin.php?page=plugin-' . basename(dirname(__FILE__)));
    19 define('USER_COLLEC_PUBLIC',    make_index_url(array('section' => 'collections')) . '/');
     18define('USER_COLLEC_ADMIN',      get_root_url() . 'admin.php?page=plugin-' . basename(dirname(__FILE__)));
     19define('USER_COLLEC_PUBLIC',     make_index_url(array('section' => 'collections')) . '/');
    2020
    2121
Note: See TracChangeset for help on using the changeset viewer.