You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
731 B
15 lines
731 B
|
10 years ago
|
<?php
|
||
|
|
/* For licensing terms, see /license.txt */
|
||
|
|
/**
|
||
|
|
* @author Angel Fernando Quiroz Campos <angel.quiroz@beeznest.com>
|
||
|
|
* @package chamilo.plugin.azure_active_directory
|
||
|
|
*/
|
||
|
|
$activeDirectoryPlugin = AzureActiveDirectory::create();
|
||
|
|
|
||
|
|
if ($activeDirectoryPlugin->get(AzureActiveDirectory::SETTING_ENABLE) === 'true') {
|
||
|
|
$_template['block_title'] = $activeDirectoryPlugin->get(AzureActiveDirectory::SETTING_BLOCK_NAME);
|
||
|
|
$_template['signup_url'] = $activeDirectoryPlugin->getUrl(AzureActiveDirectory::URL_TYPE_SIGNUP);
|
||
|
|
$_template['signin_url'] = $activeDirectoryPlugin->getUrl(AzureActiveDirectory::URL_TYPE_SIGNIN);
|
||
|
|
$_template['signout_url'] = $activeDirectoryPlugin->getUrl(AzureActiveDirectory::URL_TYPE_SIGNOUT);
|
||
|
|
}
|