Permalink
Browse files

Added layout files

  • Loading branch information...
1 parent 41d9bef commit 469ef79e413a8fb95094ba02f36e2cc61208b9e2 @Chraneco Chraneco committed Jun 6, 2015
View
@@ -657,7 +657,13 @@ robots.txt.dist
libraries
plugins
-administrator
+administrator/*
+!administrator/components/
+administrator/components/com_joomgallery/*
+!administrator/components/com_joomgallery/layouts/
+administrator/components/com_joomgallery/layouts/index.html
+administrator/components/com_joomgallery/layouts/joomgallery/index.html
+administrator/components/com_joomgallery/layouts/joomgallery/migration
components/com_joomgallery/controller.php
components/com_joomgallery/controllers/
components/com_joomgallery/helpers/
@@ -0,0 +1,74 @@
+<?php defined('_JEXEC') or die('Direct Access to this location is not allowed.'); ?>
+<?php if($displayData->params->get('show_footer_separator')): ?>
+ <div class="jg-footer"></div>
+<?php endif;
+ if($displayData->params->get('show_footer_toplist', 0)): ?>
+ <div class="jg-toplist jg-toplist-footer text-center">
+ <?php JHTML::_('joomgallery.toplistbar'); ?>
+ </div>
+<?php endif; ?>
+ <div class="row">
+ <div class="col-md-6">
+ <?php if($displayData->params->get('show_rmsm_legend', 0)): ?>
+ <div class="text-muted">
+ <?php echo JHtml::_('joomgallery.icon', 'group_key.png', 'COM_JOOMGALLERY_COMMON_TIP_YOU_NOT_ACCESS_THIS_CATEGORY'); ?>
+ <?php echo JText::_('COM_JOOMGALLERY_COMMON_RESTRICTED_CATEGORIES'); ?>
+ </div>
+<?php endif;
+ if($displayData->params->get('show_footer_backlink')): ?>
+ <ul class="pager">
+ <li class="previous">
+ <a href="<?php echo $displayData->backtarget; ?>">
+ &larr; <?php echo $displayData->backtext; ?></a>
+ </li>
+ </ul>
+<?php endif; ?>
+ </div>
+ <div class="col-md-6">
+<?php if($displayData->params->get('show_footer_allpics', 0) || $displayData->params->get('show_footer_allhits', 0)): ?>
+ <div class="row">
+ <div class="col-xs-12">
+<?php if($displayData->params->get('show_footer_allpics', 0)): ?>
+ <p class="text-right"><?php echo JText::sprintf('COM_JOOMGALLERY_COMMON_NUMB_IMAGES_ALL_CATEGORIES', '<span class="badge">'.$displayData->numberofpics.'</span>'); ?></p>
+<?php endif;
+ if($displayData->params->get('show_footer_allhits', 0)): ?>
+ <p class="text-right"><?php echo JText::sprintf('COM_JOOMGALLERY_COMMON_NUMB_HITS_ALL_IMAGES', '<span class="badge">'.$displayData->numberofhits.'</span>'); ?></p>
+<?php endif; ?>
+ </div>
+ </div>
+<?php endif;
+ if($displayData->params->get('show_footer_search', 0)): ?>
+ <div class="row">
+ <div class="col-xs-12">
+ <form action="<?php echo JRoute::_('index.php?view=search'); ?>" method="post" class="navbar-search pull-right">
+ <input type="text" name="sstring" class="search-query form-control" onblur="if(this.value=='') this.value='<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true) ;?>';" onfocus="if(this.value=='<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true) ;?>') this.value='';" value="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH') ;?>" />
+ </form>
+ </div>
+ </div>
+<?php endif; ?>
+ </div>
+ </div>
+<?php if($displayData->params->get('show_footer_pathway', 0)): ?>
+ <div class="jg-pathway jg-pathway-footer">
+ <a href="<?php echo JRoute::_('index.php') ;?>">
+ <span class="icon-location hasTooltip" title="<?php echo JHtml::tooltipText('COM_JOOMGALLERY_COMMON_HOME'); ?>"></span></a>
+ <?php echo $displayData->pathway; ?>
+ </div>
+<?php endif;
+ if($displayData->params->get('show_btm_modules', 0)): ?>
+ <div class="jg_btmmodules">
+<?php foreach($displayData->modules['btm'] as $module): ?>
+ <div class="jg_btmmodule">
+ <?php echo $module->rendered; ?>
+ </div>
+<?php endforeach; ?>
+ </div>
+<?php endif;
+ if($displayData->params->get('show_credits')): ?>
+ <div class="text-center">
+ <a href="http://www.joomgallery.net" target="_blank">
+ <img src="<?php echo JoomAmbit::getInstance()->getIcon('powered_by.gif'); ?>" class="jg_poweredb" alt="Powered by JoomGallery" />
+ </a>
+ </div>
+<?php endif; ?>
+</div>
@@ -0,0 +1,110 @@
+<?php defined('_JEXEC') or die('Direct Access to this location is not allowed.'); ?>
+<div class="jg-bootone gallery">
+<?php if($displayData->params->get('show_page_heading', 0)): ?>
+ <h2>
+ <?php echo $displayData->escape($displayData->params->get('page_heading')); ?>
+ </h2>
+<?php endif;
+ if($displayData->params->get('show_top_modules', 0)): ?>
+ <div class="jg_topmodules">
+<?php foreach($displayData->modules['top'] as $module): ?>
+ <div class="jg_topmodule">
+ <?php echo $module->rendered; ?>
+ </div>
+<?php endforeach; ?>
+ </div>
+<?php endif;
+ if($displayData->params->get('show_header_pathway', 0)): ?>
+ <div class="jg-pathway">
+ <a href="<?php echo JRoute::_('index.php') ;?>">
+ <span class="icon-location hasTooltip" title="<?php echo JHtml::tooltipText('COM_JOOMGALLERY_COMMON_HOME'); ?>"></span></a>
+ <?php echo $displayData->pathway; ?>
+ </div>
+<?php endif; ?>
+ <div class="row">
+ <div class="col-md-6">
+<?php if($displayData->params->get('show_header_backlink')): ?>
+ <ul class="pager">
+ <li class="previous">
+ <a href="<?php echo $displayData->backtarget; ?>">
+ &larr; <?php echo $displayData->backtext; ?></a>
+ </li>
+ </ul>
+<?php endif;
+ if($displayData->params->get('show_mygal')): ?>
+ <div class="jg_myga">
+ <a href="<?php echo JRoute::_('index.php?option=com_joomgallery&view=userpanel') ;?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('COM_JOOMGALLERY_COMMON_USER_PANEL', 'COM_JOOMGALLERY_COMMON_MSG_YOU_ARE_NOT_LOGGED'); ?>">
+ <span class="icon-upload"></span> <?php echo JText::_('COM_JOOMGALLERY_COMMON_USER_PANEL') ;?>
+ </a>
+ </div>
+<?php endif;
+ if($displayData->params->get('show_mygal_no_access', 0)): ?>
+ <div class="jg_myga">
+ <span class="muted hasTooltip" title="<?php echo JHtml::tooltipText('COM_JOOMGALLERY_COMMON_USER_PANEL', 'COM_JOOMGALLERY_COMMON_MSG_YOU_ARE_NOT_LOGGED'); ?>">
+ <span class="icon-upload"></span> <?php echo JText::_('COM_JOOMGALLERY_COMMON_USER_PANEL'); ?>
+ </span>
+ </div>
+<?php endif;
+ if($displayData->params->get('show_favourites', 0)): ?>
+ <div class="jg_my_favourite">
+ <?php switch($displayData->params->get('show_favourites', 0)):
+ case 1: ?>
+ <a href="<?php echo JRoute::_('index.php?option=com_joomgallery&view=favourites'); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('COM_JOOMGALLERY_COMMON_DOWNLOADZIP_MY', 'COM_JOOMGALLERY_COMMON_DOWNLOADZIP_DOWNLOAD_TIPTEXT'); ?>">
+ <span class="icon-basket"></span> <?php echo JText::_('COM_JOOMGALLERY_COMMON_DOWNLOADZIP_MY'); ?>
+ </a>
+ <?php break;
+ case 2: ?>
+ <a href="<?php echo JRoute::_('index.php?option=com_joomgallery&view=favourites'); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText(JText::_('COM_JOOMGALLERY_COMMON_FAVOURITES_MY'), $displayData->params->get('favourites_tooltip_text'), false); ?>">
+ <span class="icon-star"></span> <?php echo JText::_('COM_JOOMGALLERY_COMMON_FAVOURITES_MY'); ?>
+ </a>
+ <?php break;
+ case 3: ?>
+ <span class="muted hasTooltip" title="<?php echo JHtml::tooltipText('COM_JOOMGALLERY_COMMON_DOWNLOADZIP_MY', 'COM_JOOMGALLERY_COMMON_DOWNLOADZIP_DOWNLOAD_NOT_ALLOWED_TIPTEXT'); ?>">
+ <span class="icon-basket"></span> <?php echo JText::_('COM_JOOMGALLERY_COMMON_DOWNLOADZIP_MY'); ?>
+ </span>
+ <?php break;
+ case 4: ?>
+ <span class="muted hasTooltip" title="<?php echo JHtml::tooltipText('COM_JOOMGALLERY_COMMON_FAVOURITES_MY', 'COM_JOOMGALLERY_COMMON_FAVOURITES_DOWNLOAD_NOT_ALLOWED_TIPTEXT'); ?>">
+ <span class="icon-star"></span> <?php echo JText::_('COM_JOOMGALLERY_COMMON_FAVOURITES_MY'); ?>
+ </span>
+ <?php break;
+ case 5: ?>
+ <a href="<?php echo JRoute::_('index.php?task=favourites.createzip'); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('COM_JOOMGALLERY_DOWNLOADZIP_DOWNLOAD', 'COM_JOOMGALLERY_DOWNLOADZIP_CREATE_TIPTEXT'); ?>">
+ <span class="icon-out"></span> <?php echo JText::_('COM_JOOMGALLERY_DOWNLOADZIP_DOWNLOAD'); ?>
+ </a>
+ <?php break;
+ default:
+ break;
+ endswitch; ?>
+ </div>
+<?php endif; ?>
+ </div>
+ <div class="col-md-6">
+<?php if($displayData->params->get('show_header_search', 0)): ?>
+ <div class="row">
+ <div class="col-xs-12">
+ <form action="<?php echo JRoute::_('index.php?view=search'); ?>" method="post" class="navbar-search pull-right">
+ <input title="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true) ;?>" type="text" name="sstring" class="search-query form-control" onblur="if(this.value=='') this.value='<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true) ;?>';" onfocus="if(this.value=='<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH', true) ;?>') this.value='';" value="<?php echo JText::_('COM_JOOMGALLERY_COMMON_SEARCH') ;?>" />
+ </form>
+ </div>
+ </div>
+<?php endif;
+ if($displayData->params->get('show_header_allpics', 0) || $displayData->params->get('show_header_allhits', 0)): ?>
+ <div class="row">
+ <div class="col-xs-12">
+<?php if($displayData->params->get('show_header_allpics', 0)): ?>
+ <p class="pull-right"><?php echo JText::sprintf('COM_JOOMGALLERY_COMMON_NUMB_IMAGES_ALL_CATEGORIES', '<span class="badge">'.$displayData->numberofpics.'</span>'); ?></p>
+<?php endif;
+ if($displayData->params->get('show_header_allhits', 0)): ?>
+ <p class="pull-right"><?php echo JText::sprintf('COM_JOOMGALLERY_COMMON_NUMB_HITS_ALL_IMAGES', '<span class="badge">'.$displayData->numberofhits.'</span>'); ?></p>
+<?php endif; ?>
+ </div>
+ </div>
+<?php endif; ?>
+ </div>
+ </div>
+<?php if($displayData->params->get('show_header_toplist', 0)): ?>
+ <div class="jg-toplist text-center">
+ <?php JHtml::_('joomgallery.toplistbar');?>
+ </div>
+<?php endif; ?>

0 comments on commit 469ef79

Please sign in to comment.