update
This commit is contained in:
parent
565b889cd4
commit
058f22c35b
7 changed files with 109 additions and 58 deletions
|
|
@ -420,10 +420,10 @@ if (file_exists($dbconfig_file)) {
|
||||||
<link rel="stylesheet" href="install/install.css">
|
<link rel="stylesheet" href="install/install.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="ins_bar">
|
<?php
|
||||||
<span id="bar_img">AVOCADO EDITION</span>
|
$RIGHT_MESSAGE = "Message";
|
||||||
<span id="bar_txt">Message</span>
|
include_once "./install/install_header.php";
|
||||||
</div>
|
?>
|
||||||
<h1>아보카도 에디션을 먼저 설치해주십시오.</h1>
|
<h1>아보카도 에디션을 먼저 설치해주십시오.</h1>
|
||||||
<div class="ins_inner">
|
<div class="ins_inner">
|
||||||
<p>다음 파일을 찾을 수 없습니다.</p>
|
<p>다음 파일을 찾을 수 없습니다.</p>
|
||||||
|
|
@ -462,10 +462,10 @@ if (!defined('G5_IS_ADMIN')) {
|
||||||
<link rel="stylesheet" href="<?= G5_URL ?>/install/install.css">
|
<link rel="stylesheet" href="<?= G5_URL ?>/install/install.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="ins_bar">
|
<?php
|
||||||
<span id="bar_img">AVOCADO EDITION</span>
|
$RIGHT_MESSAGE = "Message";
|
||||||
<span id="bar_txt">Message</span>
|
include_once "./install/install_header.php";
|
||||||
</div>
|
?>
|
||||||
<h1>아보카도 에디션 설정을 완료해주십시오.</h1>
|
<h1>아보카도 에디션 설정을 완료해주십시오.</h1>
|
||||||
<br />
|
<br />
|
||||||
<div class="ins_inner">
|
<div class="ins_inner">
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
include_once "../config.php";
|
include_once "../config.php";
|
||||||
|
|
||||||
$theme_1 = "#BEBE8E";
|
$theme_1 = "#ecc6c6";
|
||||||
$theme_2 = "#7F7F5F";
|
$theme_2 = "#e8b0ae";
|
||||||
$theme_3 = "#7C7C4C";
|
$theme_3 = "#d6817e";
|
||||||
|
|
||||||
$theme_4 = "#b0c4de";
|
$theme_4 = "#b0c4de";
|
||||||
$theme_5 = "#727F99";
|
$theme_5 = "#88a9db";
|
||||||
$theme_6 = "#7488B2";
|
$theme_6 = "#779bdb";
|
||||||
|
|
||||||
$title = G5_VERSION . " 라이센스 확인 1/3";
|
$title = G5_VERSION . " 라이센스 확인 1/3";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,23 @@
|
||||||
@charset "utf-8";
|
@charset "utf-8";
|
||||||
/* SIR 지운아빠 */
|
:root {
|
||||||
|
--bg-color: #181926;
|
||||||
|
--text-color: #CAD3F5;
|
||||||
|
--accent-color: #ffbf00;
|
||||||
|
--border-color: #6E738D;
|
||||||
|
--button-bg-color: #ffbf00;
|
||||||
|
--button-bg-hover-color: #CAD3F5;
|
||||||
|
--button-text-color: #000;
|
||||||
|
--header-bg-color: #24273A;
|
||||||
|
}
|
||||||
|
|
||||||
/* 공통 */
|
/* 공통 */
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: url('img/pat01.png') #edf0f4;
|
background: var(--bg-color);
|
||||||
|
color: var(--text-color);
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
||||||
font-size: 0.75em;
|
font-size: 0.75em;
|
||||||
font-family: dotum, helvetica
|
font-family: dotum, helvetica
|
||||||
}
|
}
|
||||||
|
|
@ -25,8 +37,8 @@ label {
|
||||||
#ins_bar {
|
#ins_bar {
|
||||||
margin: 0 0 50px;
|
margin: 0 0 50px;
|
||||||
padding: 20px 30px;
|
padding: 20px 30px;
|
||||||
background: #383838;
|
background: var(--header-bg-color);
|
||||||
color: #a1a4a7;
|
color: var(--text-color);
|
||||||
font-family: tahoma, helvetica;
|
font-family: tahoma, helvetica;
|
||||||
font-size: 1.500em;
|
font-size: 1.500em;
|
||||||
zoom: 1
|
zoom: 1
|
||||||
|
|
@ -56,9 +68,9 @@ h1 {
|
||||||
.ins_inner {
|
.ins_inner {
|
||||||
margin: 0 30px 50px;
|
margin: 0 30px 50px;
|
||||||
padding: 20px 30px;
|
padding: 20px 30px;
|
||||||
border-right: 1px solid #dde4e9;
|
border: 1px solid var(--border-color);
|
||||||
border-bottom: 1px solid #dde4e9;
|
border-radius: 4px;
|
||||||
background: #fff
|
background: transparent
|
||||||
}
|
}
|
||||||
|
|
||||||
.ins_inner ul {
|
.ins_inner ul {
|
||||||
|
|
@ -76,7 +88,8 @@ h1 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ins_inner p strong {
|
.ins_inner p strong {
|
||||||
color: red
|
font-size: 1.5em;
|
||||||
|
color: var(--accent-color)
|
||||||
}
|
}
|
||||||
|
|
||||||
.ins_inner .inner_btn {
|
.ins_inner .inner_btn {
|
||||||
|
|
@ -88,11 +101,32 @@ h1 {
|
||||||
.ins_inner .inner_btn input {
|
.ins_inner .inner_btn input {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
background: #BEBE8E;
|
background: var(--button-bg-color);
|
||||||
color: #fff;
|
color: var(--button-text-color);
|
||||||
|
border-radius: 4px;
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ins_inner .inner_btn a:hover,
|
||||||
|
.ins_inner .inner_btn input:hover,
|
||||||
|
.ins_inner .inner_btn button:hover {
|
||||||
|
background: var(--button-bg-hover-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ins_inner pre {
|
||||||
|
font-size: 12px;
|
||||||
|
margin: 10px 0;
|
||||||
|
padding: 10px;
|
||||||
|
overflow: auto
|
||||||
|
}
|
||||||
|
|
||||||
|
.ins_inner pre::before {
|
||||||
|
content: "[AvocadoAmber ~] ";
|
||||||
|
display: inline;
|
||||||
|
height: 0;
|
||||||
|
overflow: hidden
|
||||||
|
}
|
||||||
|
|
||||||
.ins_inner .inner_btn input {
|
.ins_inner .inner_btn input {
|
||||||
border: 0;
|
border: 0;
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
|
|
@ -114,13 +148,12 @@ h1 {
|
||||||
.ins_frm th,
|
.ins_frm th,
|
||||||
.ins_frm td {
|
.ins_frm td {
|
||||||
padding: 5px 3px;
|
padding: 5px 3px;
|
||||||
border-top: 1px solid #dde4e9;
|
border: 1px solid var(--border-color);
|
||||||
border-bottom: 1px solid #dde4e9
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ins_frm th {
|
.ins_frm th {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
background: #f2f5f9
|
background: var(--header-bg-color)
|
||||||
}
|
}
|
||||||
|
|
||||||
.ins_frm td span {
|
.ins_frm td span {
|
||||||
|
|
@ -130,9 +163,18 @@ h1 {
|
||||||
letter-spacing: -0.1em
|
letter-spacing: -0.1em
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ins_frm input {
|
||||||
|
background: transparent;
|
||||||
|
padding: 4px 8px;
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
color: var(--text-color);
|
||||||
|
font-size: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
.ins_ta {
|
.ins_ta {
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
border: 1px solid #dde4e9;
|
border: 1px solid var(--border-color);
|
||||||
|
border-radius: 4px;
|
||||||
text-align: center
|
text-align: center
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -141,11 +183,13 @@ h1 {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 99%;
|
width: 99%;
|
||||||
height: 250px;
|
height: 250px;
|
||||||
|
color: var(--text-color);
|
||||||
background: transparent
|
background: transparent
|
||||||
}
|
}
|
||||||
|
|
||||||
.ins_license {
|
.ins_license {
|
||||||
background: #f2f5f9
|
background: var(--bg-color);
|
||||||
|
color: var(--text-color)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ins_ft {
|
#ins_ft {
|
||||||
|
|
@ -168,8 +212,8 @@ h1 {
|
||||||
/* extra */
|
/* extra */
|
||||||
pre {
|
pre {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background: #0d1117;
|
background: var(--bg-color);
|
||||||
color: #f0f6fc;
|
color: var(--text-color);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
user-select: all;
|
user-select: all;
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,7 @@ if (!$title)
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<?php include_once "./install_header.php"; ?>
|
||||||
<div id="ins_bar">
|
|
||||||
<span id="bar_img">AVOCADO EDITION</span>
|
|
||||||
<span id="bar_txt">INSTALLATION</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// 파일이 존재한다면 설치할 수 없다.
|
// 파일이 존재한다면 설치할 수 없다.
|
||||||
$dbconfig_file = $data_path . '/' . G5_DBCONFIG_FILE;
|
$dbconfig_file = $data_path . '/' . G5_DBCONFIG_FILE;
|
||||||
|
|
@ -70,27 +65,33 @@ if (!$title)
|
||||||
?>
|
?>
|
||||||
<div class="ins_inner">
|
<div class="ins_inner">
|
||||||
<p>
|
<p>
|
||||||
<b><?php echo G5_DATA_DIR ?> 디렉토리의 퍼미션을 705로 변경하여 주십시오.</b><br>
|
<?php echo G5_DATA_DIR ?> 디렉토리의 퍼미션을 705로 변경하여 주십시오.<br>
|
||||||
<pre>#> chmod 705 <?php echo G5_DATA_DIR ?></pre>
|
아래 내용을 클릭하면 명령어가 전체 선택됩니다.<br>
|
||||||
또는<br>
|
<pre>chmod 705 <?php echo G5_DATA_DIR ?></pre>
|
||||||
<pre>#> chmod uo+rx <?php echo G5_DATA_DIR ?></pre><br>
|
또는<br>
|
||||||
위 명령 실행후 브라우저를 새로고침 하십시오.
|
<pre>chmod uo+rx <?php echo G5_DATA_DIR ?></pre><br>
|
||||||
|
위 명령 실행후 브라우저를 새로고침 하십시오.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
$write_data_dir = false;
|
$write_data_dir = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// 생성 시도 후 권한이 없으면 안내
|
||||||
|
if (!file_exists($data_path)) {
|
||||||
|
@mkdir($data_path, G5_DIR_PERMISSION);
|
||||||
|
}
|
||||||
|
|
||||||
if (!(is_readable($data_path) && is_writeable($data_path) && is_executable($data_path))) {
|
if (!(is_readable($data_path) && is_writeable($data_path) && is_executable($data_path))) {
|
||||||
?>
|
?>
|
||||||
<div class="ins_inner">
|
<div class="ins_inner">
|
||||||
<p>
|
<p>
|
||||||
<b><?php echo G5_DATA_DIR ?> 디렉토리의 퍼미션을 707로 변경하여 주십시오.</b><br>
|
<?php echo G5_DATA_DIR ?> 디렉토리의 퍼미션을 707로 변경하여 주십시오.<br>
|
||||||
<pre>#> chmod 707 <?php echo G5_DATA_DIR ?></pre>
|
아래 내용을 클릭하면 명령어가 전체 선택됩니다.<br>
|
||||||
또는<br>
|
<pre>chmod 707 <?php echo G5_DATA_DIR ?></pre>
|
||||||
<pre>#> chmod uo+rwx <?php echo G5_DATA_DIR ?></pre><br>
|
또는<br>
|
||||||
위 명령 실행후 브라우저를 새로고침 하십시오.
|
<pre>chmod uo+rwx <?php echo G5_DATA_DIR ?></pre><br>
|
||||||
|
위 명령 실행후 브라우저를 새로고침 하십시오.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -101,11 +102,12 @@ if (!$title)
|
||||||
?>
|
?>
|
||||||
<div class="ins_inner">
|
<div class="ins_inner">
|
||||||
<p>
|
<p>
|
||||||
<b><?php echo G5_CSS_DIR ?> 디렉토리의 퍼미션을 707로 변경하여 주십시오.</b><br>
|
<?php echo G5_CSS_DIR ?> 디렉토리의 퍼미션을 707로 변경하여 주십시오.<br>
|
||||||
<pre>#> chmod 707 <?php echo G5_CSS_DIR ?></pre>
|
아래 내용을 클릭하면 명령어가 전체 선택됩니다.<br>
|
||||||
또는<br>
|
<pre>chmod 707 <?php echo G5_CSS_DIR ?></pre>
|
||||||
<pre>#> chmod uo+rwx <?php echo G5_CSS_DIR ?></pre><br>
|
또는<br>
|
||||||
위 명령 실행후 브라우저를 새로고침 하십시오.
|
<pre>chmod uo+rwx <?php echo G5_CSS_DIR ?></pre><br>
|
||||||
|
위 명령 실행후 브라우저를 새로고침 하십시오.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
?><div id="ins_ft">
|
?><div id="ins_ft">
|
||||||
<strong>AVOCADO EDITION</strong>
|
<strong>AVOCADO EDITION: AMBER</strong>
|
||||||
<p>GPL! OPEN SOURCE GNUBOARD</p>
|
<p>GPL! OPEN SOURCE GNUBOARD</p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ if (!isset($_POST['agree']) || $_POST['agree'] != '동의함') {
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<strong class="st_strong">주의! 이미 <?php echo G5_VERSION ?>이 존재한다면 DB 자료가 망실되므로 주의하십시오.</strong><br>
|
<strong class="st_strong">이미 <?php echo G5_VERSION ?>를 설치한 경우, 재설치 시 기존 데이터베이스를 잃어버리므로 주의해 주시기 바랍니다!</strong><br>
|
||||||
주의사항을 이해했으며, 아보카도 에디션 설치를 계속 진행하시려면 다음을 누르십시오.
|
주의사항을 이해했으며, 아보카도 에디션 설치를 계속 진행하시려면 다음을 누르십시오.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
|
||||||
5
AvocadoAmber/install/install_header.php
Normal file
5
AvocadoAmber/install/install_header.php
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
if (!$RIGHT_MESSAGE) {
|
||||||
|
$RIGHT_MESSAGE = "INSTALLATION";
|
||||||
|
}
|
||||||
|
?><div id="ins_bar"><span id="bar_img">AVOCADO EDITION: AMBER</span><span id="bar_txt"><?php echo $RIGHT_MESSAGE ?></span></div>
|
||||||
Loading…
Reference in a new issue