Permalink
Browse files

There was no fluid behavior for thumbnails area yet

  • Loading branch information...
1 parent ff57839 commit 5cdd33304872f06bbf973f9c130d1bb62727b132 @Chraneco Chraneco committed Jun 17, 2015
@@ -16,6 +16,7 @@
<div class="pagination">
<?php echo $this->pagination->getPagesLinks(); ?>
</div>
+ <div class="row-fluid jg-thumbnails-area">
<?php endif;
if($this->params->get('show_all_in_popup')):
echo $this->popup['before'];
@@ -25,7 +26,7 @@
$num_rows = ceil($count_pics / $column);
$index = 0;
for($row_count = 0; $row_count < $num_rows; $row_count++): ?>
- <ul class="thumbnails">
+ <ul class="thumbnails">
<?php for($col_count = 0; ($col_count < $column) && ($index < $count_pics); $col_count++):
$row = $this->images[$index]; ?>
<li class="span<?php echo (int) (12 / $column); ?>">
@@ -136,9 +137,10 @@
</li>
<?php $index++;
endfor; ?>
- </ul>
-<?php endfor;
- if($this->params->get('show_all_in_popup')):
+ </ul>
+<?php endfor; ?>
+ </div>
+<?php if($this->params->get('show_all_in_popup')):
echo $this->popup['after'];
endif;
if($this->params->get('show_count_img_bottom')): ?>
@@ -41,6 +41,7 @@
</div>
</div>
</div>
+ <div class="row-fluid jg-thumbnails-area">
<?php endif;
$cat_count = count($this->categories);
$num_rows = ceil($cat_count / $this->_config->get('jg_colsubcat'));
@@ -131,8 +132,9 @@
<?php $index++;
endfor; ?>
</ul>
-<?php endfor;
- if($this->params->get('show_count_cat_bottom')): ?>
+<?php endfor; ?>
+ </div>
+<?php if($this->params->get('show_count_cat_bottom')): ?>
<div class="jg-counts">
<?php if($this->totalcategories == 1): ?>
<?php echo JText::_('COM_JOOMGALLERY_CATEGORY_THERE_IS_ONE_SUBCATEGORY_IN_CATEGORY'); ?>
@@ -20,6 +20,7 @@
<?php echo $this->output('NO_IMAGES'); ?>
</div>
</div>
+ <div class="row-fluid jg-thumbnails-area">
<?php endif;
$num_rows = ceil($count / $this->_config->get('jg_toplistcols'));
$index = 0;
@@ -110,5 +111,6 @@
endfor; ?>
</ul>
<?php endfor; ?>
+ </div>
</div>
<?php echo JLayoutHelper::render('joomgallery.common.footer', $this, '', array('suffixes' => array('bootone'), 'client' => 1));
@@ -22,6 +22,7 @@
<div class="pagination">
<?php echo $this->pagination->getPagesLinks(); ?>
</div>
+ <div class="row-fluid jg-thumbnails-area">
<?php endif;
$num_rows = ceil(count($this->rows ) / $this->_config->get('jg_colcat'));
$index = 0;
@@ -116,8 +117,9 @@
<?php $index++;
endfor; ?>
</ul>
-<?php endfor;
- if($this->params->get('show_count_bottom')): ?>
+<?php endfor; ?>
+ </div>
+<?php if($this->params->get('show_count_bottom')): ?>
<div class="jg-counts">
<?php if($this->total == 1): ?>
<?php echo JText::_('COM_JOOMGALLERY_GALLERY_THERE_IS_ONE_CATEGORY_IN_GALLERY'); ?>
@@ -14,8 +14,9 @@
<?php echo JText::_('COM_JOOMGALLERY_SEARCH_RESULTS_NO_IMAGES'); ?>
</div>
</div>
-<?php endif;
- for($row_count = 0; $row_count < $num_rows; $row_count++ ): ?>
+<?php endif; ?>
+ <div class="row-fluid jg-thumbnails-area">
+<?php for($row_count = 0; $row_count < $num_rows; $row_count++ ): ?>
<ul class="thumbnails">
<?php for($col_count = 0; ($col_count < $this->_config->get('jg_searchcols')) && ($index < $count); $col_count++):
$row = $this->rows[$index]; ?>
@@ -130,5 +131,6 @@
endfor; ?>
</ul>
<?php endfor; ?>
+ </div>
</div>
<?php echo JLayoutHelper::render('joomgallery.common.footer', $this, '', array('suffixes' => array('bootone'), 'client' => 1));
@@ -15,8 +15,9 @@
<?php echo JText::_('COM_JOOMGALLERY_TOPLIST_NO_IMAGES'); ?>
</div>
</div>
-<?php endif;
- for($row_count = 0; $row_count < $num_rows; $row_count++ ): ?>
+<?php endif; ?>
+ <div class="row-fluid jg-thumbnails-area">
+<?php for($row_count = 0; $row_count < $num_rows; $row_count++ ): ?>
<ul class="thumbnails">
<?php for($col_count = 0; ($col_count < $this->_config->get('jg_toplistcols')) && ($index < $count); $col_count++):
$row = $this->rows[$index]; ?>
@@ -141,5 +142,6 @@
endfor; ?>
</ul>
<?php endfor; ?>
+ </div>
</div>
<?php echo JLayoutHelper::render('joomgallery.common.footer', $this, '', array('suffixes' => array('bootone'), 'client' => 1));

0 comments on commit 5cdd333

Please sign in to comment.