Changeset 6724


Ignore:
Timestamp:
07/28/10 18:00:25 (10 years ago)
Author:
patdenice
Message:

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

Location:
branches/2.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/admin/include/plugins.class.php

    r5367 r6724  
    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).'.'", '.', ''); 
  • branches/2.1/plugins/language_switch/main.inc.php

    r6364 r6724  
    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.