. /** * Joomdle config form * * @package auth_joomdle * @copyright 2009 Qontori Pte Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $joomla_url = get_config('auth/joomdle', 'joomla_url'); if ($joomla_url == '') { // Check if old config is present, and use it $joomla_url = get_config('', 'joomla_url'); } // set to defaults if undefined if (!isset($joomla_url)) { $joomla_url = ''; } $connection_method = get_config('auth/joomdle', 'connection_method'); if (!isset($connection_method)) $connection_method = 'fgc'; $cms = array ( 'fgc' => 'file_get_contents', 'curl' => 'cURL' ); $joomla_auth_token = get_config('auth/joomdle', 'joomla_auth_token'); if (!isset($joomla_auth_token)) $joomla_auth_token = ''; $sync_to_joomla = get_config('auth/joomdle', 'sync_to_joomla'); if (!isset($sync_to_joomla)) $sync_to_joomla = 0; $joomla_lang = get_config('auth/joomdle', 'joomla_lang'); if (!isset($joomla_lang)) $joomla_lang = ""; $joomla_sef = get_config('auth/joomdle', 'joomla_sef'); if (!isset($joomla_sef)) $joomla_sef = ""; $jomsocial_activities = get_config('auth/joomdle', 'jomsocial_activities'); if (!isset($jomsocial_activities)) $jomsocial_activities = 0; $jomsocial_groups = get_config('auth/joomdle', 'jomsocial_groups'); if (!isset($jomsocial_groups)) $jomsocial_groups = 0; $jomsocial_groups_delete = get_config('auth/joomdle', 'jomsocial_groups_delete'); if (!isset($jomsocial_groups_delete)) $jomsocial_groups_delete = 0; $auto_sell = get_config('auth/joomdle', 'auto_sell'); if (!isset($auto_sell)) $auto_sell = 0; $enrol_parents = get_config('auth/joomdle', 'enrol_parents'); if (!isset($enrol_parents)) $enrol_parents = 0; $parent_role_id = get_config('auth/joomdle', 'parent_role_id'); if (!isset($parent_role_id)) $parent_role_id = ''; $give_points = get_config('auth/joomdle', 'give_points'); if (!isset($give_points)) $give_points = 0; $auto_mailing_lists = get_config('auth/joomdle', 'auto_mailing_lists'); if (!isset($auto_mailing_lists)) $auto_mailing_lists = 0; $joomla_user_groups = get_config('auth/joomdle', 'joomla_user_groups'); if (!isset($joomla_user_groups)) $joomla_user_groups = 0; $use_kunena_forums = get_config('auth/joomdle', 'use_kunena_forums'); if (!isset($use_kunena_forums)) $use_kunena_forums = 0; $redirectless_sso = get_config('auth/joomdle', 'redirectless_sso'); if (!isset($redirectless_sso)) $redirectless_sso = 0; $logout_redirect_to_joomla = get_config('auth/joomdle', 'logout_redirect_to_joomla'); if (!isset($logout_redirect_to_joomla)) $logout_redirect_to_joomla = 0; $yesno = array(get_string('no'), get_string('yes')); ?>