Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/webroot/news/components/com_jevents/views/alternative/month/ |
Upload File : |
<?php /** * JEvents Component for Joomla 1.5.x * * @version $Id: view.html.php 1406 2009-04-04 09:54:18Z geraint $ * @package JEvents * @copyright Copyright (C) 2008-2009 GWE Systems Ltd * @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html * @link http://www.jevents.net */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die(); /** * HTML View class for the component frontend * * @static */ class AlternativeMonth extends JEventsAlternativeView { function calendar($tpl = null) { JEVHelper::componentStylesheet($this); $document =& JFactory::getDocument(); // TODO do this properly //$document->setTitle(JText::_("BROWSER TITLE")); $params = JComponentHelper::getParams(JEV_COM_COMPONENT); //$this->assign("introduction", $params->get("intro","")); $this->data = $this->datamodel->getCalendarData($this->year, $this->month, $this->day ); // for adding events in day cell $this->popup=false; if ($params->get("editpopup",0)){ JHTML::_('behavior.modal'); JHTML::script('editpopup.js','components/'.JEV_COM_COMPONENT.'/assets/js/'); $this->popup=true; $this->popupw = $params->get("popupw",800); $this->popuph = $params->get("popuph",600); } $this->is_event_creator = JEVHelper::isEventCreator(); } }