2024-09-21 10:14:04 +09:00
|
|
|
<?php
|
2024-09-21 10:21:40 +09:00
|
|
|
if (!defined('_GNUBOARD_'))
|
|
|
|
|
exit;
|
2024-10-04 23:34:30 +09:00
|
|
|
/**
|
|
|
|
|
* 메뉴 추가가 필요한 경우 파일을 직접 수정하지 않고
|
|
|
|
|
* 파일 추가 후 변수 호출을 통해 사용하세요
|
2024-10-07 10:35:20 +09:00
|
|
|
* 파일명은 {구분명}.menu.php 와 같이 작성하고 구분명에는 영문자 등 파일 이름에 가능한 문자열을 모두 허용합니다.
|
|
|
|
|
*
|
|
|
|
|
* 코드 작성예시:
|
|
|
|
|
<?php
|
2024-10-04 23:34:30 +09:00
|
|
|
if (!defined('_GNUBOARD_'))
|
|
|
|
|
exit;
|
|
|
|
|
|
|
|
|
|
if (!isset($menu["other"])) {
|
|
|
|
|
$menu["other"] = new MenuCategory("other", "other", "기타관리", "/config_form.php", true, 99, "", 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$menu["other"]->addChildMenu("other", "커스텀메뉴", G5_ADMIN_URL . "/{your_file_name}.php", true, 1, "{bootstrap icon css code}", 0);
|
2024-10-07 10:35:20 +09:00
|
|
|
$menu["other"]->getLastAddedMenu()->addSubFile("/{your_subfile_name}.php");
|
2024-10-04 23:34:30 +09:00
|
|
|
*/
|
2024-09-21 10:21:40 +09:00
|
|
|
|
2024-10-04 23:34:30 +09:00
|
|
|
if (!isset($menu["other"])) {
|
2024-10-07 10:35:20 +09:00
|
|
|
$menu["other"] = new MenuCategory("other", "other", "기타관리", "/config_form.php", true, 1000, "", 0);
|
2024-10-04 23:34:30 +09:00
|
|
|
}
|
2024-09-21 10:14:04 +09:00
|
|
|
|
2024-10-07 10:35:20 +09:00
|
|
|
$menu["other"]->addChildMenu("other", "세션파일 일괄삭제", G5_ADMIN_URL . "/session_file_delete.php", true, 0, "\F8C3", 0);
|
|
|
|
|
$menu["other"]->addChildMenu("other", "캐시파일 일괄삭제", G5_ADMIN_URL . "/cache_file_delete.php", true, 100, "\F8C3", 0);
|