Ignore:
Timestamp:
Feb 1, 2014, 10:35:57 PM (10 years ago)
Author:
LucMorizur
Message:

Version 2.3 beta, still some jQuery improvements needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/main.inc.php

    r25774 r27129  
    22/*
    33Plugin Name: LCAS
    4 Version: 2.2.4
     4Version: 2.3.0
    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
     
    3838  $name = $plugin['name'];
    3939
    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   }
     40  array_push($menu,
     41    array(
     42      'NAME' => $name,
     43      'URL' => get_root_url().'admin.php?page=plugin-'.basename(LCAS_PATH)
     44    )
     45  );
    5946
    6047  return $menu;
Note: See TracChangeset for help on using the changeset viewer.