mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#43 이미지 제거 및 설명 추가.
This commit is contained in:
parent
054dc852e2
commit
5446b6480e
5 changed files with 7 additions and 13 deletions
|
|
@ -223,12 +223,10 @@ class Context
|
|||
if(!in_array($_SERVER['REMOTE_ADDR'], $whitelist)) {
|
||||
$title = ($context->db_info->sitelock_title) ? $context->db_info->sitelock_title : 'Maintenance in progress...';
|
||||
$message = $context->db_info->sitelock_message;
|
||||
$image = './modules/admin/tpl/img/xe.h1.png';
|
||||
|
||||
define('_XE_SITELOCK_', TRUE);
|
||||
define('_XE_SITELOCK_TITLE_', $title);
|
||||
define('_XE_SITELOCK_MESSAGE_', nl2br($message));
|
||||
define('_XE_SITELOCK_IMAGE_', $image);
|
||||
define('_XE_SITELOCK_MESSAGE_', $message);
|
||||
|
||||
header('403 Forbidden');
|
||||
include _XE_PATH_ . 'common/tpl/sitelock.html';
|
||||
|
|
|
|||
|
|
@ -20,22 +20,15 @@
|
|||
position: relative;
|
||||
max-width: 500px;
|
||||
margin: 100px auto 0 auto;
|
||||
padding: 0 0 0 70px;
|
||||
overflow: hidden;
|
||||
}
|
||||
div {
|
||||
height: 100%;
|
||||
border-left: 1px dotted #CCC;
|
||||
padding: 0 0 0 15px;
|
||||
}
|
||||
p {
|
||||
line-height: 1.5;
|
||||
color: #666;
|
||||
}
|
||||
div img {
|
||||
float:left;
|
||||
margin-left: -65px;
|
||||
}
|
||||
@media only all and (max-width: 480px) {
|
||||
section {
|
||||
margin-top: 20px;
|
||||
|
|
@ -47,7 +40,6 @@
|
|||
<body>
|
||||
<section>
|
||||
<div>
|
||||
<img src="<?php echo _XE_SITELOCK_IMAGE_?>" alt="" />
|
||||
<h1><?php echo _XE_SITELOCK_TITLE_?></h1>
|
||||
<p><?php echo _XE_SITELOCK_MESSAGE_?> </p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -418,7 +418,7 @@ class adminAdminView extends admin
|
|||
Context::set('remote_addr', $_SERVER['REMOTE_ADDR']);
|
||||
Context::set('use_sitelock', $db_info->use_sitelock);
|
||||
Context::set('sitelock_title', $db_info->sitelock_title);
|
||||
Context::set('sitelock_message', $db_info->sitelock_message);
|
||||
Context::set('sitelock_message', htmlspecialchars($db_info->sitelock_message, ENT_COMPAT | ENT_HTML401, 'UTF-8', false));
|
||||
Context::set('sitelock_whitelist', implode(PHP_EOL, $db_info->sitelock_whitelist));
|
||||
|
||||
Context::set('lang_selected', Context::loadLangSelected());
|
||||
|
|
|
|||
|
|
@ -1516,8 +1516,11 @@
|
|||
<item name="sitelock_message">
|
||||
<value xml:lang="ko"><![CDATA[안내문 내용]]></value>
|
||||
</item>
|
||||
<item name="sitelock_message_help">
|
||||
<value xml:lang="ko"><![CDATA[HTML 태그를 사용할 수 있습니다.]]></value>
|
||||
</item>
|
||||
<item name="sitelock_warning_whitelist">
|
||||
<value xml:lang="ko"><![CDATA[이곳에 관리자의 IP가 반드시 포함되어야 합니다.<br>만약 접근이 차단된 경우 './files/config/db.config.php' 파일에서 `$db_info->use_sitelock`를 'N'으로 변경하여 차단을 해제할 수 있습니다.]]></value>
|
||||
<value xml:lang="ko"><![CDATA[이곳에 관리자의 IP를 반드시 포함해야 합니다.<br>만약 접근이 차단된 경우 './files/config/db.config.php' 파일에서 `$db_info->use_sitelock`를 'N'으로 변경하여 차단을 해제할 수 있습니다.]]></value>
|
||||
</item>
|
||||
<item name="your_ip">
|
||||
<value xml:lang="ko"><![CDATA[접속하신 IP]]></value>
|
||||
|
|
|
|||
|
|
@ -234,6 +234,7 @@
|
|||
<label class="x_control-label" for="sitelock_message">{$lang->sitelock_message}</label>
|
||||
<div class="x_controls" style="margin-right:14px">
|
||||
<textarea name="sitelock_message" id="sitelock_message" rows="4" cols="42" style="width:100%;">{$sitelock_message}</textarea>
|
||||
<span class="x_help-block">{$lang->sitelock_message_help}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue