Revision 337
Added by stefan over 18 years ago
settings.php | ||
---|---|---|
217 | 217 |
$template->parse('group_list2', 'group_list_block2', true); |
218 | 218 |
} |
219 | 219 |
// Show private viewers |
220 |
if($results_array['visibility'] == 'private') { |
|
221 |
$template->set_var('DISPLAY_PRIVATE', '');
|
|
220 |
if($results_array['visibility'] == 'private' OR $results_array['visibility'] == 'registered') {
|
|
221 |
$template->set_var('DISPLAY_VIEWERS', '');
|
|
222 | 222 |
} else { |
223 |
$template->set_var('DISPLAY_PRIVATE', 'none');
|
|
223 |
$template->set_var('DISPLAY_VIEWERS', 'none');
|
|
224 | 224 |
} |
225 | 225 |
|
226 |
if($results_array['visibility'] == 'registered') { |
|
227 |
$template->set_var('DISPLAY_REGISTERED', ''); |
|
228 |
} else { |
|
229 |
$template->set_var('DISPLAY_REGISTERED', 'none'); |
|
230 |
} |
|
231 |
|
|
232 | 226 |
// Parent page list |
233 | 227 |
$database = new database(); |
234 | 228 |
function parent_list($parent) { |
... | ... | |
403 | 397 |
'TEXT_SAME_WINDOW' => $TEXT['SAME_WINDOW'], |
404 | 398 |
'TEXT_TOP_FRAME' => $TEXT['TOP_FRAME'], |
405 | 399 |
'TEXT_ADMINISTRATORS' => $TEXT['ADMINISTRATORS'], |
406 |
'TEXT_PRIVATE_VIEWERS' => $TEXT['PRIVATE_VIEWERS'], |
|
407 |
'TEXT_REGISTERED_VIEWERS' => $TEXT['REGISTERED_VIEWERS'], |
|
400 |
'TEXT_ALLOWED_VIEWERS' => $TEXT['ALLOWED_VIEWERS'], |
|
408 | 401 |
'TEXT_DESCRIPTION' => $TEXT['DESCRIPTION'], |
409 | 402 |
'TEXT_KEYWORDS' => $TEXT['KEYWORDS'], |
410 | 403 |
'TEXT_SEARCHING' => $TEXT['SEARCHING'], |
Also available in: Unified diff
Fixed ticket #146 - problems removing groups from private, registered viewer lists of page.