예제 #1
0
파일: default.php 프로젝트: fracting/cmc
/**
 * 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);
		}
	}
예제 #2
0
파일: default.php 프로젝트: fracting/cmc
<?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');
?>
예제 #3
0
파일: default.php 프로젝트: fracting/cmc
<?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>