mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Bugtracker #4747 - typo in news column count
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||
* $Id: news_categories.sc,v 1.3 2008-12-03 12:38:08 secretr Exp $
|
||||
* $Id: news_categories.sc,v 1.4 2009-06-06 17:03:25 e107steved Exp $
|
||||
*
|
||||
* News Categories shortcode
|
||||
*/
|
||||
@@ -121,7 +121,7 @@ $nbr_cols = (defined("NEWSCAT_COLS")) ? NEWSCAT_COLS : $nbr_cols;
|
||||
|
||||
while ($t % $nbr_cols != 0){
|
||||
$text3 .= "<td style='".NEWSCAT_CELL.";width:{$wid}%'> </td>\n";
|
||||
$text3 .= (($t+1) % nbr_cols == 0) ? "</tr>" : "";
|
||||
$text3 .= (($t+1) % $nbr_cols == 0) ? "</tr>" : "";
|
||||
$t++;
|
||||
}
|
||||
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/other_news_menu/other_news2_menu.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:35:32 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2009-06-06 17:03:25 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
@@ -117,7 +117,7 @@ if ($sql->db_Select_gen($query)) {
|
||||
|
||||
while ($t % $nbr_cols != 0){
|
||||
$text .= "<td style='width:$wid'> </td>\n";
|
||||
$text .= (($t+1) % nbr_cols == 0) ? "</tr>" : "";
|
||||
$text .= (($t+1) % $nbr_cols == 0) ? "</tr>" : "";
|
||||
$t++;
|
||||
|
||||
}
|
||||
|
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/other_news_menu/other_news_menu.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:35:32 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2009-06-06 17:03:26 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
@@ -114,7 +114,7 @@ if ($sql->db_Select_gen($query)){
|
||||
|
||||
while ($t % $nbr_cols != 0){
|
||||
$text .= "<td style='width:$wid'> </td>\n";
|
||||
$text .= (($t+1) % nbr_cols == 0) ? "</tr>" : "";
|
||||
$text .= (($t+1) % $nbr_cols == 0) ? "</tr>" : "";
|
||||
$t++;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user