Changeset 6725


Ignore:
Timestamp:
Jul 28, 2010, 6:17:53 PM (14 years ago)
Author:
patdenice
Message:

merge r6724 from branch 2.1 to trunk

Plugin version compare must return false if plugin version is "auto" (developpement version).
Change language switch version number.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/plugins.class.php

    r5367 r6725  
    525525  function plugin_version_compare($a, $b)
    526526  {
     527    if (strtolower($a) == 'auto') return false;
     528
    527529    $pattern = array('/([a-z])/ei', '/\.+/', '/\.\Z|\A\./');
    528530    $replacement = array( "'.'.intval('\\1', 36).'.'", '.', '');
  • trunk/plugins/language_switch/main.inc.php

    r5845 r6725  
    2424/*
    2525Plugin Name: Language Switch
    26 Version: Auto
     26Version: 2.1.1
    2727Description: Switch to another language from flags on your gallery home page.
    2828Plugin URI: http://piwigo.org/ext/extension_view.php?eid=123
Note: See TracChangeset for help on using the changeset viewer.