Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modified: favicon.ico

	modified:   html/com_content/category/blog.php
  • Loading branch information...
commit a5904cbdb0f2f2c9e1eadf8410d1246d47a769d1 1 parent 5198aca
@vitotafuni authored
Showing with 11 additions and 14 deletions.
  1. BIN  favicon.ico
  2. +11 −14 html/com_content/category/blog.php
View
BIN  favicon.ico
Binary file not shown
View
25 html/com_content/category/blog.php
@@ -142,24 +142,21 @@ class="article_column<?php echo $divider ?>">
<div class="td" valign="top" width="<?php echo intval(100 / $this->params->get('num_columns')) ?>%" class="article_column<?php echo $divider ?>">
- <?php for ($y = 0; $y < ($this->params->get('num_intro_articles') / $this->params->get('num_columns')); $y ++) :
+ <?php for ($y = ($z<($this->total % $this->params->get('num_columns')))? -1:0; $y < intval($this->total / $this->params->get('num_columns')); $y ++) :
+ if ($i < $this->total && $i < ($numIntroArticles)) :
- if ($i < $this->total && $i < ($numIntroArticles)) :
+ $this->item =& $this->getItem($i, $this->params);
- $this->item =& $this->getItem($i, $this->params);
+ echo $this->loadTemplate('item');
- echo $this->loadTemplate('item');
-
- $i ++;
-
- endif;
-
- endfor; ?>
-
- </div>
-
- <?php endfor;
+ $i ++;
+ endif;
+ endfor;?>
+
+ </div>
+ <?php endfor;
+
endif; ?>
Please sign in to comment.
Something went wrong with that request. Please try again.