Plugin Directory

Changeset 3462304


Ignore:
Timestamp:
02/16/2026 08:42:07 AM (2 days ago)
Author:
mosksmin
Message:

ver 1.0.1

블록 수정

  1. 수식블록 미리보기 개선
  1. 게시판블록

카데고리, 태그, 첨부파일 게시판 디스플레이 개선

Location:
youelblocks/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • youelblocks/trunk/assets/css/board-block.css

    r3462227 r3462304  
    203203}
    204204
    205 /* 제목 열 60%, 나머지 열들 40% 분배 */
     205/* 제목 열 50%, 나머지 열들 합 50% */
    206206.board-posts-table th.board-col-title,
    207207.board-posts-table td.board-post-title-cell {
    208   width: 60%;
     208  width: 50%;
    209209}
    210210
  • youelblocks/trunk/assets/js/block-frontend.js

    r3462227 r3462304  
    660660    }
    661661
    662     // 게시글 목록 (테이블 형태)
    663     // 조회수, 좋아요, 댓글수 열은 각각 활성화된 경우만 표시
    664     /* 제목 60%, 나머지 열들 40% (고정폭 열은 %로 분배) */
     662    // 게시글 목록 (테이블 형태) — 제목 50%, 나머지 열 합 50%
    665663    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>';
    667665    if (enableAttachments) {
    668       tableHeader += '<th style="width: 3%;" title="첨부파일">첨부</th>';
     666      tableHeader += '<th style="width: 5%;" title="첨부파일">첨부</th>';
    669667    }
    670668    if (enableViews) {
    671       tableHeader += '<th style="width: 3%;">조회</th>';
     669      tableHeader += '<th style="width: 5%;">조회</th>';
    672670    }
    673671    if (enableLikes) {
    674       tableHeader += '<th style="width: 3%;">좋아요</th>';
     672      tableHeader += '<th style="width: 5%;">좋아요</th>';
    675673    }
    676674    if (enableComments) {
    677       tableHeader += '<th style="width: 3%;">댓글</th>';
     675      tableHeader += '<th style="width: 5%;">댓글</th>';
    678676    }
    679677    if (userPermission === "edit-only" || userPermission === "full-control") {
    680       tableHeader += '<th style="width: 7%;">관리</th>';
     678      tableHeader += '<th style="width: 8%;">관리</th>';
    681679    }
    682680    tableHeader += "</tr></thead><tbody></tbody></table>";
  • youelblocks/trunk/includes/class-youelblocks-admin-ajax.php

    r3462227 r3462304  
    47344734     */
    47354735    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)) {
    47404738            wp_send_json_error(array('message' => '보안 검증 실패'));
    47414739            return;
    47424740        }
    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
    47444742            wp_send_json_error(array('message' => '파일이 없습니다.'));
    47454743            return;
    47464744        }
    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()
    47484746        if ($file['error'] !== UPLOAD_ERR_OK) {
    47494747            wp_send_json_error(array('message' => '파일 업로드 오류: ' . $this->get_upload_error_message($file['error'])));
  • youelblocks/trunk/youel-block-manager.php

    r3462227 r3462304  
    1717
    1818// 플러그인 버전 정의
    19 define('YOUELBLOCKS_VERSION', '1.0.0');
     19define('YOUELBLOCKS_VERSION', '1.0.1');
    2020
    2121// 디버깅 모드 (개발 중에만 true로 설정)
  • youelblocks/trunk/youelblocks.php

    r3450738 r3462304  
    44 * Plugin URI: https://youelblocks.co.kr
    55 * 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.0
     6 * Version: 1.0.1
    77 * Author: YOUELBLOCKS Team
    88 * License: GPL v2 or later
Note: See TracChangeset for help on using the changeset viewer.