mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
merge from 1.7.3.5(r13153:r13167)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@13168 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cc47d2b247
commit
2d3f149b5a
2042 changed files with 129266 additions and 126243 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
if(!defined('__XE__')) exit();
|
||||
|
||||
if(!defined('__XE__'))
|
||||
exit();
|
||||
|
||||
/**
|
||||
* @file openid_delegation_id.addon.php
|
||||
|
|
@ -8,20 +10,28 @@ if(!defined('__XE__')) exit();
|
|||
*
|
||||
* This enables to use openID as user's homepage or blog url.
|
||||
* Enter your open ID service information on the configuration.
|
||||
**/
|
||||
* */
|
||||
// Execute only wen called_position is before_module_init
|
||||
if($called_position != 'before_module_init') return;
|
||||
if($called_position != 'before_module_init')
|
||||
{
|
||||
return;
|
||||
}
|
||||
// Get add-on settings(openid_delegation_id)
|
||||
if(!$addon_info->server||!$addon_info->delegate||!$addon_info->xrds) return;
|
||||
if(!$addon_info->server || !$addon_info->delegate || !$addon_info->xrds)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$header_script = sprintf(
|
||||
'<link rel="openid.server" href="%s" />'."\n".
|
||||
'<link rel="openid.delegate" href="%s" />'."\n".
|
||||
'<meta http-equiv="X-XRDS-Location" content="%s" />',
|
||||
$addon_info->server,
|
||||
$addon_info->delegate,
|
||||
$addon_info->xrds
|
||||
'<link rel="openid.server" href="%s" />' . "\n" .
|
||||
'<link rel="openid.delegate" href="%s" />' . "\n" .
|
||||
'<meta http-equiv="X-XRDS-Location" content="%s" />',
|
||||
$addon_info->server,
|
||||
$addon_info->delegate,
|
||||
$addon_info->xrds
|
||||
);
|
||||
|
||||
Context::addHtmlHeader($header_script);
|
||||
?>
|
||||
|
||||
/* End of file openid_delegation_id.addon.php */
|
||||
/* Location: ./addons/openid_delegation_id/openid_delegation_id.addon.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue