<?php /** * @package LiveUpdate * @copyright Copyright (c)2010-2012 Nicholas K. Dionysopoulos / AkeebaBackup.com * @license GNU LGPLv3 or later <http://www.gnu.org/copyleft/lesser.html> */ defined('_JEXEC') or die; echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'liveupdate', 'COM_MATUKIO_LIVEUPDATE', 'COM_MATUKIO_SLOGAN_LIVEUPDATE'); ?> <div class="liveupdate"> <?php if ($this->updateInfo->releasenotes) { ?> <div style="display:none;"> <div id="liveupdate-releasenotes"> <div class="liveupdate-releasenotes-text"> <?php echo $this->updateInfo->releasenotes; ?> </div> </div> </div> <?php } ?> <?php if (!$this->updateInfo->supported) { ?> <div class="liveupdate-notsupported">
/** * Function to render a social media info * * @param array $menu - The menu * @param string $active - The active entry * @param string $title - The title * @param string $slogan - The slogan * @param string $extension - The extension (opt - if not set taken from input->get('option')) * * @return string */ public static function getHead($menu, $active = 'dashboard', $title = '', $slogan = '', $extension = '') { // Load bootstrap CompojoomHtmlBehavior::bootstrap31(true, true, true, false); $input = JFactory::getApplication()->input; if (empty($extension)) { $extension = $input->get('option'); } if (empty($active)) { $active = $input->getCmd('view'); } $user = JFactory::getUser(); $gravatar = CompojoomHtmlCtemplate::get_gravatar($user->email); $html[] = '<div class="compojoom-bootstrap" style="clear: both">'; // Loading animation $html[] = '<div id="loading" style="display: none;"> <div class="loading-inner"> <div class="spinner"> <div class="cube1"></div> <div class="cube2"></div> </div> </div> </div>'; // Container $html[] = '<div class="c-container"> <div class="logo-brand header sidebar rows"> <div class="c-extension-title logo pull-left"> <h1><a href="' . JRoute::_("index.php?option=" . JFactory::getApplication()->input->get('option')) . '">' . JText::_($extension) . '</a></h1> </div> <div class="c-toolbar-holder"> <div class="c-toolbar pull-left"> ' . JToolbar::getInstance('toolbar')->render('toolbar') . ' </div> </div> <div class="c-logo-icon pull-left visible-lg"> <a href="https://compojoom.com" title="Compojoom"><img src="../media/lib_compojoom/img/logo-green.png" alt="Compojoom" /></a> </div> </div> '; // Begin sidebar $html[] = '<div class="left side-menu"> <div class="body rows scroll-y"> <div class="sidebar-inner" style="min-height: 100%"> <div class="media c-media-sidebar"> <a class="pull-left" href="index.php?option=com_users"> <img class="media-object" src="' . $gravatar . '" alt="Avatar" /> </a> <div class="media-body c-media-introtext"> ' . JText::_('LIB_COMPOJOOM_WELCOME_BACK') . ', <h4 class="media-heading"><strong>' . $user->name . '</strong></h4> </div> </div> '; // Search $html[] = '<div id="search"> <form role="form"> <input type="text" id="csearch" class="form-control search" placeholder="' . JText::_('LIB_COMPOJOOM_SEARCH_HERE') . '" /> <i class="fa fa-search"></i> </form> </div>'; // Sidebar menu $html[] = '<div id="sidebar-menu" style="clear: both;"> <ul>'; foreach ($menu as $k => $m) { $act = ""; if ($k == $active || array_key_exists($active, $m['children'])) { $act = ' class="active"'; } $keyw = ""; if (!empty($m['keywords'])) { $keyw = ' keywords="' . $m['keywords'] . '"'; } $html[] = '<li' . $act . $keyw . '>'; // If we have an empty link we generate it on the key! like jtoolbarhelper does if (empty($m['link'])) { $m['link'] = 'index.php?option=' . $extension . '&view=' . $k; } // Link $html[] = '<a href="' . JRoute::_($m['link']) . $m['anchor'] . '" title="' . JText::_($m['title']) . '">'; // Icon if (!empty($m['icon'])) { $html[] = '<i class="fa ' . $m['icon'] . '"></i> '; } if (count($m['children'])) { $html[] = '<i class="fa fa-angle-double-down i-right"></i> '; } $html[] = JText::_($m['title']); $html[] = '</a>'; if (count($m['children'])) { $style = ""; if ($k == $active || array_key_exists($active, $m['children'])) { $style = ' style="display: block;"'; } $html[] = '<ul' . $style . '>'; foreach ($m['children'] as $kc => $c) { $act = ""; if ($kc == $active) { $act = ' class="active"'; } $keywc = ""; if (!empty($c['keywords'])) { $keywc = ' keywords="' . $c['keywords'] . '"'; } $html[] = '<li key="' . $kc . '"' . $act . $keywc . '>'; // If we have an empty link we generate it on the key! like jtoolbarhelper does if (empty($c['link'])) { $c['link'] = 'index.php?option=' . $extension . '&view=' . $kc; } // Link $html[] = '<a href="' . JRoute::_($c['link']) . $c['anchor'] . '" title="' . JText::_($c['title']) . '">'; // Icon // $html[] = '<i class="fa fa-angle-right"></i> '; // Icon right if (!empty($c['icon'])) { $html[] = '<i class="fa ' . $c['icon'] . '"></i> '; } $html[] = JText::_($c['title']); $html[] = '</a>'; $html[] = '</li>'; } $html[] = '</ul>'; } if (!empty($m['label'])) { $html[] = '<span class="label label-success new-circle animated double shake c-sp-inline">' . $m['label'] . '</span>'; } $html[] = '</li>'; } $html[] = '</ul> <div class="clear clr"></div> </div><!-- End div #sidebar-menu --> </div><!-- End div .sidebar-inner .slimscroller --> </div><!-- End div .body .rows .scroll-y --> </div> '; // BEGIN CONTENT $html[] = '<div class="right content-page">'; // BEGIN CONTENT HEADER $html[] = '<div class="body content rows scroll-y">'; $html[] = '<div id="c-debug-container"> </div>'; $html[] = '<div id="c-system-message-container"> </div>'; if (!empty($title)) { $html[] = '<div class="page-heading animated fadeInDownBig"> <h1>' . JText::_($title) . ' <small>' . JText::_($slogan) . '</small></h1> </div>'; } return implode('', $html); }
/** * @package Matukio * @author Yves Hoppe <*****@*****.**> * @date 03.04.13 * * @copyright Copyright (C) 2008 - 2014 Yves Hoppe - compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die('Restricted access'); jimport('joomla.filter.output'); JHTML::_('behavior.multiselect'); if (JVERSION > 2.5) { JHtml::_('formbehavior.chosen', 'select'); } echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'organizers', 'COM_MATUKIO_ORGANIZERS', 'COM_MATUKIO_SLOGAN_ORGANIZERS'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $filterStatus = $this->escape($this->state->get('filter.status')); // Small css fixes JFactory::getDocument()->addStyleDeclaration(' .form-horizontal .control-label {padding-top: 7px;} .table td {vertical-align: middle;} label {display: inline;} '); ?> <div class="box-info full"> <form name="adminForm" id="adminForm" method="post" action="<?php echo JRoute::_('index.php?option=com_matukio&view=organizers');
/** * @package Matukio * @author Yves Hoppe <*****@*****.**> * @date 25.09.13 * * @copyright Copyright (C) 2008 - 2013 compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die('Restricted access'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); if (JVERSION > 3) { // TODO change tooltips to bootstrap JHtml::_('formbehavior.chosen', 'select'); } echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'eventlist', 'COM_MATUKIO_EDIT_EVENT', 'COM_MATUKIO_SLOGAN_EDIT_EVENT'); JFilterOutput::objectHTMLSafe($this->event); ?> <script type="text/javascript"> Joomla.submitbutton = function(task) { if (task == 'cancel' || jQuery('#adminForm').validationEngine('validate')) { Joomla.submitform(task, document.getElementById('adminForm')); } } </script> <div class="box-info full"> <form action="index.php" method="post" name="adminForm" id="adminForm" class="form-horizontal" enctype="multipart/form-data" role="form"> <?php
* * @copyright Copyright (C) 2008 - 2013 compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * @since 2.2.0 */ defined('_JEXEC') or die('Restricted access'); $editor = JFactory::getEditor(); if (JVERSION > 3) { JHTML::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); // Load select style JHTML::_('behavior.multiselect'); } // Load formvalidator! JHtml::_('behavior.formvalidation'); echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'locations', 'COM_MATUKIO_EDIT_LOCATION', 'COM_MATUKIO_SLOGAN_EDIT_LOCATION'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); // Small css fixes JFactory::getDocument()->addStyleDeclaration(' .form-horizontal .control-label {padding-top: 7px;} label {display: inline;} '); ?> <script type="text/javascript"> Joomla.submitbutton = function(task) { if (task == 'cancel' || document.formvalidator.isValid(document.id('location-form'))) { Joomla.submitform(task, document.getElementById('location-form')); } }
/** * @package Matukio * @author Yves Hoppe <*****@*****.**> * @date 28.09.13 * * @copyright Copyright (C) 2008 - 2013 Yves Hoppe - compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * @since 2.0.0 */ defined('_JEXEC') or die('Restricted access'); JHTML::_('behavior.multiselect'); if (JVERSION > 2.5) { JHtml::_('formbehavior.chosen', 'select'); } echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'differentfees', 'COM_MATUKIO_DIFFERENT_FEES', 'COM_MATUKIO_SLOGAN_DIFFERENT_FEES'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $filterStatus = $this->escape($this->state->get('filter.status')); ?> <form action="<?php echo JRoute::_("index.php?option=com_matukio&view=differentfees"); ?> " method="post" name="adminForm" id="adminForm"> <div class="box-info full"> <div id="filter-bar" class="btn-toolbar"> <div class="filter-search fltlft btn-group pull-left"> <label class="filter-search-lbl element-invisible" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL');
* @copyright Copyright (C) 2008 - {YEAR} Yves Hoppe - compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die('Restricted access'); $stats = $this->stats; $mstats = $this->mstats; $html = '<div class="box-info full">'; $html .= MatukioHelperUtilsBasic::printFormstart(2) . "\n<script type=\"text/javascript\">"; $html .= "function semauf(semy, semm) {"; $html .= "document.adminForm.year.value = semy;"; $html .= "document.adminForm.month.value = semm;"; $html .= "document.adminForm.submit();}"; $html .= "</script>"; JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); // Load bootstrap in Joomla 2.5 echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'statistics', 'COM_MATUKIO_STATS', 'COM_MATUKIO_SLOGAN_STATS'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); // Header $n = count($stats); if ($n == 2) { $o = 1; } else { $o = 0; } for ($i = $o, $n; $i < $n; $i++) { $daten = $mstats[$i]; $m = count($daten); if ($n > $o + 1) { $html .= "\n<div style=\"border: 1px solid #C0C0F0;width: 100%;border-style: ridge;\">"; } $html .= "\n<br /><a style=\"font-size:18px; font-weight: bold;\" href=\"#\" onclick=\"semauf('" . $stats[$i]->year . "','');\">" . $stats[$i]->year . "</a>";
* @package Matukio * @author Yves Hoppe <*****@*****.**> * @date 28.09.13 * * @copyright Copyright (C) 2008 - 2013 Yves Hoppe - compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * @since 2.0.0 */ defined('_JEXEC') or die('Restricted access'); JHTML::_('behavior.multiselect'); JHTML::_('behavior.calendar'); if (JVERSION > 2.5) { JHtml::_('formbehavior.chosen', 'select'); } // Load the menu including bootstrap etc echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'coupons', 'COM_MATUKIO_COUPONS', 'COM_MATUKIO_SLOGAN_COUPONS'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $filterStatus = $this->escape($this->state->get('filter.status')); ?> <div class="form-horizontal"> <form action="<?php echo JRoute::_("index.php?option=com_matukio&view=coupons"); ?> " method="post" name="adminForm" id="adminForm" class="form-validate"> <div class="box-info full"> <div id="filter-bar" class="btn-toolbar"> <div class="filter-search fltlft btn-group pull-left"> <label class="filter-search-lbl element-invisible"
* Matukio * @package Joomla! * @Copyright (C) 2012 - Yves Hoppe - compojoom.com * @All rights reserved * @Joomla! is Free Software * @Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html * @version $Revision: 2.0.0 Stable $ **/ defined('_JEXEC') or die('Restricted access'); $editor = JFactory::getEditor(); if (JVERSION > 3) { JHTML::_('bootstrap.tooltip'); } // Load formvalidator! JHtml::_('behavior.formvalidation'); echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'bookingfields', 'COM_MATUKIO_EDIT_BOOKING_FIELD', 'COM_MATUKIO_SLOGAN_EDIT_BOOKINGFIELD'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); // Small css fixes JFactory::getDocument()->addStyleDeclaration(' .form-horizontal .control-label {padding-top: 7px;} label {display: inline;} '); ?> <script type="text/javascript"> Joomla.submitbutton = function (task) { if (task == 'cancel' || document.formvalidator.isValid(document.id('adminForm'))) { Joomla.submitform(task, document.getElementById('adminForm')); } } </script> <div class="box-info full">
* @package Matukio * @author Yves Hoppe <*****@*****.**> * @date 28.09.13 * * @copyright Copyright (C) 2008 - 2013 Yves Hoppe - compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die('Restricted access'); jimport('joomla.html.html.tabs'); if (JVERSION > 3) { JHTML::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); } JHTML::_('behavior.multiselect'); // Load bootstrap in J 2.5 and strapper.css echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'settings', 'COM_MATUKIO_SETTINGS', 'COM_MATUKIO_SLOGAN_SETTINGS'); $doc = JFactory::getDocument(); $doc->addStyleSheet('../media/com_matukio/backend/css/settings.css'); // Small css fixes $doc->addStyleDeclaration(' .form-horizontal .control-label {padding-top: 7px;} .table td {vertical-align: middle;} label {display: inline-block !important; } .controls > .radio:first-child, .controls > .checkbox:first-child { padding-top: 4px; } fieldset label, fieldset span.faux-label { float: left; clear: none; display: inline-block !important;
* Compojoom ControlCenter * @package Joomla! * @Copyright (C) 2012 - Yves Hoppe - compojoom.com * @All rights reserved * @Joomla! is Free Software * @Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html * @version $Revision: 0.9.0 beta $ **/ defined('_JEXEC') or die; // Loading css and js JHTML::_('behavior.tooltip'); JHTML::_('stylesheet', 'media/com_matukio/ccc/css/ccc.css'); JHTML::_('script', 'media/com_matukio/ccc/js/ccc.js'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); $modules = JModuleHelper::getModules('ccc_' . $this->config->extensionPosition . '_promotion'); echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'information', 'COM_MATUKIO_INFORMATIONS', 'COM_MATUKIO_SLOGAN_INFORMATIONS'); ?> <div class="box-info"> <div id="ccc_information"> <div id="ccc_information_inner"> <h2><?php echo JText::_('COMPOJOOM_CONTROLCENTER_VERSION'); ?> </h2> <p> <?php echo $this->config->version; ?> <br /><br /> </p>
* @date 29.09.13 * * @copyright Copyright (C) 2008 - 2013 compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * @since 2.2.0 */ defined('_JEXEC') or die('Restricted access'); if (JVERSION > 3) { JHTML::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); } else { JHTML::_('behavior.tooltip'); } jimport('joomla.html.html.tabs'); JHTML::_('behavior.multiselect'); echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'import', 'COM_MATUKIO_IMPORT', 'COM_MATUKIO_SLOGAN_IMPORT'); JHTML::_('stylesheet', '../media/com_matukio/backend/css/matukio.css'); JFactory::getDocument()->addStyleDeclaration(' .form-horizontal .control-label {padding-top: 7px;} .table td {vertical-align: middle;} label {display: inline;} '); ?> <div class="box-info full"> <div class="mat_content_holder"> <div id="mat_import" class="row-fluid form-horizontal"> <!-- List of tabs --> <ul id="tabs" class="nav nav-tabs nav-justified"> <li class="active"> <a href="#seminar" data-toggle="tab"><?php
* @date 17.10.13 * * @copyright Copyright (C) 2008 - 2013 compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * @since 3.0.0 */ defined('_JEXEC') or die('Restricted access'); $editor = JFactory::getEditor(); if (JVERSION > 3) { JHTML::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); } JHTML::_('behavior.calendar'); // Load formvalidator! JHtml::_('behavior.formvalidation'); echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'taxes', 'COM_MATUKIO_EDIT_TAX', 'COM_MATUKIO_SLOGAN_EDIT_TAX'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); // Small css fixes JFactory::getDocument()->addStyleDeclaration(' .form-horizontal .control-label {padding-top: 7px;} label {display: inline;} '); ?> <script type="text/javascript"> Joomla.submitbutton = function(task) { if (task == 'cancel' || document.formvalidator.isValid(document.id('adminForm'))) { Joomla.submitform(task, document.getElementById('adminForm')); } }
<?php /** * @package Matukio * @author Yves Hoppe <*****@*****.**> * @date 13.09.13 * * @copyright Copyright (C) 2008 - 2013 compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die('Restricted access'); JHTML::_('behavior.tooltip'); jimport('joomla.filter.output'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); // Load the menu including bootstrap etc echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'bookings', 'COM_MATUKIO_CONTACT_PARTICIPANTS', 'COM_MATUKIO_SLOGAN_CONTACT_PARTICIPANTS'); ?> <form action="<?php echo JRoute::_("index.php?option=com_matukio&view=conactparticipants"); ?> " method="post" name="adminForm" id="adminForm"> <div class="box-info full"> <div class="table-responsive"> <table class="table"> <tr> <td width="150px"><?php echo JText::_("COM_MATUKIO_TEMPLATE_MAIL_SUBJECT"); ?> </td> <td><input type="text" name="subject" id="subject" style="width: 200px;"/></td> </tr>
<?php /** * @package Cmc * @author DanielDimitrov <*****@*****.**> * @date 19.06.15 * * @copyright Copyright (C) 2008 - 2013 compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('_JEXEC') or die('Restricted access'); use Joomla\Utilities\ArrayHelper; JHTML::_('behavior.tooltip'); JHTML::_('stylesheet', 'media/com_cmc/backend/css/cmc.css'); $form = $this->form; echo CompojoomHtmlCtemplate::getHead(CmcHelperBasic::getMenu(), 'users', '', ''); ?> <div class="box-info"> <h2> <img src="http://www.gravatar.com/avatar/<?php echo md5($this->user->email); ?> ?s=40" alt="<?php echo $this->user->firstname . " " . $this->user->lastname; ?> "/> <?php echo JText::_('COM_CMC_EDIT_USER'); ?> </h2>
* @package Matukio * @author Yves Hoppe <*****@*****.**> * @date 29.09.13 * * @copyright Copyright (C) 2008 - 2013 compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * @since 2.2.0 */ defined('_JEXEC') or die('Restricted access'); jimport('joomla.html.html.tabs'); if (JVERSION > 3) { JHTML::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); } JHTML::_('behavior.multiselect'); echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'templates', 'COM_MATUKIO_TEMPLATES', 'COM_MATUKIO_SLOGAN_TEMPLATES'); // Small css fixes JFactory::getDocument()->addStyleDeclaration(' .form-horizontal .control-label {padding-top: 7px;} label {display: inline;} '); ?> <div class="box-info full"> <form action="<?php JRoute::_("index.php?option=com_matukio&view=templates"); ?> " method="post" name="adminForm" id="adminForm"> <div id="mat_templates" class="row-fluid form-horizontal"> <!-- List of tabs --> <ul id="tabs" class="nav nav-tabs nav-justified">
/** * Tiles * @package Joomla! * @Copyright (C) 2012 - Yves Hoppe - compojoom.com * @All rights reserved * @Joomla! is Free Software * @Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html * @version $Revision: 0.9.0 beta $ **/ defined('_JEXEC') or die('Restricted access'); jimport('joomla.filter.output'); JHTML::_('stylesheet', 'media/com_cmc/backend/css/cmc.css'); JHtml::script('media/com_cmc/backend/js/jquery.iframe-auto-height.js'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); echo CompojoomHtmlCtemplate::getHead(CmcHelperBasic::getMenu(), 'lists', 'COM_CMC_LISTS', ''); ?> <script type="text/javascript"> var $ = jQuery; function closeIFrame(){ $('#lists-to-sync').css('display', 'none'); } Joomla.submitbutton = function (pressbutton) { if (pressbutton == 'lists.sync') { $('#lists-to-sync').css('display', 'block'); } else { Joomla.submitform(pressbutton); } }
/** * Execute and display the Template. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return void Outputs directly * * @see JViewLegacy::loadTemplate() * @since 5.0.0 */ public function display($tpl = null) { $tmpl = JFactory::getApplication()->input->getCmd('tmpl'); // @todo improve and move if ($tmpl == 'component') { $result = $this->loadTemplate($tpl); if ($result instanceof Exception) { return $result; } echo $result; echo $this->copyright; } else { JHtml::_('formbehavior.chosen', 'select'); echo CompojoomHtmlCtemplate::getHead($this->cMenu, $this->cMenuEntry, $this->cTitle, $this->cSlogan); $result = $this->loadTemplate($tpl); if ($result instanceof Exception) { return $result; } echo '<div id="cextension_holder">'; // Content from the template echo $result; // Copyright echo CompojoomHtmlCtemplate::getFooter($this->copyright); echo '</div>'; } // Minify css & js CompojoomHtml::external(CompojoomHtml::getScriptQueue($this->extension), CompojoomHtml::getCSSQueue($this->extension), 'media/com_' . $this->extension . '/cache', $this->minify, $this->minify); }
<?php defined('_JEXEC') or die; // Module Helper for our Positions jimport('joomla.application.module.helper'); JHTML::_('behavior.tooltip'); echo CompojoomHtmlCtemplate::getHead(CmcHelperBasic::getMenu(), 'cpanel', 'COM_CMC_CPANEL', ''); ?> <div id="updateNotice"></div> <div id="jedNotice"></div> <div class="row"> <div class="col-sm-6"> <div class=" box-info text-center"> <ul class="dashboard-icons"> <li> <a href="<?php echo JRoute::_('index.php?option=com_cmc&view=lists'); ?> "> <span class="fa fa-list-alt fa-5x"></span> <span class="text-icon"><?php echo JText::_('COM_CMC_LISTS'); ?> </span> </a> </li> <li> <a href="<?php echo JRoute::_('index.php?option=com_cmc&view=users'); ?>
* @author Yves Hoppe <*****@*****.**> * @date 11.11.13 * * @copyright Copyright (C) 2008 - 2013 Yves Hoppe - compojoom.com . All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * @since 3.0.0 */ defined('_JEXEC') or die('Restricted access'); jimport('joomla.filter.output'); JHTML::_('behavior.multiselect'); if (JVERSION > 2.5) { JHtml::_('formbehavior.chosen', 'select'); } // Load bootstrap in Joomla 2.5 // Load the menu including bootstrap etc echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'recurring', 'COM_MATUKIO_RECURRING_DATES', 'COM_MATUKIO_SLOGAN_RECURRING_DATES'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $filterStatus = $this->escape($this->state->get('filter.status')); // Small css fixes JFactory::getDocument()->addStyleDeclaration(' .form-horizontal .control-label {padding-top: 7px;} label {display: inline;} '); ?> <div class="box-info full"> <form name="adminForm" id="adminForm" method="post" action="<?php echo JRoute::_('index.php?option=com_matukio&view=recurring'); ?>
JHTML::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); } else { JHTML::_('behavior.tooltip'); } JHTML::_('behavior.multiselect'); // Import for certificate printing JHTML::_('behavior.modal'); JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $filterStatus = $this->escape($this->state->get('filter.status')); $filtertime = $this->escape($this->state->get('filter.time')); $filterlimit = $this->escape($this->state->get('filter.limit')); // Load the menu including bootstrap etc echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'bookings', 'COM_MATUKIO_BOOKINGS', 'COM_MATUKIO_SLOGAN_BOOKINGS'); JFactory::getDocument()->addStyleDeclaration('.tcenter {text-align: center !important; }'); ?> <form action="<?php echo JRoute::_("index.php?option=com_matukio&view=bookings"); ?> " method="post" name="adminForm" id="adminForm"> <div class="box-info full"> <div id="filter-bar" class="btn-toolbar"> <div class="filter-search fltlft btn-group pull-left"> <label class="filter-search-lbl element-invisible" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?> </label>