1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Advanced Search Engine |
---|
4 | Version: 1.0.3 |
---|
5 | Description: An advanced search engine |
---|
6 | Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid= |
---|
7 | Author: grum@piwigo.org |
---|
8 | Author URI: http://photos.grum.fr |
---|
9 | */ |
---|
10 | |
---|
11 | /* |
---|
12 | -------------------------------------------------------------------------------- |
---|
13 | Author : Grum |
---|
14 | email : grum@piwigo.com |
---|
15 | website : http://photos.grum.fr |
---|
16 | PWG user : http://forum.phpwebgallery.net/profile.php?id=3706 |
---|
17 | |
---|
18 | << May the Little SpaceFrog be with you ! >> |
---|
19 | -------------------------------------------------------------------------------- |
---|
20 | |
---|
21 | :: HISTORY |
---|
22 | |
---|
23 | | release | date | |
---|
24 | | 0.1.0 | 2010-10-14 | * first lines of code |
---|
25 | | | | . release not published |
---|
26 | | | | |
---|
27 | | 1.0.0 | 2010-10-26 | * plugin published |
---|
28 | | | | |
---|
29 | | 1.0.1 | 2010-10-26 | * mantis bug:1958 |
---|
30 | | | | . Not possible to configure public gallery for non |
---|
31 | | | | french user |
---|
32 | | | | |
---|
33 | | | | * mantis bug:1959 |
---|
34 | | | | . Translation is not correct for RBuilder keys |
---|
35 | | | | |
---|
36 | | 1.0.2 | 2010-10-27 | * mantis bug:1963 |
---|
37 | | | | . Compatibiliy with AdvancedMenuManager |
---|
38 | | | | |
---|
39 | | | | * mantis bug:1961 |
---|
40 | | | | . Search Engine is accessible from gallery users even |
---|
41 | | | | if not activated |
---|
42 | | | | |
---|
43 | | 1.0.3 | 2010-10-28 | * mantis bug:1970 |
---|
44 | | | | . optimization in css management |
---|
45 | | | | |
---|
46 | | | | |
---|
47 | | | | |
---|
48 | | | | |
---|
49 | | | | |
---|
50 | | | | |
---|
51 | | | | |
---|
52 | | | | |
---|
53 | |
---|
54 | |
---|
55 | :: TO DO |
---|
56 | |
---|
57 | -------------------------------------------------------------------------------- |
---|
58 | |
---|
59 | :: NFO |
---|
60 | ASE_root : common classe for admin and public classes |
---|
61 | ASE_AIM : classe to manage plugin integration into plugin menu |
---|
62 | ASE_AIP : classe to manage plugin admin pages |
---|
63 | ASE_PIP : classe to manage plugin public pages |
---|
64 | |
---|
65 | -------------------------------------------------------------------------------- |
---|
66 | */ |
---|
67 | |
---|
68 | // pour faciliter le debug :o) |
---|
69 | //ini_set('error_reporting', E_ALL); |
---|
70 | //ini_set('display_errors', true); |
---|
71 | |
---|
72 | if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
73 | |
---|
74 | |
---|
75 | define('ASE_DIR' , basename(dirname(__FILE__))); |
---|
76 | define('ASE_PATH' , PHPWG_PLUGINS_PATH . ASE_DIR . '/'); |
---|
77 | |
---|
78 | include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php'); |
---|
79 | include_once('ase_version.inc.php'); // => Don't forget to update this file !! |
---|
80 | |
---|
81 | global $prefixeTable; |
---|
82 | |
---|
83 | if(defined('IN_ADMIN')) |
---|
84 | { |
---|
85 | //ASE admin interface loaded and active only if in admin page |
---|
86 | include_once("ase_aim.class.inc.php"); |
---|
87 | $obj=new ASE_AIM($prefixeTable, __FILE__); |
---|
88 | $obj->initEvents(); |
---|
89 | } |
---|
90 | else |
---|
91 | { |
---|
92 | if(CommonPlugin::checkGPCRelease(ASE_GPC_NEEDED)) |
---|
93 | { |
---|
94 | //ASE public interface loaded and active only if in public page |
---|
95 | include_once("ase_pip.class.inc.php"); |
---|
96 | $obj=new ASE_PIP($prefixeTable, __FILE__); |
---|
97 | } |
---|
98 | } |
---|
99 | |
---|
100 | set_plugin_data($plugin['id'], $obj); |
---|
101 | |
---|
102 | ?> |
---|