mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
8326004cb2
2773 changed files with 91485 additions and 0 deletions
33
addons/counter/conf/info.xml
Normal file
33
addons/counter/conf/info.xml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<addon version="0.1">
|
||||
<title xml:lang="ko">기본 카운터 애드온</title>
|
||||
<title xml:lang="jp">接続カウンター</title>
|
||||
<title xml:lang="zh-CN">网站访问统计</title>
|
||||
<title xml:lang="en">Addon for basic counter</title>
|
||||
<title xml:lang="es">Adición Taquilla Predeterminado</title>
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<name xml:lang="zh-CN">zero</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<name xml:lang="es">zero</name>
|
||||
<description xml:lang="ko">
|
||||
제로보드XE의 기본 카운터 모듈을 이용하여 접속 정보를 기록합니다.
|
||||
이 애드온을 켜셔야 접속 정보 수집이 됩니다.
|
||||
</description>
|
||||
<description xml:lang="jp">
|
||||
セロボードXEの接続カウンターモジュールは、接続情報を記録します。このアドオンを「使用」に設定しておくと接続情報が記録されます。
|
||||
</description>
|
||||
<description xml:lang="zh-CN">
|
||||
利用ZeroboardXE的网站访问统计模块记录网站访问信息。
|
||||
把状态设置为"使用"时,才会记录网站访问信息.
|
||||
</description>
|
||||
<description xml:lang="en">
|
||||
This addon logs access information based on the basic counter module within Zeroboard XE.
|
||||
It is necessary for aggregation of access information to turn on this addon.
|
||||
</description>
|
||||
<description xml:lang="es">
|
||||
Contar los visitantes con la taquilla predeterminado de ZeroBoardXE. Es necesario aprender esta adición para acumular las información de visitos.
|
||||
</description>
|
||||
</author>
|
||||
</addon>
|
||||
20
addons/counter/counter.addon.php
Normal file
20
addons/counter/counter.addon.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
|
||||
/**
|
||||
* @file counter.addon.php
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief 카운터 애드온
|
||||
*
|
||||
* 카운터 애드온은 제로보드XE의 기본 카운터(counter)모듈을 이용하여 로그를 남깁니다.
|
||||
* 검색 로봇이나 기타 툴의 접속을 방지하고 부하를 줄이기 위해서 페이지가 로드된 후에 javascript로 다시 로그를 남기도록 합니다.
|
||||
* 따라서 이 카운터 애드온은 카운터를 수집하게 하는 javascript 파일을 추가하는 동작만 하며 기본 카운터 모듈의 호출은 해당 javascript
|
||||
* 파일내에서 이루어집니다.
|
||||
**/
|
||||
|
||||
// called_position가 before_module_init 이고 module이 admin이 아닐 경우
|
||||
if($called_position == 'before_module_init' && !$GLOBALS['__counter_addon_called__']) {
|
||||
if($this->module != 'admin') Context::addJsFile('./modules/counter/tpl/js/counter.js');
|
||||
$GLOBALS['__counter_addon_called__'] = true;
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue