Skip to content

Commit 954503c

Browse files
author
ditto
committed
MetaBBS 정보 및 코드 생성기 추가
1 parent f8ede7b commit 954503c

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

metabbs/app/controllers/admin/info.php

Whitespace-only changes.

metabbs/app/views/admin/info.php

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<h2>정보</h2>
2+
<dl>
3+
<dt>버전</dt>
4+
<dd>MetaBBS <?=METABBS_VERSION?></dd>
5+
6+
<dt>데이터베이스 리비전</dt>
7+
<dd>r<?=$config->get('revision')?></dd>
8+
9+
<dt>설치한 때</dt>
10+
<dd><?=date('Y-m-d H:i:s', filectime('.htaccess'))?></dd>
11+
</dl>
12+
13+
<h2>코드 생성</h2>
14+
<pre class="code">&lt;?php
15+
@define("METABBS_BASE_PATH",&nbsp;"<?=METABBS_BASE_PATH?>");
16+
@define("METABBS_BASE_URI",&nbsp;"<?=METABBS_BASE_URI?>");
17+
require_once('<?=str_replace("\\", "/", METABBS_DIR)?>/site_manager.php');
18+
?&gt;</pre>

metabbs/elements/admin_header.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<?=link_to(i('Settings'), 'admin', 'settings')?> |
1616
<?=link_to(i('Plugins'), 'admin', 'plugins')?> |
1717
<?=link_to(i('Maintenance'), 'admin', 'maintenance')?> |
18+
<?=link_to(i('Information'), 'admin', 'info')?> |
1819
<? foreach ($__admin_menu as $item) echo $item . ' | '; ?>
1920
<a href="<?=url_with_referer_for('account', 'logout')?>"><?=i('Logout')?> &raquo;</a></p>
2021
</div>

metabbs/lang/ko.php

+1
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,4 @@
143143
Please login to access this page.=이 페이지에 접근하려면 로그인 하세요.
144144
Maintenance=유지 보수
145145
Site theme=사이트 테마
146+
Information=정보

0 commit comments

Comments
 (0)