mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
|
|
@ -16,7 +16,7 @@
|
|||
<description xml:lang="zh-TW">安裝管理模組</description>
|
||||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
<category>base</category>
|
||||
<category>system</category>
|
||||
|
||||
<author email_address="zero@zeroboard.com" link="http://blog.nzeo.com">
|
||||
<name xml:lang="ko">zero</name>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<module>
|
||||
<grants />
|
||||
<permissions />
|
||||
<actions>
|
||||
<action name="dispInstallIntroduce" type="view" standalone="true" index="true" />
|
||||
<action name="dispInstallCheckEnv" type="view" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -63,29 +63,19 @@
|
|||
$https_port = Context::get('https_port');
|
||||
|
||||
$db_info = Context::getDBInfo();
|
||||
$db_info->default_url = Context::get('default_url');
|
||||
if($db_info->default_url && !preg_match('/^(http|https):\/\//i', $db_info->default_url)) $db_info->default_url = 'http://'.$db_info->default_url;
|
||||
$db_info->time_zone = $time_zone;
|
||||
$db_info->qmail_compatibility = $qmail_compatibility;
|
||||
$db_info->use_rewrite = $use_rewrite;
|
||||
$db_info->use_optimizer = $use_optimizer;
|
||||
$db_info->lang_type = Context::get('lang_type');
|
||||
$db_info->lang_type = Context::get('change_lang_type');
|
||||
$db_info->use_ssl = $use_ssl;
|
||||
if($http_port)
|
||||
{
|
||||
$db_info->http_port = (int) $http_port;
|
||||
}
|
||||
else if($db_info->http_port)
|
||||
{
|
||||
unset($db_info->http_port);
|
||||
}
|
||||
if($http_port) $db_info->http_port = (int) $http_port;
|
||||
else if($db_info->http_port) unset($db_info->http_port);
|
||||
|
||||
if($https_port)
|
||||
{
|
||||
$db_info->https_port = (int) $https_port;
|
||||
}
|
||||
else if($db_info->https_port)
|
||||
{
|
||||
unset($db_info->https_port);
|
||||
}
|
||||
if($https_port) $db_info->https_port = (int) $https_port;
|
||||
else if($db_info->https_port) unset($db_info->https_port);
|
||||
|
||||
Context::setDBInfo($db_info);
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
// DB와 관련된 변수를 받음
|
||||
$db_info = Context::gets('db_type','db_port','db_hostname','db_userid','db_password','db_database','db_table_prefix','time_zone','use_rewrite');
|
||||
if($db_info->use_rewrite!='Y') $db_info->use_rewrite = 'N';
|
||||
if(!$db_info->default_url) $db_info->default_url = Context::getRequestUri();
|
||||
$db_info->lang_type = Context::getLangType();
|
||||
|
||||
// DB의 타입과 정보를 등록
|
||||
|
|
@ -213,14 +214,13 @@
|
|||
$modules[$xml_info->category][] = $module;
|
||||
}
|
||||
|
||||
// 모듈을 category에 의거 설치 순서를 정함
|
||||
$install_step = array('base','utility','manager','accessory','service','package');
|
||||
|
||||
// module 모듈은 미리 설치
|
||||
$this->installModule('module','./modules/module');
|
||||
$oModule = &getClass('module');
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
|
||||
// 모듈을 category에 의거 설치 순서를 정함
|
||||
$install_step = array('system','content','member');
|
||||
// 나머지 모든 모듈 설치
|
||||
foreach($install_step as $category) {
|
||||
if(count($modules[$category])) {
|
||||
|
|
@ -231,6 +231,22 @@
|
|||
$oModule = &getClass($module);
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
}
|
||||
unset($modules[$category]);
|
||||
}
|
||||
}
|
||||
|
||||
// 나머지 모든 모듈 설치
|
||||
if(count($modules)) {
|
||||
foreach($modules as $category => $module_list) {
|
||||
if(count($module_list)) {
|
||||
foreach($module_list as $module) {
|
||||
if($module == 'module') continue;
|
||||
$this->installModule($module, sprintf('./modules/%s', $module));
|
||||
|
||||
$oModule = &getClass($module);
|
||||
if($oModule->checkUpdate()) $oModule->moduleUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -257,8 +257,8 @@ EndOfLicense;
|
|||
$lang->use_rewrite = 'rewrite mod 사용';
|
||||
$lang->about_rewrite = '웹서버에서 rewrite mod를 지원하면 http://주소/?document_srl=123 같이 복잡한 주소를 http://주소/123과 같이 간단하게 줄일 수 있습니다.';
|
||||
$lang->time_zone = 'time zone';
|
||||
$lang->about_time_zone = '서버의 설정시간과 사용하려는 장소의 시간이 차이가 날 경우 time zone을 지정하시면 표시되는 시간을 지정된 곳의 시간으로 사용하실 수 있습니다';
|
||||
$lang->qmail_compatibility = 'Qmail 호환';
|
||||
$lang->about_time_zone = '서버의 설정시간과 사용하려는 장소의 시간이 차이가 날 경우 time zone을 지정하시면 표시되는 시간을 지정된 곳의 시간으로 사용하실 수 있습니다';
|
||||
$lang->qmail_compatibility = 'Qmail 호환';
|
||||
$lang->about_qmail_compatibility = 'Qmail등 CRLF를 줄 구분자로 인식하지 못하는 MTA에서 메일이 발송되도록 합니다.';
|
||||
|
||||
$lang->about_database_file = 'Sqlite는 파일에 데이터를 저장합니다. 데이터베이스 파일의 위치를 웹에서 접근할 수 없는 곳으로 하셔야 합니다<br/><span style="color:red">데이터 파일은 707퍼미션 설정된 곳으로 지정해주세요.</span>';
|
||||
|
|
@ -271,5 +271,5 @@ EndOfLicense;
|
|||
$lang->msg_dbconnect_failed = "DB접속 오류가 발생하였습니다.\nDB정보를 다시 확인해주세요";
|
||||
$lang->msg_table_is_exists = "이미 DB에 테이블이 생성되어 있습니다.\nconfig파일을 재생성하였습니다";
|
||||
$lang->msg_install_completed = "설치가 완료되었습니다.\n감사합니다";
|
||||
$lang->msg_install_failed = "설치 파일 생성시에 오류가 발생하였습니다.";
|
||||
$lang->msg_install_failed = '설치 파일 생성시에 오류가 발생하였습니다.';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -197,11 +197,11 @@ EndOfLicense;
|
|||
);
|
||||
|
||||
$lang->install_checklist_desc = array(
|
||||
'php_version' => '[必須] 由於 PHP 5.2.2 版本的問題,無法安裝 XE程式。',
|
||||
'permission' => '[必須] XE的資料夾或 ./files資料夾權限必須是『707』。',
|
||||
'xml' => '[必須] 必須要安裝 XML Library,才能夠使用 XML通訊。',
|
||||
'php_version' => '[必須] 由於PHP 5.2.2版本的問題,無法安裝XE程式。',
|
||||
'permission' => '[必須] XE的資料夾或『./files』資料夾權限必須是『707』。',
|
||||
'xml' => '[必須] 必須要安裝『XML Library』,才能夠使用XML通訊。',
|
||||
'session' => '[必須] 在『php.ini』中必須要設定『session.auto_start=0』,才能使用暫存功能',
|
||||
'iconv' => '安裝『iconv』,才能夠使 UTF-8和其他語言文字能互相轉換。',
|
||||
'iconv' => '安裝『iconv』,才能使UTF-8和其他語言文字作互相轉換。',
|
||||
'gd' => '安裝『GD Library』才可以使用圖片轉換功能。',
|
||||
);
|
||||
|
||||
|
|
@ -210,8 +210,8 @@ EndOfLicense;
|
|||
$lang->install_checklist_gd = '安裝 GD Library';
|
||||
$lang->install_without_gd = '尚未安裝負責轉換圖片功能的 GD Library!';
|
||||
$lang->install_checklist_gd = '安裝 GD Library';
|
||||
$lang->install_without_iconv = '尚未安裝負責處理字串的 iconv!';
|
||||
$lang->install_session_auto_start = 'PHP設置中設置成 session.auto_start==1,可能在處理 session時會發生錯誤。';
|
||||
$lang->install_without_iconv = '尚未安裝負責處理字串的『iconv』!';
|
||||
$lang->install_session_auto_start = 'PHP設置中設置成『session.auto_start==1』,可能在處理session時會發生錯誤。';
|
||||
$lang->install_permission_denied = '安裝目錄權限不是『707』!';
|
||||
|
||||
$lang->cmd_agree_license = '同意使用條款';
|
||||
|
|
@ -220,10 +220,10 @@ EndOfLicense;
|
|||
$lang->cmd_ignore = '忽略';
|
||||
|
||||
$lang->db_desc = array(
|
||||
'mysql' => '利用PHP的『mysql*()』函數使用MySQL資料庫。<br />利用『myisam』建立資料庫檔案,因此不能實現 transaction。',
|
||||
'mysql' => '利用PHP的『mysql*()』函數使用MySQL資料庫。<br />利用『myisam』建立資料庫檔案,因此不能實現transaction。',
|
||||
'mysql_innodb' => '利用『innodb』使用 mysql 資料庫。<br />innodb可以使用 transaction。',
|
||||
'sqlite2' => '支援用檔案形式保存數據的『sqlite2』。<br />安裝時,資料庫數據應建立在 web無法訪問的地方。<br />(尚未通過安全測試)',
|
||||
'sqlite3_pdo' => '用 PHP的 PDO支援『sqlite3』。<br />安裝時,資料庫數據應建立在 web無法訪問的地方。',
|
||||
'sqlite3_pdo' => '用 PHP的 PDO支援『sqlite3』。<br />安裝時,資料庫數據應建立在網頁無法訪問的地方。',
|
||||
'cubrid' => '使用 CUBRID DB。',
|
||||
'postgresql' => '使用 PostgreSql DB。',
|
||||
'firebird' => '使用 Firebird DB。',
|
||||
|
|
@ -244,10 +244,10 @@ EndOfLicense;
|
|||
$lang->admin_title = '管理員資料';
|
||||
|
||||
$lang->env_title = '環境設置';
|
||||
$lang->use_optimizer = '使用Optimizer';
|
||||
$lang->about_optimizer = '使用Optimizer可以對大部分的CSS/JS檔案進行整合/壓縮傳送使之加快網站訪問速度。<br />只是有時會發生小小的問題。這時候請暫時不要使用Optimizer。';
|
||||
$lang->use_rewrite = '使用rewrite模組';
|
||||
$lang->about_rewrite = '如主機支援rewrite模組並選擇此項,可以簡化複雜的網址。<br />例如,http://域名/?document_srl=123可簡化成 http://域名/123。';
|
||||
$lang->use_optimizer = 'Optimizer';
|
||||
$lang->about_optimizer = '使用Optimizer可以對大部分的『CSS/JS』檔案進行整合/壓縮傳送使之加快網站訪問速度。<br />只是有時會發生小小的問題。這時候請暫時不要使用Optimizer。';
|
||||
$lang->use_rewrite = 'Rewrite模組';
|
||||
$lang->about_rewrite = '如主機支援rewrite模組並選擇此項,可以簡化複雜的網址。<br />例如,『http://域名/?document_srl=123』可簡化成『http://域名/123』。';
|
||||
$lang->time_zone = '時區';
|
||||
$lang->about_time_zone = '主機時間和您所處的時間有差異時,可以設置時區來滿足你所需要的時間顯示。';
|
||||
$lang->qmail_compatibility = 'Qmail互換';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<h2>{$lang->install_condition_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->install_condition_title}</h2>
|
||||
|
||||
<table cellspacing="0" class="tableType6">
|
||||
<col width="180" /><col />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
|
||||
<h2>{$lang->form_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->form_title}</h2>
|
||||
|
||||
<table cellspacing="0" class="tableType7">
|
||||
<col width="100" />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
|
||||
<h2>{$lang->form_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->form_title}</h2>
|
||||
|
||||
<table cellspacing="0" class="tableType7">
|
||||
<col width="100" />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
|
||||
<h2>{$lang->form_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->form_title}</h2>
|
||||
|
||||
<table cellspacing="0" class="tableType7">
|
||||
<col width="100" />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
|
||||
<h2>{$lang->form_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->form_title}</h2>
|
||||
|
||||
<table cellspacing="0" class="tableType7">
|
||||
<col width="100" />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
|
||||
<h2>{$lang->form_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->form_title}</h2>
|
||||
|
||||
<table cellspacing="0" class="tableType7">
|
||||
<col width="100" />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
|
||||
<h2>{$lang->form_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->form_title}</h2>
|
||||
|
||||
<table cellspacing="0" class="tableType7">
|
||||
<col width="100" />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||
|
||||
<h2>{$lang->form_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->form_title}</h2>
|
||||
|
||||
<table cellspacing="0" class="tableType7">
|
||||
<col width="100" />
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<form action="./" method="post" onsubmit="return doInstallFTPInfo(this);" id="ftp_form">
|
||||
|
||||
<h2>{$lang->ftp_form_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->ftp_form_title}</h2>
|
||||
|
||||
<blockquote>{$lang->about_ftp_info}</blockquote>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--%import("./css/install.css")-->
|
||||
<div id="box">
|
||||
<h1><img src="./images/h1.png" alt="XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||
<h1 class="xeAdmin"><img src="./images/h1.png" alt="XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||
<div id="content">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<h2>{$lang->introduce_title}</h2>
|
||||
<h2 class="xeAdmin">{$lang->introduce_title}</h2>
|
||||
|
||||
<div id="agreement">{nl2br($lang->license)}</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ function completeInstallFTPInfo(ret_obj) {
|
|||
}
|
||||
|
||||
function doCheckFTPInfo() {
|
||||
var fo_obj = xGetElementById("ftp_form");
|
||||
var fo_obj = jQuery("#ftp_form").get(0);
|
||||
var oFilter = new XmlJsFilter(fo_obj, "install", "procInstallCheckFTP", completeInstallCheckFtpInfo);
|
||||
oFilter.addResponseItem("error");
|
||||
oFilter.addResponseItem("message");
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<h2>{$lang->select_db_type}</h2>
|
||||
<h2 class="xeAdmin">{$lang->select_db_type}</h2>
|
||||
|
||||
<form method="post" action="./">
|
||||
<input type="hidden" name="module" value="{$module}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue