diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-09-15 23:51:41 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-09-15 23:51:41 +0000 |
commit | 01f0a5d16c4bf0092feb68a841bfa564757dd064 (patch) | |
tree | 2da4fb7f85b1fc9813a9049d202a57f6dbb4d47b /phpBB/admin/admin_words.php | |
parent | f1233468cf38d95abf4f913ce9893f25bb36c120 (diff) | |
download | forums-01f0a5d16c4bf0092feb68a841bfa564757dd064.tar forums-01f0a5d16c4bf0092feb68a841bfa564757dd064.tar.gz forums-01f0a5d16c4bf0092feb68a841bfa564757dd064.tar.bz2 forums-01f0a5d16c4bf0092feb68a841bfa564757dd064.tar.xz forums-01f0a5d16c4bf0092feb68a841bfa564757dd064.zip |
Added theme row colour/class support
git-svn-id: file:///svn/phpbb/trunk@1046 89ea8834-ac86-4346-8a33-228a782c2dd0
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"), |