Page 1 of 1

in which file $theme['td_color1'] is?

Posted: Sun Jun 22, 2003 6:50 pm
by remid1985
extract from viewonline.php

Code: Select all

$row_color = ( $$which_counter % 2 ) ? $theme['td_color1'] : $theme['td_color2'];
		$row_class = ( $$which_counter % 2 ) ? $theme['td_class1'] : $theme['td_class2'];

		$template->assign_block_vars("$which_row", array(
			'ROW_COLOR' => '#' . $row_color,
			'ROW_CLASS' => $row_class,
			'USERNAME' => $username,
			'LASTUPDATE' => create_date($board_config['default_dateformat'], $row['session_time'], $board_config['board_timezone']),
			'FORUM_LOCATION' => $location,

			'U_USER_PROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $user_id),
			'U_FORUM_LOCATION' => append_sid($location_url))
		);

		$$which_counter++;
	}
}
in which file $theme['td_color1'] is defined?

Posted: Sun Jun 22, 2003 10:19 pm
by bitserve
./templates/*/theme_info.cfg

Posted: Sun Jun 22, 2003 11:11 pm
by remid1985
in fact , i realise a portail .
I want to impose a template to every member for my site but let the choice for the forum.

how do i do for impose a template in the files?

Posted: Mon Jun 23, 2003 12:57 am
by bitserve
I don't understand the question, maybe someone else does. But it sounds like you want to modify phpbb now, that goes in one of the MOD forums.

Posted: Mon Jun 23, 2003 11:09 pm
by remid1985
lock it please