-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdefault_menu.php
62 lines (55 loc) · 3.12 KB
/
default_menu.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
/*
* default_menu.php
* atdt01410 - The Web interface mimics virtual terminal environment
* Copyright (C) 2003, 2004 SPLUG, Soongsil university, Republic of Korea
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// 이곳에 등록된 메뉴는 페이지 로딩시 자동으로 등록된다.
// 이곳에 메뉴가 너무 많으면 페이지 로딩이 느려진다.
// 그럴땐, default_shell.php 파일을 이용.
// 명령어
$MENU->ADD( "GO", "GO", "javascript:message('aa'')", "바로가기" );
$MENU->ADD( "T", "초기화면", "{$SETUP["URL"]}", "초기화면" );
$MENU->ADD( "ㅅ", "초기화면", "{$SETUP["URL"]}", "초기화면" );
$MENU->ADD( "H", "도움말", "{$SETUP["URL"]}/menu/help.php", "도움말" );
$MENU->ADD( "ㅗ", "도움말", "{$SETUP["URL"]}/menu/help.php", "도움말" );
$MENU->ADD( "Z", "새로고침", "javascript:document.location=document.location;", "새로고침" );
$MENU->ADD( "ㅋ", "새로고침", "javascript:document.location=document.location;", "새로고침" );
$MENU->ADD( "AR","자동새로고침", "javascript:toggle_auto_refresh();", "자동새로고침" );
$MENU->ADD( "ㅁㄱ","자동새로고침", "javascript:toggle_auto_refresh();", "자동새로고침" );
$MENU->ADD( "DRAG", "드래그 가능/불가능", "javascript:toggle_auto_focus();", "드래그 가능/불가능" );
$MENU->ADD( "ㅇㄱㅁㅎ", "드래그 가능/불가능", "javascript:toggle_auto_focus();", "드래그 가능/불가능" );
$MENU->ADD( "X", "종료", "javascript:window.close();", "01410 종료" );
// 메뉴
$MENU->ADD( "NETPLAZA", "네티즌광장", "{$SETUP["URL"]}/menu/netplaza/", "네티즌광장" );
$MENU->ADD( "PLAZA", "큰마을", "{$SETUP["URL"]}/menu/netplaza/plaza.php", "큰마을" );
$MENU->ADD( "HUMOR", "웃긴게시판", "{$SETUP["URL"]}/menu/netplaza/humor.php", "웃긴게시판" );
$MENU->ADD( "SIG", "동호회", "{$SETUP["URL"]}/menu/forum/", "동호회" );
$MENU->ADD( "FORUM", "동호회", "{$SETUP["URL"]}/menu/forum/", "동호회" );
$MENU->ADD( "SYSOP", "관리자메뉴", "{$SETUP["URL"]}/sysop/", "관리자메뉴" );
$MENU->ADD( "DEVELOP", "개발실", "{$SETUP["URL"]}/menu/develop/", "01410 개발실" );
$MENU->ADD( "CONFIG", "설정", "{$SETUP["URL"]}/menu/config/", "설정" );
$MENU->ADD( "MYSTERY", "불가사의", "{$SETUP["URL"]}/menu/netplaza/mystery.php", "불가사의" );
$MENU->ADD( "SPORTS", "스포츠", "{$SETUP["URL"]}/menu/netplaza/sports.php", "스포츠" );
$MENU->ADD( "CHAT", "대화방", "http://dev3.stis.co.kr/TelnetChat/view.html", "대화방" );
// 바닥메뉴 보기 SETUP
$MENU->EDIT( "GO", "BOTTOM", true );
$MENU->EDIT( "T", "BOTTOM", true );
$MENU->EDIT( "Z", "BOTTOM", true );
$MENU->EDIT( "AR","BOTTOM", true );
$MENU->EDIT( "DRAG","BOTTOM", true );
$MENU->EDIT( "X", "BOTTOM", true );
?>