aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/faq.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-02-21 12:40:23 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-02-21 12:40:23 +0000
commit345b521b4725b4eec9819d14dbb685f1373efb1c (patch)
tree2fc6633833ba9608ed7995990d930b57d97159ba /phpBB/faq.php
parent5298c13d4683fbbc18f67cd3fb5b915f5ed39589 (diff)
downloadforums-345b521b4725b4eec9819d14dbb685f1373efb1c.tar
forums-345b521b4725b4eec9819d14dbb685f1373efb1c.tar.gz
forums-345b521b4725b4eec9819d14dbb685f1373efb1c.tar.bz2
forums-345b521b4725b4eec9819d14dbb685f1373efb1c.tar.xz
forums-345b521b4725b4eec9819d14dbb685f1373efb1c.zip
Updated to remove row color/class assignments
git-svn-id: file:///svn/phpbb/trunk@3487 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/faq.php')
-rw-r--r--phpBB/faq.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/phpBB/faq.php b/phpBB/faq.php
index 5c8a649a7f..04778aa03a 100644
--- a/phpBB/faq.php
+++ b/phpBB/faq.php
@@ -96,31 +96,25 @@ for($i = 0; $i < count($faq_block); $i++)
$template->assign_block_vars('faq_block', array(
'BLOCK_TITLE' => $faq_block_titles[$i])
);
+
$template->assign_block_vars('faq_block_link', array(
'BLOCK_TITLE' => $faq_block_titles[$i])
);
for($j = 0; $j < count($faq_block[$i]); $j++)
{
- $row_color = ( !($j % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
- $row_class = ( !($j % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
-
$template->assign_block_vars('faq_block.faq_row', array(
- 'ROW_COUNT' => $j,
- 'ROW_COLOR' => '#' . $row_color,
- 'ROW_CLASS' => $row_class,
'FAQ_QUESTION' => $faq_block[$i][$j]['question'],
'FAQ_ANSWER' => $faq_block[$i][$j]['answer'],
+ 'S_ROW_COUNT' => $j,
'U_FAQ_ID' => $faq_block[$i][$j]['id'])
);
$template->assign_block_vars('faq_block_link.faq_row_link', array(
- 'ROW_COUNT' => $j,
- 'ROW_COLOR' => '#' . $row_color,
- 'ROW_CLASS' => $row_class,
'FAQ_LINK' => $faq_block[$i][$j]['question'],
+ 'S_ROW_COUNT' => $j,
'U_FAQ_LINK' => '#' . $faq_block[$i][$j]['id'])
);
}