source: extensions/UserStat/userstat_root.class.inc.php @ 32003

Revision 16015, 1.4 KB checked in by grum, 7 years ago (diff)

feature:2643- compatibility with Piwigo 2.4

Line 
1<?php
2/*
3 * -----------------------------------------------------------------------------
4 * Plugin Name: UserStat
5 * -----------------------------------------------------------------------------
6 * Author     : Grum
7 *   email    : grum@piwigo.org
8 *   website  : http://photos.grum.fr
9 *   PWG user : http://forum.piwigo.org/profile.php?id=3706
10 *
11 *   << May the Little SpaceFrog be with you ! >>
12 *
13 * -----------------------------------------------------------------------------
14 *
15 * See main.inc.php for release information
16 *
17 * UserStat_install : classe to manage plugin install
18 * ---------------------------------------------------------------------------
19 */
20
21if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); }
22
23include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php');
24
25class UserStat_root extends CommonPlugin
26{
27  public function __construct($prefixeTable, $filelocation)
28  {
29    $this->setPluginName("UserStat");
30    $this->setPluginNameFiles("userstat");
31    parent::__construct($prefixeTable, $filelocation);
32  }
33
34  /* ---------------------------------------------------------------------------
35  common AIP & PIP functions
36  --------------------------------------------------------------------------- */
37
38  public function loadCSS()
39  {
40    parent::loadCSS();
41    GPCCore::addHeaderCSS('userstat.css', 'plugins/'.$this->getDirectory().'/'.$this->getPluginNameFiles().".css");
42  }
43}
44
45
46
47?>
Note: See TracBrowser for help on using the repository browser.