Revision 288
Added by stefan almost 19 years ago
trunk/wb/admin/pages/settings.php | ||
---|---|---|
228 | 228 |
} else { |
229 | 229 |
$template->set_var('DISPLAY_PRIVATE', 'none'); |
230 | 230 |
} |
231 |
|
|
232 |
if($results_array['visibility'] == 'registered') { |
|
233 |
$template->set_var('DISPLAY_REGISTERED', ''); |
|
234 |
} else { |
|
235 |
$template->set_var('DISPLAY_REGISTERED', 'none'); |
|
236 |
} |
|
237 |
|
|
231 | 238 |
// Parent page list |
232 | 239 |
$database = new database(); |
233 | 240 |
function parent_list($parent) { |
trunk/wb/admin/pages/settings.html | ||
---|---|---|
10 | 10 |
document.getElementById('registered_viewers').style.display = 'block'; |
11 | 11 |
} else { |
12 | 12 |
document.getElementById('private_viewers').style.display = 'none'; |
13 |
document.getElementById('private_viewers').style.display = 'none';
|
|
13 |
document.getElementById('registered_viewers').style.display = 'none';
|
|
14 | 14 |
} |
15 | 15 |
} |
16 | 16 |
</script> |
... | ... | |
70 | 70 |
</div> |
71 | 71 |
</td> |
72 | 72 |
<td rowspan="10" valign="top" style="padding-left: 20px; padding-top: 8px;"> |
73 |
<div id="registered_viewers" style="display: {DISPLAY_PRIVATE};">
|
|
73 |
<div id="registered_viewers" style="display: {DISPLAY_REGISTERED};">
|
|
74 | 74 |
{TEXT_REGISTERED_VIEWERS}: |
75 | 75 |
<ul style="list-style-type: none; margin: 0; padding: 0;"> |
76 | 76 |
<!-- BEGIN group_list_block2 --> |
Also available in: Unified diff
Fixed a bug where access settings of registered and private pages were displayed incorrectly.