mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
1. Use __XE__ instead of __ZBXE__
2. Reformat indentations git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9722 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
477db7ed4f
commit
29f0d4a503
12 changed files with 648 additions and 650 deletions
|
|
@ -1,27 +1,27 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
if(!defined('__XE__')) exit();
|
||||
|
||||
/**
|
||||
* @file openid_delegation_id.addon.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief OpenID Delegation ID Add-on
|
||||
*
|
||||
* 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;
|
||||
// Get add-on settings(openid_delegation_id)
|
||||
if(!$addon_info->server||!$addon_info->delegate||!$addon_info->xrds) return;
|
||||
/**
|
||||
* @file openid_delegation_id.addon.php
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief OpenID Delegation ID Add-on
|
||||
*
|
||||
* 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;
|
||||
// Get add-on settings(openid_delegation_id)
|
||||
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
|
||||
);
|
||||
$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
|
||||
);
|
||||
|
||||
Context::addHtmlHeader($header_script);
|
||||
Context::addHtmlHeader($header_script);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue