Revision 804
Added by thorn almost 17 years ago
index.php | ||
---|---|---|
41 | 41 |
<script type="text/javascript" language="javascript"> |
42 | 42 |
function toggle_viewers() { |
43 | 43 |
if(document.add.visibility.value == 'private') { |
44 |
document.getElementById('private_viewers').style.display = 'block'; |
|
45 |
document.getElementById('registered_viewers').style.display = 'none'; |
|
44 |
document.getElementById('viewers').style.display = 'block'; |
|
46 | 45 |
} else if(document.add.visibility.value == 'registered') { |
47 |
document.getElementById('private_viewers').style.display = 'none'; |
|
48 |
document.getElementById('registered_viewers').style.display = 'block'; |
|
46 |
document.getElementById('viewers').style.display = 'block'; |
|
49 | 47 |
} else { |
50 |
document.getElementById('private_viewers').style.display = 'none'; |
|
51 |
document.getElementById('registered_viewers').style.display = 'none'; |
|
48 |
document.getElementById('viewers').style.display = 'none'; |
|
52 | 49 |
} |
53 | 50 |
} |
54 | 51 |
function toggle_visibility(id){ |
Also available in: Unified diff
fixed viewing_groups-handling in /admin/pages/add.php