mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
cozy 관련 스킨과 google_analytics 애드온을 기본 패키지에서 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3880 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f616021093
commit
1f75a6f4a8
195 changed files with 0 additions and 3862 deletions
|
|
@ -1,51 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<addon version="0.1">
|
||||
<title xml:lang="ko">Google Analytics</title>
|
||||
<title xml:lang="zh-CN">Google Analytics</title>
|
||||
<title xml:lang="en">Google Analytics</title>
|
||||
<title xml:lang="es">Google Analytics</title>
|
||||
<title xml:lang="ru">Google Analytics</title>
|
||||
<title xml:lang="jp">Google Analyticsアドオン</title>
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 9. 19">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="zh-CN">Zero</name>
|
||||
<name xml:lang="en">Zero</name>
|
||||
<name xml:lang="es">Zero</name>
|
||||
<name xml:lang="ru">Zero</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<description xml:lang="ko">
|
||||
Google Analytics 코드를 사이트에 추가할 수 있습니다.
|
||||
</description>
|
||||
<description xml:lang="zh-CN">
|
||||
可以添加Google Analytics代码。
|
||||
</description>
|
||||
<description xml:lang="en">
|
||||
This addon inserts Google Analytics code to site.
|
||||
</description>
|
||||
<description xml:lang="es">
|
||||
Este addon inserciones Google Analytics código de sitio.
|
||||
</description>
|
||||
<description xml:lang="ru">
|
||||
Google Analytics
|
||||
</description>
|
||||
<description xml:lang="jp">
|
||||
Google Analyticsのコードをサイトに挿入できます。
|
||||
</description>
|
||||
</author>
|
||||
<extra_vars>
|
||||
<var name="uacct">
|
||||
<title xml:lang="ko">uacct</title>
|
||||
<title xml:lang="zh-CN">uacct</title>
|
||||
<title xml:lang="en">uacct</title>
|
||||
<title xml:lang="es">Uacct</title>
|
||||
<title xml:lang="ru">uacct</title>
|
||||
<title xml:lang="jp">uacct</title>
|
||||
<description xml:lang="ko">Google Analytics 코드의 _uacct 값을 입력해주세요.</description>
|
||||
<description xml:lang="zh-CN">请输入Google Analytics代码的_uacct值。</description>
|
||||
<description xml:lang="en">Please input _uacct from Google Analytics code.</description>
|
||||
<description xml:lang="es">Por favor, de entrada _uacct código de Google Analytics.</description>
|
||||
<description xml:lang="ru">Google Analytics _uacct</description>
|
||||
<description xml:lang="jp">Google Analyticsコードの「_uacct」の値を入力してください。</description>
|
||||
</var>
|
||||
</extra_vars>
|
||||
</addon>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
|
||||
/**
|
||||
* @file google_analytics.addon.php
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief google analytics 코드를 사이트에 추가함
|
||||
**/
|
||||
|
||||
// 관리자 모듈이면 패스~
|
||||
if(Context::get('module')=='admin') return;
|
||||
|
||||
// 한번만 출력시키기 위해 전역변수에 호출되었음을 체크해 놓음 (called position과 상관없음)
|
||||
if($GLOBALS['_called_addon_google_analytics_']) return;
|
||||
$GLOBALS['_called_addon_google_analytics_'] = true;
|
||||
|
||||
$js_code = <<<EndOfGA
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var pageTracker = _gat._getTracker("{$addon_info->uacct}");
|
||||
pageTracker._initData();
|
||||
pageTracker._trackPageview();
|
||||
</script>
|
||||
EndOfGA;
|
||||
|
||||
Context::addHtmlFooter($js_code);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue