Ignore:
Timestamp:
04/03/10 21:44:11 (10 years ago)
Author:
Eric
Message:

[Register_FluxBB]

  • Piwigo 2.1 compatibility
  • Adding css file
  • Templates refactory: Moved with css in a "template" subdirectory of admin directory, moving icons in template directory, using css rules to improve important text display
  • functions_Register_FluxBB.inc.php renamed to functions.inc.php
  • Register_FluxBB_admin.php remaned to admin.php
  • Language files revision (language tags simplification)
  • Obsolete files management : Deleting old php / tpl files, deleting old icons and old icon directory
File:
1 edited

Legend:

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

    r4287 r5606  
    22/* 
    33Plugin Name: Register FluxBB 
    4 Version: 2.1.3 
     4Version: 2.2.0 
    55Description: Link user registration from Piwigo to FluxBB forum (registration, password changing, deletion) - Original Nicco's NBC_LinkUser2PunBB plugin upgraded to Piwigo / Liez l'inscription des utilisateurs de Piwigo avec votre forum FluxBB - Portage du plugin NBC_LinkUser2PunBB de Nicco vers Piwigo 
    66Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=252 
     
    3838                      - Full HTML 4.0 for tpl 
    3939 
     402.2.0     - 03/04/10  - Piwigo 2.1 compatibility 
     41                      - Adding css file 
     42                      - Templates refactory: Moved with css in a "template" subdirectory of admin directory, Moving icons in template directory, using css rules to improve important text display 
     43                      - functions_Register_FluxBB.inc.php renamed in functions.inc.php 
     44                      - Language files revision 
     45                      - Obsolete files management 
     46 
    4047-------------------------------------------------------------------------------- 
    4148*/ 
     
    4754if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
    4855 
    49 define('Register_FluxBB_DIR' , basename(dirname(__FILE__))); 
    50 define('Register_FluxBB_PATH' , PHPWG_PLUGINS_PATH . Register_FluxBB_DIR . '/'); 
    51 include_once (Register_FluxBB_PATH.'include/functions_Register_FluxBB.inc.php'); 
     56if (!defined('REGFLUXBB_DIR')) define('REGFLUXBB_DIR' , basename(dirname(__FILE__))); 
     57if (!defined('REGFLUXBB_PATH')) define('REGFLUXBB_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 
     58 
     59include_once (REGFLUXBB_PATH.'include/constants.php'); 
     60include_once (REGFLUXBB_PATH.'include/functions.inc.php'); 
     61 
    5262 
    5363/* plugin administration */ 
     
    5868  array_push($menu, array( 
    5969    'NAME' => 'Register FluxBB', 
    60     'URL'  => get_admin_plugin_menu_link(Register_FluxBB_PATH.'admin/Register_FluxBB_admin.php'))); 
     70    'URL'  => get_admin_plugin_menu_link(REGFLUXBB_PATH.'admin/admin.php'))); 
    6171  return $menu; 
    6272} 
     
    7080  global $conf; 
    7181         
    72   include_once (Register_FluxBB_PATH.'include/functions_Register_FluxBB.inc.php'); 
     82  include_once (REGFLUXBB_PATH.'include/functions.inc.php'); 
    7383 
    7484  // Warning : FluxBB uses Sha1 hash instead of md5 for Piwigo ! 
     
    8292function Register_FluxBB_Deluser($user_id) 
    8393{ 
    84   include_once (Register_FluxBB_PATH.'include/functions_Register_FluxBB.inc.php'); 
     94  include_once (REGFLUXBB_PATH.'include/functions.inc.php'); 
    8595 
    8696  FluxBB_Deluser( FluxBB_Searchuser($user_id), true ); 
     
    94104{ 
    95105  global $conf, $user ; 
    96   include_once (Register_FluxBB_PATH.'include/functions_Register_FluxBB.inc.php'); 
     106  include_once (REGFLUXBB_PATH.'include/functions.inc.php'); 
    97107 
    98108/* user update */ 
     
    166176      if (count($errors) == 0) 
    167177      { 
    168         include_once (Register_FluxBB_PATH.'include/functions_Register_FluxBB.inc.php'); 
     178        include_once (REGFLUXBB_PATH.'include/functions.inc.php'); 
    169179       
    170180        $query = ' 
Note: See TracChangeset for help on using the changeset viewer.