예제 #1
0
 function get_links()
 {
     $links = array();
     $setting_data = ModuleSetting::load_default_setting(PAGE_USER_PRIVATE);
     return $setting_data;
 }
예제 #2
0
global $query_count_on_page, $config_site_name, $login_uid;
$query_count_on_page = 0;
$group_var = new Group();
$group_var->collection_id = $_GET['gid'];
$group_info = $group_var->get_group_theme_detail();
$extra = NULL;
if (@$group_info['extra']) {
    $extra = unserialize($group_info['extra']);
}
if (empty($extra['module_setting'])) {
    // global $settings_new;
    // $setting_data = $settings_new[PAGE_GROUP]['data'];
    // above code commmened out my Martin:
    // the above code does not respect changes the network admin might have made in the
    // ModuleSelector
    $setting_data = ModuleSetting::load_default_setting(PAGE_GROUP);
} else {
    $setting_data = $extra['module_setting'];
}
$request_info = load_info();
$parent_id = $request_info['parent_id'];
$parent_name_hidden = $request_info['parent_name_hidden'];
$parent_type = $request_info['parent_type'];
$header_title = $request_info['header_title'];
$group_invitation_id = !empty($_REQUEST['GInvID']) ? $_REQUEST['GInvID'] : null;
//////////////////////////////////
///get details of group
$is_member = FALSE;
$is_admin = FALSE;
$content_access = TRUE;
$is_invite = FALSE;