Changeset 10974


Ignore:
Timestamp:
May 21, 2011, 2:08:54 PM (9 years ago)
Author:
grum
Message:

feature:2150 - Compatibility with Piwigo 2.2

Location:
extensions/lmt
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • extensions/lmt/admin/plugin_admin.php

    r7560 r10974  
    1515
    1616global $prefixeTable;
    17 
    1817
    1918load_language('plugin.lang', LMT_PATH);
     
    5453}
    5554
    56 
    57 
    58 
    5955$plugin_aip->manage();
    60 
    6156?>
  • extensions/lmt/lmt_aip.class.inc.php

    r7560 r10974  
    1919include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCRequestBuilder.class.inc.php');
    2020include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/genericjs.class.inc.php');
     21include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCPagesNavigation.class.inc.php');
    2122include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
    2223
     
    548549    }
    549550
     551
    550552    /* ------------------------------------------------------------------------
    551553     * Add an author
     
    791793  --------------------------------------------------------------------------- */
    792794
    793 
    794795} //class
    795796
  • extensions/lmt/lmt_install.class.inc.php

    r7560 r10974  
    7676    }
    7777
     78
    7879    /*
    7980        function for uninstall process
     
    105106      GPCRequestBuilder::unregister($this->getPluginName());
    106107    }
     108
    107109  } //class
    108110
  • extensions/lmt/lmt_root.class.inc.php

    r7560 r10974  
    215215  }
    216216
    217 
    218217  protected function displayResult($action_msg, $result)
    219218  {
  • extensions/lmt/lmt_version.inc.php

    r7560 r10974  
    1717  define('LMT_VERSION',  '1.3.0');
    1818  define('LMT_VERSION2', '01.03.00');
    19   define('LMT_GPC_NEEDED', '3.3.3');
     19  define('LMT_GPC_NEEDED', '3.5.1');
    2020?>
  • extensions/lmt/main.inc.php

    r7560 r10974  
    44Version: 1.3.0
    55Description: Appliquer une licence sur ses photos / Apply a licence on photos
    6 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=282
     6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=282
    77Author: grum@piwigo.org
    88Author URI: http://photos.grum.fr
     
    5555|         |            |     on line 720
    5656|         |            |
    57 | 1.2.3   | 2010/07/24 | * mantis : feature 1439
     57| 1.3.0   | 2011/05/21 | * mantis : feature 1439
    5858|         |            |   . Add an "ALT" property to the licence picture
    5959|         |            |     => the "TITLE" property was also added
     
    6363|         |            |   . slashes should be stripped when displaying author
    6464|         |            |     names
    65 |         |            |
    66 |         |            |
    67 |         |            |
    68 |         |            |
     65|         |            | * mantis feature:
     66|         |            |   . compatibility with piwigo 2.2
     67|         |            | * mantis bug:1689
     68|         |            |   . Add possibility to search picture by licence
    6969|         |            |
    7070|         |            |
  • extensions/lmt/maintain.inc.php

    r7560 r10974  
    3939}
    4040
    41 
    4241function gpcMsgError(&$errors)
    4342{
     
    7473}
    7574
    76 
    77 
    7875function plugin_activate($plugin_id, $plugin_version, &$errors)
    7976{
     
    8683  }
    8784}
    88 
    8985
    9086function plugin_deactivate($plugin_id)
  • extensions/lmt/templates/lmt_dialog_licence_choose.tpl

    r7561 r10974  
    1 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"}
    2 {known_script id="jquery.ui.dialog" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.dialog.packed.js"}
    3 
     1{combine_script id="jquery" path="themes/default/js/jquery.min.js"}
     2{combine_script id="jquery.ui" path="themes/default/js/ui/minified/jquery.ui.core.min.js"}
     3{combine_script id="jquery.ui.dialog" path="themes/default/js/ui/minified/jquery.ui.dialog.min.js"}
    44
    55{literal}
Note: See TracChangeset for help on using the changeset viewer.