You've already forked joomla_test
first commit
This commit is contained in:
22
layouts/joomla/content/associations.php
Normal file
22
layouts/joomla/content/associations.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
$items = $displayData;
|
||||
|
||||
if (!empty($items)) : ?>
|
||||
<ul class="item-associations">
|
||||
<?php foreach ($items as $id => $item) : ?>
|
||||
<li>
|
||||
<?php echo $item->link; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif;
|
37
layouts/joomla/content/blog_style_default_item_title.php
Normal file
37
layouts/joomla/content/blog_style_default_item_title.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $displayData->params;
|
||||
$canEdit = $displayData->params->get('access-edit');
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
JHtml::_('behavior.framework');
|
||||
?>
|
||||
|
||||
<?php if ($params->get('show_title') || $displayData->state == 0 || ($params->get('show_author') && !empty($displayData->author ))) : ?>
|
||||
<div class="page-header">
|
||||
|
||||
<?php if ($params->get('show_title')) : ?>
|
||||
<h2>
|
||||
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
|
||||
<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($displayData->slug, $displayData->catid)); ?>">
|
||||
<?php echo $this->escape($displayData->title); ?></a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($displayData->title); ?>
|
||||
<?php endif; ?>
|
||||
</h2>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($displayData->state == 0) : ?>
|
||||
<span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
19
layouts/joomla/content/blog_style_default_links.php
Normal file
19
layouts/joomla/content/blog_style_default_links.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<ol class="nav nav-tabs nav-stacked">
|
||||
<?php foreach ($displayData->get('link_items') as $item) : ?>
|
||||
<li>
|
||||
<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catslug)); ?>">
|
||||
<?php echo $item->title; ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
34
layouts/joomla/content/categories_default.php
Normal file
34
layouts/joomla/content/categories_default.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_weblinks
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
<div class="categories-list<?php echo $displayData->pageclass_sfx;?>">
|
||||
<?php if ($displayData->params->get('show_page_heading')) : ?>
|
||||
<h1>
|
||||
<?php echo $displayData->escape($displayData->params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($displayData->params->get('show_base_description')) : ?>
|
||||
<?php //If there is a description in the menu parameters use that; ?>
|
||||
<?php if($displayData->params->get('categories_description')) : ?>
|
||||
<div class="category-desc base-desc">
|
||||
<?php echo JHtml::_('content.prepare', $displayData->params->get('categories_description'), '', $displayData->extension . '.categories'); ?>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<?php //Otherwise get one from the database if it exists. ?>
|
||||
<?php if ($displayData->parent->description) : ?>
|
||||
<div class="category-desc base-desc">
|
||||
<?php echo JHtml::_('content.prepare', $displayData->parent->description, '', $displayData->parent->extension . '.categories'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
25
layouts/joomla/content/categories_default_items.php
Normal file
25
layouts/joomla/content/categories_default_items.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$class = ' class="first"';
|
||||
JHtml::_('bootstrap.tooltip');
|
||||
|
||||
$item = $displayData->item;
|
||||
$items = $displayData->get('items');
|
||||
$params = $displayData->params;
|
||||
$extension = $displayData->get('extension');
|
||||
$className = substr($extension, 4);
|
||||
// This will work for the core components but not necessarily for other components
|
||||
// that may have different pluralisation rules.
|
||||
if (substr($className, -1) == 's')
|
||||
{
|
||||
$className = rtrim($className, 's');
|
||||
}
|
65
layouts/joomla/content/category_default.php
Normal file
65
layouts/joomla/content/category_default.php
Normal file
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
// Note that this layout opens a div with the page class suffix. If you do not use the category children
|
||||
// layout you need to close this div either by overriding this file or in your main layout.
|
||||
$params = $displayData->params;
|
||||
$extension = $displayData->get('category')->extension;
|
||||
$canEdit = $params->get('access-edit');
|
||||
$className = substr($extension, 4);
|
||||
// This will work for the core components but not necessarily for other components
|
||||
// that may have different pluralisation rules.
|
||||
if (substr($className, -1) == 's')
|
||||
{
|
||||
$className = rtrim($className, 's');
|
||||
}
|
||||
$tagsData = $displayData->get('category')->tags->itemTags;
|
||||
?>
|
||||
<div>
|
||||
<div class="<?php echo $className .'-category' . $displayData->pageclass_sfx;?>">
|
||||
<?php if ($params->get('show_page_heading')) : ?>
|
||||
<h1>
|
||||
<?php echo $displayData->escape($params->get('page_heading')); ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
<?php if($params->get('show_category_title', 1)) : ?>
|
||||
<h2>
|
||||
<?php echo JHtml::_('content.prepare', $displayData->get('category')->title, '', $extension.'.category'); ?>
|
||||
</h2>
|
||||
<?php endif; ?>
|
||||
<?php if ($displayData->get('show_tags', 1)) : ?>
|
||||
<?php echo JLayoutHelper::render('joomla.content.tags', $tagsData); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($params->get('show_description', 1) || $params->def('show_description_image', 1)) : ?>
|
||||
<div class="category-desc">
|
||||
<?php if ($params->get('show_description_image') && $displayData->get('category')->getParams()->get('image')) : ?>
|
||||
<img src="<?php echo $displayData->get('category')->getParams()->get('image'); ?>"/>
|
||||
<?php endif; ?>
|
||||
<?php if ($params->get('show_description') && $displayData->get('category')->description) : ?>
|
||||
<?php echo JHtml::_('content.prepare', $displayData->get('category')->description, '', $extension .'.category'); ?>
|
||||
<?php endif; ?>
|
||||
<div class="clr"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php echo $displayData->loadTemplate($displayData->subtemplatename); ?>
|
||||
|
||||
<?php if ($displayData->get('children') && $displayData->maxLevel != 0) : ?>
|
||||
<div class="cat-children">
|
||||
<h3>
|
||||
<?php echo JTEXT::_('JGLOBAL_SUBCATEGORIES'); ?>
|
||||
</h3>
|
||||
|
||||
<?php echo $displayData->loadTemplate('children'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
44
layouts/joomla/content/icons.php
Normal file
44
layouts/joomla/content/icons.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
$canEdit = $displayData['params']->get('access-edit');
|
||||
|
||||
?>
|
||||
|
||||
<div class="icons">
|
||||
<?php if (empty($displayData['print'])) : ?>
|
||||
|
||||
<?php if ($canEdit || $displayData['params']->get('show_print_icon') || $displayData['params']->get('show_email_icon')) : ?>
|
||||
<div class="btn-group pull-right">
|
||||
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <span class="icon-cog"></span> <span class="caret"></span> </a>
|
||||
<?php // Note the actions class is deprecated. Use dropdown-menu instead. ?>
|
||||
<ul class="dropdown-menu">
|
||||
<?php if ($displayData['params']->get('show_print_icon')) : ?>
|
||||
<li class="print-icon"> <?php echo JHtml::_('icon.print_popup', $displayData['item'], $displayData['params']); ?> </li>
|
||||
<?php endif; ?>
|
||||
<?php if ($displayData['params']->get('show_email_icon')) : ?>
|
||||
<li class="email-icon"> <?php echo JHtml::_('icon.email', $displayData['item'], $displayData['params']); ?> </li>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit) : ?>
|
||||
<li class="edit-icon"> <?php echo JHtml::_('icon.edit', $displayData['item'], $displayData['params']); ?> </li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<div class="pull-right">
|
||||
<?php echo JHtml::_('icon.print_screen', $displayData['item'], $displayData['params']); ?>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
1
layouts/joomla/content/index.html
Normal file
1
layouts/joomla/content/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
24
layouts/joomla/content/info_block/author.php
Normal file
24
layouts/joomla/content/info_block/author.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
?>
|
||||
<dd class="createdby">
|
||||
<?php $author = $displayData['item']->author; ?>
|
||||
<?php $author = ($displayData['item']->created_by_alias ? $displayData['item']->created_by_alias : $author); ?>
|
||||
<?php if (!empty($displayData['item']->contactid ) && $displayData['params']->get('link_author') == true) : ?>
|
||||
<?php
|
||||
echo JText::sprintf('COM_CONTENT_WRITTEN_BY',
|
||||
JHtml::_('link', JRoute::_('index.php?option=com_contact&view=contact&id='.$displayData['item']->contactid), $author)
|
||||
); ?>
|
||||
<?php else :?>
|
||||
<?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?>
|
||||
<?php endif; ?>
|
||||
</dd>
|
60
layouts/joomla/content/info_block/block.php
Normal file
60
layouts/joomla/content/info_block/block.php
Normal file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
$blockPosition = $displayData['params']->get('info_block_position', 0);
|
||||
|
||||
?>
|
||||
<dl class="article-info muted">
|
||||
|
||||
<?php if ($displayData['position'] == 'above' && ($blockPosition == 0 || $blockPosition == 2)
|
||||
|| $displayData['position'] == 'below' && ($blockPosition == 1)
|
||||
) : ?>
|
||||
|
||||
<dt class="article-info-term">
|
||||
<?php // TODO: implement info_block_show_title param to hide article info title ?>
|
||||
<?php if ($displayData['params']->get('info_block_show_title', 1)) : ?>
|
||||
<?php echo JText::_('COM_CONTENT_ARTICLE_INFO'); ?>
|
||||
<?php endif; ?>
|
||||
</dt>
|
||||
|
||||
<?php if ($displayData['params']->get('show_author') && !empty($displayData['item']->author )) : ?>
|
||||
<?php echo JLayoutHelper::render('joomla.content.info_block.author', $displayData); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($displayData['params']->get('show_parent_category') && !empty($displayData['item']->parent_slug)) : ?>
|
||||
<?php echo JLayoutHelper::render('joomla.content.info_block.parent_category', $displayData); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($displayData['params']->get('show_category')) : ?>
|
||||
<?php echo JLayoutHelper::render('joomla.content.info_block.category', $displayData); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($displayData['params']->get('show_publish_date')) : ?>
|
||||
<?php echo JLayoutHelper::render('joomla.content.info_block.publish_date', $displayData); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($displayData['position'] == 'above' && ($blockPosition == 0)
|
||||
|| $displayData['position'] == 'below' && ($blockPosition == 1 || $blockPosition == 2)
|
||||
) : ?>
|
||||
<?php if ($displayData['params']->get('show_create_date')) : ?>
|
||||
<?php echo JLayoutHelper::render('joomla.content.info_block.create_date', $displayData); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($displayData['params']->get('show_modify_date')) : ?>
|
||||
<?php echo JLayoutHelper::render('joomla.content.info_block.modify_date', $displayData); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($displayData['params']->get('show_hits')) : ?>
|
||||
<?php echo JLayoutHelper::render('joomla.content.info_block.hits', $displayData); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</dl>
|
21
layouts/joomla/content/info_block/category.php
Normal file
21
layouts/joomla/content/info_block/category.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
?>
|
||||
<dd class="category-name">
|
||||
<?php $title = $this->escape($displayData['item']->category_title);
|
||||
$url = '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($displayData['item']->catslug)).'">'.$title.'</a>';?>
|
||||
<?php if ($displayData['params']->get('link_category') && $displayData['item']->catslug) : ?>
|
||||
<?php echo JText::sprintf('COM_CONTENT_CATEGORY', $url); ?>
|
||||
<?php else : ?>
|
||||
<?php echo JText::sprintf('COM_CONTENT_CATEGORY', $title); ?>
|
||||
<?php endif; ?>
|
||||
</dd>
|
16
layouts/joomla/content/info_block/create_date.php
Normal file
16
layouts/joomla/content/info_block/create_date.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
?>
|
||||
<dd class="create">
|
||||
<span class="icon-calendar"></span>
|
||||
<?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON', JHtml::_('date', $displayData['item']->created, JText::_('DATE_FORMAT_LC3'))); ?>
|
||||
</dd>
|
16
layouts/joomla/content/info_block/hits.php
Normal file
16
layouts/joomla/content/info_block/hits.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
?>
|
||||
<dd class="hits">
|
||||
<span class="icon-eye-open"></span>
|
||||
<?php echo JText::sprintf('COM_CONTENT_ARTICLE_HITS', $displayData['item']->hits); ?>
|
||||
</dd>
|
1
layouts/joomla/content/info_block/index.html
Normal file
1
layouts/joomla/content/info_block/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
16
layouts/joomla/content/info_block/modify_date.php
Normal file
16
layouts/joomla/content/info_block/modify_date.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
?>
|
||||
<dd class="modified">
|
||||
<span class="icon-calendar"></span>
|
||||
<?php echo JText::sprintf('COM_CONTENT_LAST_UPDATED', JHtml::_('date', $displayData['item']->modified, JText::_('DATE_FORMAT_LC3'))); ?>
|
||||
</dd>
|
21
layouts/joomla/content/info_block/parent_category.php
Normal file
21
layouts/joomla/content/info_block/parent_category.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
?>
|
||||
<dd class="parent-category-name">
|
||||
<?php $title = $this->escape($displayData['item']->parent_title);
|
||||
$url = '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($displayData['item']->parent_slug)).'">'.$title.'</a>';?>
|
||||
<?php if ($displayData['params']->get('link_parent_category') && !empty($displayData['item']->parent_slug)) : ?>
|
||||
<?php echo JText::sprintf('COM_CONTENT_PARENT', $url); ?>
|
||||
<?php else : ?>
|
||||
<?php echo JText::sprintf('COM_CONTENT_PARENT', $title); ?>
|
||||
<?php endif; ?>
|
||||
</dd>
|
14
layouts/joomla/content/info_block/publish_date.php
Normal file
14
layouts/joomla/content/info_block/publish_date.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
?>
|
||||
<dd class="published">
|
||||
<span class="icon-calendar"></span> <?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE_ON', JHtml::_('date', $displayData['item']->publish_up, JText::_('DATE_FORMAT_LC3'))); ?>
|
||||
</dd>
|
21
layouts/joomla/content/intro_image.php
Normal file
21
layouts/joomla/content/intro_image.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
$params = $displayData->params;
|
||||
?>
|
||||
<?php $images = json_decode($displayData->images); ?>
|
||||
<?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?>
|
||||
<?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?>
|
||||
<div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img
|
||||
<?php if ($images->image_intro_caption):
|
||||
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"';
|
||||
endif; ?>
|
||||
src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/> </div>
|
||||
<?php endif; ?>
|
50
layouts/joomla/content/options_default.php
Normal file
50
layouts/joomla/content/options_default.php
Normal file
@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_weblinks
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::_('behavior.framework');
|
||||
|
||||
?>
|
||||
<fieldset class="<?php echo !empty($displayData->formclass) ? $displayData->formclass : 'form-horizontal'; ?>">
|
||||
<legend><?php echo $displayData->name ?></legend>
|
||||
<?php if (!empty($displayData->description)): ?>
|
||||
<p><?php echo $displayData->description; ?></p>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
$fieldsnames = explode(',', $displayData->fieldsname);
|
||||
foreach($fieldsnames as $fieldname)
|
||||
{
|
||||
foreach ($displayData->form->getFieldset($fieldname) as $field)
|
||||
{
|
||||
$classnames = 'control-group';
|
||||
$rel = '';
|
||||
$showon = $displayData->form->getFieldAttribute($field->fieldname, 'showon');
|
||||
if (!empty($showon))
|
||||
{
|
||||
JHtml::_('jquery.framework');
|
||||
JHtml::_('script', 'jui/cms.js', false, true);
|
||||
|
||||
$id = $displayData->form->getFormControl();
|
||||
$showon = explode(':', $showon, 2);
|
||||
$classnames .= ' showon_' . implode(' showon_', explode(',', $showon[1]));
|
||||
$rel = ' rel="showon_' . $id . '['. $showon[0] . ']"';
|
||||
}
|
||||
?>
|
||||
<div class="<?php echo $classnames; ?>"<?php echo $rel; ?>>
|
||||
<?php if (!isset($displayData->showlabel) || $displayData->showlabel): ?>
|
||||
<div class="control-label"><?php echo $field->label; ?></div>
|
||||
<?php endif; ?>
|
||||
<div class="controls"><?php echo $field->input; ?></div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</fieldset>
|
29
layouts/joomla/content/tags.php
Normal file
29
layouts/joomla/content/tags.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.CMS
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php');
|
||||
|
||||
?>
|
||||
<?php if (!empty($displayData)) : ?>
|
||||
<div class="tags">
|
||||
<?php foreach ($displayData as $i => $tag) : ?>
|
||||
<?php if (in_array($tag->access, JAccess::getAuthorisedViewLevels(JFactory::getUser()->get('id')))) : ?>
|
||||
<?php $tagParams = new JRegistry($tag->params); ?>
|
||||
<?php $link_class = $tagParams->get('tag_link_class', 'label label-info'); ?>
|
||||
<span class="tag-<?php echo $tag->tag_id; ?> tag-list<?php echo $i ?>">
|
||||
<a href="<?php echo JRoute::_(TagsHelperRoute::getTagRoute($tag->tag_id . ':' . $tag->alias)) ?>" class="<?php echo $link_class; ?>">
|
||||
<?php echo $this->escape($tag->title); ?>
|
||||
</a>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
27
layouts/joomla/edit/associations.php
Normal file
27
layouts/joomla/edit/associations.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// JLayout for standard handling of associations fields in the administrator items edit screens.
|
||||
$fields = $displayData->get('form')->getFieldset('item_associations');
|
||||
?>
|
||||
|
||||
<fieldset>
|
||||
<?php foreach ($fields as $field) : ?>
|
||||
<div class="control-group">
|
||||
<div class="control-label">
|
||||
<?php echo $field->label; ?>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<?php echo $field->input; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</fieldset>
|
88
layouts/joomla/edit/details.php
Normal file
88
layouts/joomla/edit/details.php
Normal file
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// JLayout for standard handling of the details sidebar in administrator edit screens.
|
||||
$title = $displayData->get('form')->getValue('title');
|
||||
$published = $displayData->get('form')->getField('published');
|
||||
?>
|
||||
<div class="span2">
|
||||
<h4><?php echo JText::_('JDETAILS');?></h4>
|
||||
<hr />
|
||||
<fieldset class="form-vertical">
|
||||
<?php if (empty($title)) : ?>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<?php echo $displayData->get('form')->getValue('name'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<?php echo $displayData->get('form')->getValue('title'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($published) : ?>
|
||||
<div class="control-group">
|
||||
<div class="control-label">
|
||||
<?php echo $displayData->get('form')->getLabel('published'); ?>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<?php echo $displayData->get('form')->getInput('published'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div class="control-group">
|
||||
<div class="control-label">
|
||||
<?php echo $displayData->get('form')->getLabel('state'); ?>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<?php echo $displayData->get('form')->getInput('state'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="control-group">
|
||||
<div class="control-label">
|
||||
<?php echo $displayData->get('form')->getLabel('access'); ?>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<?php echo $displayData->get('form')->getInput('access'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="control-label">
|
||||
<?php echo $displayData->get('form')->getLabel('featured'); ?>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<?php echo $displayData->get('form')->getInput('featured'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="control-label">
|
||||
<?php echo $displayData->get('form')->getLabel('language'); ?>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<?php echo $displayData->get('form')->getInput('language'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="control-label">
|
||||
<?php echo $displayData->get('form')->getLabel('tags'); ?>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<?php echo $displayData->get('form')->getInput('tags'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
22
layouts/joomla/edit/item_title.php
Normal file
22
layouts/joomla/edit/item_title.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.CMS
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
$title = $displayData->get('form')->getValue('title');
|
||||
$name = $displayData->get('form')->getValue('name');
|
||||
|
||||
?>
|
||||
|
||||
<?php if ($title) : ?>
|
||||
<h4><?php echo $title; ?></h4>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($name) : ?>
|
||||
<h4><?php echo $name; ?></h4>
|
||||
<?php endif;
|
45
layouts/joomla/edit/metadata.php
Normal file
45
layouts/joomla/edit/metadata.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// JLayout for standard handling of metadata fields in the administrator content edit screens.
|
||||
$fieldSets = $displayData->get('form')->getFieldsets('metadata');
|
||||
foreach ($fieldSets as $name => $fieldSet) :
|
||||
$metadatatabs = 'metadata-' . $name;
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description)) :
|
||||
echo '<p class="alert alert-info">'.$this->escape(JText::_($fieldSet->description)).'</p>';
|
||||
endif;
|
||||
?>
|
||||
<?php if ($name == 'jmetadata') : // Include the real fields in this panel.
|
||||
?>
|
||||
<div class="control-group">
|
||||
<div class="control-label"><?php echo $displayData->get('form')->getLabel('metadesc'); ?></div>
|
||||
<div class="controls"><?php echo $displayData->get('form')->getInput('metadesc'); ?></div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="control-label"><?php echo $displayData->get('form')->getLabel('metakey'); ?></div>
|
||||
<div class="controls"><?php echo $displayData->get('form')->getInput('metakey'); ?></div>
|
||||
</div>
|
||||
<?php if ($displayData->get('form')->getLabel('xreference')):?>
|
||||
<div class="control-group">
|
||||
<div class="control-label"><?php echo $displayData->get('form')->getLabel('xreference'); ?></div>
|
||||
<div class="controls"><?php echo $displayData->get('form')->getInput('xreference'); ?></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php foreach ($displayData->get('form')->getFieldset($name) as $field) : ?>
|
||||
<?php if ($field->name != 'jform[metadata][tags][]') :?>
|
||||
<div class="control-group">
|
||||
<div class="control-label"><?php echo $field->label; ?></div>
|
||||
<div class="controls"><?php echo $field->input; ?></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
1
layouts/joomla/index.html
Normal file
1
layouts/joomla/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
25
layouts/joomla/quickicons/icon.php
Normal file
25
layouts/joomla/quickicons/icon.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$id = empty($displayData['id']) ? '' : (' id="' . $displayData['id'] . '"');
|
||||
$target = empty($displayData['target']) ? '' : (' target="' . $displayData['target'] . '"');
|
||||
$onclick = empty($displayData['onclick']) ? '' : (' onclick="' . $displayData['onclick'] . '"');
|
||||
$title = empty($displayData['title']) ? '' : (' title="' . $this->escape($displayData['title']) . '"');
|
||||
$text = empty($displayData['text']) ? '' : ('<span>' . $displayData['text'] . '</span>')
|
||||
|
||||
?>
|
||||
<div class="row-fluid"<?php echo $id; ?>>
|
||||
<div class="span12">
|
||||
<a href="<?php echo $displayData['link']; ?>"<?php echo $target . $onclick . $title; ?>>
|
||||
<i class="icon-<?php echo $displayData['image']; ?>"></i> <?php echo $text; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
1
layouts/joomla/quickicons/index.html
Normal file
1
layouts/joomla/quickicons/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
1
layouts/joomla/sidebars/index.html
Normal file
1
layouts/joomla/sidebars/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
55
layouts/joomla/sidebars/submenu.php
Normal file
55
layouts/joomla/sidebars/submenu.php
Normal file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('JPATH_BASE') or die;
|
||||
|
||||
?>
|
||||
<div id="sidebar">
|
||||
<div class="sidebar-nav">
|
||||
<?php if ($displayData->displayMenu) : ?>
|
||||
<ul id="submenu" class="nav nav-list">
|
||||
<?php foreach ($displayData->list as $item) :
|
||||
if (isset ($item[2]) && $item[2] == 1) : ?>
|
||||
<li class="active">
|
||||
<?php else : ?>
|
||||
<li>
|
||||
<?php endif;
|
||||
if ($displayData->hide) : ?>
|
||||
<a class="nolink"><?php echo $item[0]; ?></a>
|
||||
<?php else :
|
||||
if (strlen($item[1])) : ?>
|
||||
<a href="<?php echo JFilterOutput::ampReplace($item[1]); ?>"><?php echo $item[0]; ?></a>
|
||||
<?php else : ?>
|
||||
<?php echo $item[0]; ?>
|
||||
<?php endif;
|
||||
endif; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php if ($displayData->displayMenu && $displayData->displayFilters) : ?>
|
||||
<hr />
|
||||
<?php endif; ?>
|
||||
<?php if ($displayData->displayFilters) : ?>
|
||||
<div class="filter-select hidden-phone">
|
||||
<h4 class="page-header"><?php echo JText::_('JSEARCH_FILTER_LABEL');?></h4>
|
||||
<?php foreach ($displayData->filters as $filter) : ?>
|
||||
<label for="<?php echo $filter['name']; ?>" class="element-invisible"><?php echo $filter['label']; ?></label>
|
||||
<select name="<?php echo $filter['name']; ?>" id="<?php echo $filter['name']; ?>" class="span12 small" onchange="this.form.submit()">
|
||||
<?php if (!$filter['noDefault']) : ?>
|
||||
<option value=""><?php echo $filter['label']; ?></option>
|
||||
<?php endif; ?>
|
||||
<?php echo $filter['options']; ?>
|
||||
</select>
|
||||
<hr class="hr-condensed" />
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
14
layouts/joomla/toolbar/base.php
Normal file
14
layouts/joomla/toolbar/base.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="btn-wrapper" <?php echo $displayData['id']; ?>>
|
||||
<?php echo $displayData['action']; ?>
|
||||
</div>
|
18
layouts/joomla/toolbar/batch.php
Normal file
18
layouts/joomla/toolbar/batch.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$title = $displayData['title'];
|
||||
|
||||
?>
|
||||
<button data-toggle="modal" data-target="#collapseModal" class="btn btn-small">
|
||||
<i class="icon-checkbox-partial" title="<?php echo $title; ?>"></i>
|
||||
<?php echo $title; ?>
|
||||
</button>
|
20
layouts/joomla/toolbar/confirm.php
Normal file
20
layouts/joomla/toolbar/confirm.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$doTask = $displayData['doTask'];
|
||||
$class = $displayData['class'];
|
||||
$text = $displayData['text'];
|
||||
|
||||
?>
|
||||
<button onclick="<?php echo $doTask; ?>" class="btn btn-small">
|
||||
<span class="<?php echo $class; ?>"></span>
|
||||
<?php echo $text; ?>
|
||||
</button>
|
12
layouts/joomla/toolbar/containerclose.php
Normal file
12
layouts/joomla/toolbar/containerclose.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
</div>
|
12
layouts/joomla/toolbar/containeropen.php
Normal file
12
layouts/joomla/toolbar/containeropen.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<div class="btn-toolbar" id="<?php echo $displayData['id']; ?>">
|
19
layouts/joomla/toolbar/help.php
Normal file
19
layouts/joomla/toolbar/help.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$doTask = $displayData['doTask'];
|
||||
$text = $displayData['text'];
|
||||
|
||||
?>
|
||||
<button onclick="<?php echo $doTask; ?>" rel="help" class="btn btn-small">
|
||||
<span class="icon-question-sign"></span>
|
||||
<?php echo $text; ?>
|
||||
</button>
|
12
layouts/joomla/toolbar/iconclass.php
Normal file
12
layouts/joomla/toolbar/iconclass.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
icon-<?php echo $displayData['icon']; ?>
|
1
layouts/joomla/toolbar/index.html
Normal file
1
layouts/joomla/toolbar/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
20
layouts/joomla/toolbar/link.php
Normal file
20
layouts/joomla/toolbar/link.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$doTask = $displayData['doTask'];
|
||||
$class = $displayData['class'];
|
||||
$text = $displayData['text'];
|
||||
|
||||
?>
|
||||
<button onclick="location.href='<?php echo $doTask; ?>';" class="btn btn-small">
|
||||
<span class="<?php echo $class; ?>"></span>
|
||||
<?php echo $text; ?>
|
||||
</button>
|
20
layouts/joomla/toolbar/popup.php
Normal file
20
layouts/joomla/toolbar/popup.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$doTask = $displayData['doTask'];
|
||||
$class = $displayData['class'];
|
||||
$text = $displayData['text'];
|
||||
$name = $displayData['name'];
|
||||
?>
|
||||
<button onclick="<?php echo $doTask; ?>" class="btn btn-small modal" data-toggle="modal" data-target="#modal-<?php echo $name; ?>">
|
||||
<i class="icon-cog"></i>
|
||||
<?php echo $text; ?>
|
||||
</button>
|
16
layouts/joomla/toolbar/separator.php
Normal file
16
layouts/joomla/toolbar/separator.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$class = $displayData['class'];
|
||||
$style = $displayData['style'];
|
||||
|
||||
?>
|
||||
<div class="btn-group <?php echo $class; ?>"<?php echo $style; ?>></div>
|
21
layouts/joomla/toolbar/slider.php
Normal file
21
layouts/joomla/toolbar/slider.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$doTask = $displayData['doTask'];
|
||||
$class = $displayData['class'];
|
||||
$text = $displayData['text'];
|
||||
$name = $displayData['name'];
|
||||
$onClose = $displayData['onClose'];
|
||||
?>
|
||||
<button onclick="<?php echo $doTask; ?>" class="btn btn-small" data-toggle="collapse" data-target="#collapse-<?php echo $name; ?>"<?php echo $onClose; ?>>
|
||||
<i class="icon-cog"></i>
|
||||
<?php echo $text; ?>
|
||||
</button>
|
21
layouts/joomla/toolbar/standard.php
Normal file
21
layouts/joomla/toolbar/standard.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$doTask = $displayData['doTask'];
|
||||
$class = $displayData['class'];
|
||||
$text = $displayData['text'];
|
||||
$btnClass = $displayData['btnClass'];
|
||||
|
||||
?>
|
||||
<button onclick="<?php echo $doTask; ?>" class="<?php echo $btnClass; ?>">
|
||||
<span class="<?php echo trim($class); ?>"></span>
|
||||
<?php echo $text; ?>
|
||||
</button>
|
Reference in New Issue
Block a user