|
Revision 78, 0.6 kB
(checked in by d0nut, 6 years ago)
|
|
license updates to version 3 of GPL and LGPL
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | // WCF includes |
|---|
| 3 | require_once(WCF_DIR.'lib/system/event/EventListener.class.php'); |
|---|
| 4 | |
|---|
| 5 | /** |
|---|
| 6 | * Adds the bubble javascript from websnapr to the template |
|---|
| 7 | * |
|---|
| 8 | * @author Torben Brodt |
|---|
| 9 | * @package de.easy-coding.wcf.websnapr |
|---|
| 10 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-3.0.html> |
|---|
| 11 | */ |
|---|
| 12 | class AbstractPageWebsnaprListener implements EventListener { |
|---|
| 13 | |
|---|
| 14 | /** |
|---|
| 15 | * @see EventListener::execute() |
|---|
| 16 | */ |
|---|
| 17 | public function execute($eventObj, $className, $eventName) { |
|---|
| 18 | if(defined('WEBSNAPR_KEY') && WEBSNAPR_KEY != "") { |
|---|
| 19 | WBBCore::getTPL()->append('specialStyles', WBBCore::getTPL()->fetch('WebSnapr')); |
|---|
| 20 | } |
|---|
| 21 | } |
|---|
| 22 | } |
|---|
| 23 | ?> |
|---|