Changeset 10643


Ignore:
Timestamp:
Apr 27, 2011, 7:19:48 PM (9 years ago)
Author:
Eric
Message:

bug 2285 fixed : Compliance with Piwigo 2.1 and 2.2
bug 2286 fixed : Bad links to official support topics
Remove 'auto' PEM feature for version info

CHANGELOG.txt updated
Version 2.2.2 hard coded for publication

Location:
extensions/LCAS/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/CHANGELOG.txt

    r10586 r10643  
    1 2011-22-04 2.2.2
    2                   Use 'auto' PEM feature for version info,
     12011-27-04 2.2.2
     2                  Bug 2285 fixed : Compliance with Piwigo 2.1 and 2.2
     3                  Bug 2286 fixed : Bad links to official support topics
    34                  modify CHANGELOG.txt info order,
    45                  and cosmetic changes on language keys
  • extensions/LCAS/trunk/admin/template/global.tpl

    r9930 r10643  
    66{/if}
    77{/html_head}
    8 
    9 {combine_css path= $LCAS_PATH|@cat:'admin/template/lcas.css'}
    108
    119<script type="text/javascript">
  • extensions/LCAS/trunk/admin/template/header21.tpl

    r9454 r10643  
    33{known_script id="jquery.tablesorter" src=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.js"}
    44{known_script id="jquery.tablesorter.pager" src=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.pager.js"}
     5
     6{html_head}<link rel="stylesheet" type="text/css" href="{$LCAS_PATH}admin/template/lcas.css">{/html_head}
  • extensions/LCAS/trunk/admin/template/header22.tpl

    r10147 r10643  
    33{combine_script id='jquery.tablesorter' require='jquery' path=$LCAS_PATH|@cat:'admin/template/js/jquery.tablesorter.min.js'}
    44{combine_script id='jquery.tablesorter.pager' require='jquery' path=$LCAS_PATH|@cat:'admin/template/js/jquery.tablesorter.pager.js'}
     5
     6{combine_css path= $LCAS_PATH|@cat:'admin/template/lcas.css'}
  • extensions/LCAS/trunk/main.inc.php

    r10586 r10643  
    22/*
    33Plugin Name: LCAS
    4 Version: auto
     4Version: 2.2.2
    55Description: Allow to disable login/register name to be sensible to the case/accents
    66Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=513
     
    3737  $plugin =  LCAS_PluginInfos(LCAS_PATH);
    3838  $name = $plugin['name'];
    39  
    40   array_push($menu,
    41     array(
    42       'NAME' => $name,
    43       'URL' => get_root_url().'admin.php?page=plugin-'.basename(LCAS_PATH)
    44     )
    45   );
     39
     40  // Compliance with Piwigo 2.2
     41  if (version_compare(PHPWG_VERSION, '2.2', '>=') )
     42  {
     43    array_push($menu,
     44      array(
     45        'NAME' => $name,
     46        'URL' => get_root_url().'admin.php?page=plugin-'.basename(LCAS_PATH)
     47      )
     48    );
     49  }
     50  else // Compliance with Piwigo 2.1
     51  {
     52    array_push($menu,
     53      array(
     54        'NAME' => $name,
     55        'URL'  => get_admin_plugin_menu_link(LCAS_PATH.'/admin/LCAS_admin.php')
     56      )
     57    );
     58  }
    4659
    4760  return $menu;
Note: See TracChangeset for help on using the changeset viewer.