diff options
Diffstat (limited to 'phpBB/admin/admin_words.php')
-rw-r--r-- | phpBB/admin/admin_words.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/admin/admin_words.php b/phpBB/admin/admin_words.php index 5d660a78c0..2b53198b49 100644 --- a/phpBB/admin/admin_words.php +++ b/phpBB/admin/admin_words.php @@ -209,7 +209,12 @@ else $replacement = $word_rows[$i]['replacement']; $word_id = $word_rows[$i]['word_id']; + $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; + $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; + $template->assign_block_vars("words", array( + "ROW_COLOR" => "#" . $row_color, + "ROW_CLASS" => $row_class, "WORD" => $word, "REPLACEMENT" => $replacement, "U_WORD_EDIT" => append_sid("admin_words.$phpEx?mode=edit&id=$word_id"), |