-
Notifications
You must be signed in to change notification settings - Fork 0
/
tiki-admin_include_community.php
40 lines (31 loc) · 1.43 KB
/
tiki-admin_include_community.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
// $Header: /cvsroot-fuse/tikiwiki/tiki/tiki-admin_include_community.php,v 1.1.2.7 2005/04/25 09:34:06 lfagundes Exp $
// Copyright (c) 2002-2005, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
header("location: index.php");
exit;
}
if (isset($_REQUEST["mouseoverfeatures"])) {
check_ticket('admin-inc-community');
simple_set_toggle("feature_community_mouseover");
simple_set_toggle("feature_community_mouseover_name");
simple_set_toggle("feature_community_mouseover_picture");
simple_set_toggle("feature_community_mouseover_friends");
simple_set_toggle("feature_community_mouseover_score");
simple_set_toggle("feature_community_mouseover_country");
simple_set_toggle("feature_community_mouseover_email");
simple_set_toggle("feature_community_mouseover_lastlogin");
simple_set_toggle("feature_community_mouseover_distance");
}
/* This is desired future feature
if (isset($_REQUEST["friendshipfeatures"])) {
check_ticket('admin-inc-community');
simple_set_toggle("feature_community_friends_permission");
simple_set_int("feature_community_friends_permission_dep");
}
*/
ask_ticket('admin-inc-community');
?>