File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%--
Class Name : EgovMenuBndeRegist.jsp
Description : 메뉴프로그램목록 일괄 등록 화면
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2009.03.10 이용 최초 생성
2011.08.31 JJY 경량환경 버전 생성
author : 공통서비스 개발팀 이용
since : 2009.03.10
--%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
/* Image Path 설정 */
String imagePath_icon = "/images/egovframework/sym/mpm/icon";
String imagePath_button = "/images/egovframework/sym/mpm/button/";
%>
<c:url var="ImgUrl" value="/images"/>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<link href="<c:url value='/'/>css/common.css" rel="stylesheet" type="text/css" >
<title>메뉴일괄등록</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
<script language="javascript1.2" type="text/javaScript">
/* ********************************************************
* 메뉴일괄생성처리 함수
******************************************************** */
function insertMenuManage() {
if(confirm("메뉴일괄등록을 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 존재시 삭제 하실 수 없습니다.")){
if(checkFile()){
document.menuManageRegistForm.action ="<c:url value='/sym/mnu/mpm/EgovMenuBndeRegist.do'/>";
document.menuManageRegistForm.submit();
}
}
}
/* ********************************************************
* 메뉴일괄삭제처리 함수
******************************************************** */
function deleteMenuList() {
if(confirm("메뉴일괄삭제를 하시겠습니까?. \n 메뉴정보와 프로그램목록, 프로그램 변경내역 데이타 모두 삭제 삭제처리 됩니다.")){
document.menuManageRegistForm.action ="<c:url value='/sym/mpm/EgovMenuBndeAllDelete.do'/>";
document.menuManageRegistForm.submit();
}
}
/* ********************************************************
* 메뉴일괄등록시 등록파일 체크 함수
******************************************************** */
function checkFile(){
if(document.menuManageRegistForm.file.value==""){
alert("업로드 할 파일을 지정해 주세요");
return false;
}
var str_dotlocation,str_ext,str_low;
str_value = document.menuManageRegistForm.file.value;
str_low = str_value.toLowerCase(str_value);
str_dotlocation = str_low.lastIndexOf(".");
str_ext = str_low.substring(str_dotlocation+1);
switch (str_ext) {
case "xls" :
case "xlsx" :
return true;
break;
default:
alert("파일 형식이 맞지 않습니다.\n xls,XLS,xlsx,XLSX 만\n 업로드가 가능합니다!");
return false;
}
}
</script>
</head>
<body>
<noscript>자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<div id="content" style="margin-left: 210px; margin-top: 87px;">
<div id="cur_loc">
<div id="cur_loc_align">
<ul>
<li>HOME</li>
<li>></li>
<li>내부시스템관리</li>
<li>></li>
<li>메뉴관리</li>
<li>></li>
<li><strong>메뉴목록관리</strong></li>
</ul>
</div>
</div>
<!-- 검색 필드 박스 시작 -->
<div id="search_field">
<div id="search_field_loc"><h2><strong>메뉴일괄등록</strong></h2></div>
</div>
<form name="menuManageRegistForm" action ="<c:url value='/sym/mpm/EgovMenuBndeRegist.do'/>" method="post" enctype="multipart/form-data">
<input type="submit" id="invisible" class="invisible"/>
<div class="modify_user" >
<table summary="메뉴일괄등록">
<tr>
<th width="20%" height="23" class="required_text" scope="row"><label for="file">일괄파일</label>
<img src="${ImgUrl}/required.gif" width="15" height="15" alt="필수"></th>
<td width="80%" nowrap="nowrap">
<input type = "file" id="file" name="file" size="40" title="일괄파일"/>
</td>
</tr>
</table>
</div>
<!-- 버튼 시작(상세지정 style로 div에 지정) -->
<div class="buttons" style="padding-top:10px;padding-bottom:10px;">
<!-- 목록/저장버튼 -->
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<a href="<c:url value='/sym/mnu/mpm/EgovMenuManageSelect.do'/>">목록</a>
</td>
<td>
<a href="#LINK" onclick="javascript:insertMenuManage(); return false;">일괄등록</a>
</td>
</tr>
</table>
</div>
<!-- 버튼 끝 -->
<!-- 검색조건 유지 -->
<input name="cmd" type="hidden" value="<c:out value='bndeInsert'/>"/>
<!-- 검색조건 유지 -->
</form>
</div>
<!-- //content 끝 -->
</body>
</html>