Project

General

Profile

« Previous | Next » 

Revision 633

Added by doc almost 17 years ago

added some more backend layout modifications, corrected bug in NL.php language file

View differences:

browse.php
97 97
	}
98 98
	// Now parse these values to the template
99 99
	$temp_id = 0;
100
	$row_bg_color = 'EEEEEE';
100
	$row_bg_color = 'BDD3EC';
101 101
	if(isset($DIR)) {
102 102
		sort($DIR);
103 103
		foreach($DIR AS $name) {
......
115 115
									);
116 116
			$template->parse('list', 'list_block', true);
117 117
			// Code to alternate row colors
118
			if($row_bg_color == 'DEDEDE') {
119
				$row_bg_color = 'EEEEEE';
118
			if($row_bg_color == 'D2E1F2') {
119
				$row_bg_color = 'BDD3EC';
120 120
			} else {
121
				$row_bg_color = 'DEDEDE';
121
				$row_bg_color = 'D2E1F2';
122 122
			}
123 123
		}
124 124
	}
......
138 138
									);
139 139
			$template->parse('list', 'list_block', true);
140 140
			// Code to alternate row colors
141
			if($row_bg_color == 'DEDEDE') {
142
				$row_bg_color = 'EEEEEE';
141
			if($row_bg_color == 'D2E1F2') {
142
				$row_bg_color = 'BDD3EC';
143 143
			} else {
144
				$row_bg_color = 'DEDEDE';
144
				$row_bg_color = 'D2E1F2';
145 145
			}
146 146
		}
147 147
	}

Also available in: Unified diff