AvocadoAmber/AvocadoEdition_Light/adm/_gnb.999.other.menu.php

28 lines
1.2 KiB
PHP
Raw Normal View History

2024-09-21 10:14:04 +09:00
<?php
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-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);