Revision 686
Added by doc almost 17 years ago
browse.php | ||
---|---|---|
97 | 97 |
} |
98 | 98 |
// Now parse these values to the template |
99 | 99 |
$temp_id = 0; |
100 |
$row_bg_color = 'BDD3EC';
|
|
100 |
$row_bg_color = 'FFF';
|
|
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 == 'D2E1F2') {
|
|
119 |
$row_bg_color = 'BDD3EC';
|
|
118 |
if($row_bg_color == 'FFF') {
|
|
119 |
$row_bg_color = 'ECF1F3';
|
|
120 | 120 |
} else { |
121 |
$row_bg_color = 'D2E1F2';
|
|
121 |
$row_bg_color = 'FFF';
|
|
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 == 'D2E1F2') {
|
|
142 |
$row_bg_color = 'BDD3EC';
|
|
141 |
if($row_bg_color == 'FFF') {
|
|
142 |
$row_bg_color = 'ECF1F3';
|
|
143 | 143 |
} else { |
144 |
$row_bg_color = 'D2E1F2';
|
|
144 |
$row_bg_color = 'FFF';
|
|
145 | 145 |
} |
146 | 146 |
} |
147 | 147 |
} |
Also available in: Unified diff
modified some colors and CSS definitions of pages, media and section interface