php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
@ -31,6 +31,7 @@ $g5['title'] = "메뉴설정";
|
||||
include_once('./admin.head.php');
|
||||
|
||||
$colspan = 7;
|
||||
$sub_menu_info = '';
|
||||
?>
|
||||
|
||||
<div class="local_desc01 local_desc">
|
||||
@ -143,14 +144,14 @@ $(function() {
|
||||
return false;
|
||||
|
||||
var $tr = $(this).closest("tr");
|
||||
if($tr.find("td.sub_menu_class").size() > 0) {
|
||||
if($tr.find("td.sub_menu_class").length > 0) {
|
||||
$tr.remove();
|
||||
} else {
|
||||
var code = $(this).closest("tr").find("input[name='code[]']").val().substr(0, 2);
|
||||
$("tr.menu_group_"+code).remove();
|
||||
}
|
||||
|
||||
if($("#menulist tr.menu_list").size() < 1) {
|
||||
if($("#menulist tr.menu_list").length < 1) {
|
||||
var list = "<tr id=\"empty_menu_list\"><td colspan=\"<?php echo $colspan; ?>\" class=\"empty_table\">자료가 없습니다.</td></tr>\n";
|
||||
$("#menulist table tbody").append(list);
|
||||
} else {
|
||||
@ -215,5 +216,4 @@ function fmenulist_submit(f)
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once ('./admin.tail.php');
|
||||
?>
|
||||
include_once ('./admin.tail.php');
|
||||
Reference in New Issue
Block a user