wordpress-popup
Last commit date
popoverincludes
14 years ago
license.txt
15 years ago
popover.php
14 years ago
readme.txt
14 years ago
screenshot-1.png
14 years ago
screenshot-2.png
14 years ago
screenshot-3.png
14 years ago
popover.php
51 lines
| 1 | <?php |
| 2 | /* |
| 3 | Plugin Name: WordPress PopUp |
| 4 | Plugin URI: http://premium.wpmudev.org |
| 5 | Description: Allows you to display a fancy popup (powered as a popover!) to visitors sitewide or per blog, a *very* effective way of advertising a mailing list, special offer or running a plain old ad. |
| 6 | Author: Barry (Incsub) |
| 7 | Version: 4.3.2 |
| 8 | Author URI: http://premium.wpmudev.org |
| 9 | WDP ID: 230 |
| 10 | |
| 11 | Copyright 2007-2010 Incsub (http://incsub.com) |
| 12 | |
| 13 | This program is free software; you can redistribute it and/or modify |
| 14 | it under the terms of the GNU General Public License as published by |
| 15 | the Free Software Foundation; either version 2 of the License, or |
| 16 | (at your option) any later version. |
| 17 | |
| 18 | This program is distributed in the hope that it will be useful, |
| 19 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | GNU General Public License for more details. |
| 22 | |
| 23 | You should have received a copy of the GNU General Public License |
| 24 | along with this program; if not, write to the Free Software |
| 25 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 26 | |
| 27 | */ |
| 28 | |
| 29 | require_once('popoverincludes/includes/config.php'); |
| 30 | require_once('popoverincludes/includes/functions.php'); |
| 31 | // Set up my location |
| 32 | set_popover_url(__FILE__); |
| 33 | set_popover_dir(__FILE__); |
| 34 | |
| 35 | if(is_admin()) { |
| 36 | require_once('popoverincludes/includes/class_wd_help_tooltips.php'); |
| 37 | require_once('popoverincludes/classes/popover.help.php'); |
| 38 | require_once('popoverincludes/classes/popoveradmin.php'); |
| 39 | |
| 40 | $popover = new popoveradmin(); |
| 41 | //$popoverajax = new popoverajax(); |
| 42 | } else { |
| 43 | require_once('popoverincludes/classes/popoverpublic.php'); |
| 44 | |
| 45 | $popover = new popoverpublic(); |
| 46 | } |
| 47 | |
| 48 | load_popover_addons(); |
| 49 | |
| 50 | |
| 51 | ?> |