Changeset 3462304
- Timestamp:
- 02/16/2026 08:42:07 AM (2 days ago)
- Location:
- youelblocks/trunk
- Files:
-
- 5 edited
-
assets/css/board-block.css (modified) (1 diff)
-
assets/js/block-frontend.js (modified) (1 diff)
-
includes/class-youelblocks-admin-ajax.php (modified) (1 diff)
-
youel-block-manager.php (modified) (1 diff)
-
youelblocks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
youelblocks/trunk/assets/css/board-block.css
r3462227 r3462304 203 203 } 204 204 205 /* 제목 열 60%, 나머지 열들 40% 분배*/205 /* 제목 열 50%, 나머지 열들 합 50% */ 206 206 .board-posts-table th.board-col-title, 207 207 .board-posts-table td.board-post-title-cell { 208 width: 60%;208 width: 50%; 209 209 } 210 210 -
youelblocks/trunk/assets/js/block-frontend.js
r3462227 r3462304 660 660 } 661 661 662 // 게시글 목록 (테이블 형태) 663 // 조회수, 좋아요, 댓글수 열은 각각 활성화된 경우만 표시 664 /* 제목 60%, 나머지 열들 40% (고정폭 열은 %로 분배) */ 662 // 게시글 목록 (테이블 형태) — 제목 50%, 나머지 열 합 50% 665 663 var tableHeader = 666 '<table class="board-posts-table"><thead><tr><th style="width: 2%;"><input type="checkbox" class="board-select-all"></th><th style="width: 4%;">번호</th><th class="board-col-title" style="width: 60%;">제목</th><th style="width: 7%;">작성자</th><th style="width: 7%;">날짜</th>';664 '<table class="board-posts-table"><thead><tr><th style="width: 2%;"><input type="checkbox" class="board-select-all"></th><th style="width: 5%;">번호</th><th class="board-col-title" style="width: 50%;">제목</th><th style="width: 7%;">작성자</th><th style="width: 7%;">날짜</th>'; 667 665 if (enableAttachments) { 668 tableHeader += '<th style="width: 3%;" title="첨부파일">첨부</th>';666 tableHeader += '<th style="width: 5%;" title="첨부파일">첨부</th>'; 669 667 } 670 668 if (enableViews) { 671 tableHeader += '<th style="width: 3%;">조회</th>';669 tableHeader += '<th style="width: 5%;">조회</th>'; 672 670 } 673 671 if (enableLikes) { 674 tableHeader += '<th style="width: 3%;">좋아요</th>';672 tableHeader += '<th style="width: 5%;">좋아요</th>'; 675 673 } 676 674 if (enableComments) { 677 tableHeader += '<th style="width: 3%;">댓글</th>';675 tableHeader += '<th style="width: 5%;">댓글</th>'; 678 676 } 679 677 if (userPermission === "edit-only" || userPermission === "full-control") { 680 tableHeader += '<th style="width: 7%;">관리</th>';678 tableHeader += '<th style="width: 8%;">관리</th>'; 681 679 } 682 680 tableHeader += "</tr></thead><tbody></tbody></table>"; -
youelblocks/trunk/includes/class-youelblocks-admin-ajax.php
r3462227 r3462304 4734 4734 */ 4735 4735 public function ajax_upload_board_attachment() { 4736 if (!YOUELBLOCKS_Utils::verify_nonce( 4737 isset($_POST['nonce']) ? sanitize_text_field(wp_unslash($_POST['nonce'])) : '', 4738 YOUELBLOCKS_NONCE_BLOCK_EDITOR 4739 )) { 4736 $nonce = isset($_POST['nonce']) ? sanitize_text_field(wp_unslash($_POST['nonce'])) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce read only for verify_nonce() 4737 if (!YOUELBLOCKS_Utils::verify_nonce($nonce, YOUELBLOCKS_NONCE_BLOCK_EDITOR)) { 4740 4738 wp_send_json_error(array('message' => '보안 검증 실패')); 4741 4739 return; 4742 4740 } 4743 if (!isset($_FILES['file']) || empty($_FILES['file']['name'])) { 4741 if (!isset($_FILES['file']) || empty($_FILES['file']['name'])) { // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce verified above 4744 4742 wp_send_json_error(array('message' => '파일이 없습니다.')); 4745 4743 return; 4746 4744 } 4747 $file = $_FILES['file']; 4745 $file = $_FILES['file']; // phpcs:ignore WordPress.Security.NonceVerification.Missing,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Nonce verified above; file validated in handle_file_upload() 4748 4746 if ($file['error'] !== UPLOAD_ERR_OK) { 4749 4747 wp_send_json_error(array('message' => '파일 업로드 오류: ' . $this->get_upload_error_message($file['error']))); -
youelblocks/trunk/youel-block-manager.php
r3462227 r3462304 17 17 18 18 // 플러그인 버전 정의 19 define('YOUELBLOCKS_VERSION', '1.0. 0');19 define('YOUELBLOCKS_VERSION', '1.0.1'); 20 20 21 21 // 디버깅 모드 (개발 중에만 true로 설정) -
youelblocks/trunk/youelblocks.php
r3450738 r3462304 4 4 * Plugin URI: https://youelblocks.co.kr 5 5 * Description: Create and manage custom forms with the WordPress block editor. YOUELBLOCKS stores submissions safely in the WordPress database and provides powerful tools for viewing, exporting, and analyzing form data. 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: YOUELBLOCKS Team 8 8 * License: GPL v2 or later
Note: See TracChangeset
for help on using the changeset viewer.