갯수 -> 개수 혹은 수 로 수정, 뮤죤님
This commit is contained in:
@ -633,7 +633,7 @@ $pg_anchor = '<ul class="anchor">
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="bo_upload_count">파일 업로드 갯수<strong class="sound_only">필수</strong></label></th>
|
<th scope="row"><label for="bo_upload_count">파일 업로드 개수<strong class="sound_only">필수</strong></label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php echo help('게시물 한건당 업로드 할 수 있는 파일의 최대 개수 (0 은 파일첨부 사용하지 않음)') ?>
|
<?php echo help('게시물 한건당 업로드 할 수 있는 파일의 최대 개수 (0 은 파일첨부 사용하지 않음)') ?>
|
||||||
<input type="text" name="bo_upload_count" value="<?php echo $board['bo_upload_count'] ?>" id="bo_upload_count" required class="required numeric frm_input" size="4">
|
<input type="text" name="bo_upload_count" value="<?php echo $board['bo_upload_count'] ?>" id="bo_upload_count" required class="required numeric frm_input" size="4">
|
||||||
|
|||||||
@ -170,7 +170,7 @@ sql_query(" ALTER TABLE `$g5[login_table]` DROP INDEX `lo_datetime` ", false);
|
|||||||
// 회원테이블의 회원가입일시에 인덱스 추가
|
// 회원테이블의 회원가입일시에 인덱스 추가
|
||||||
sql_query(" ALTER TABLE `$g5[member_table]` ADD INDEX `mb_datetime` ( `mb_datetime` ) ", false);
|
sql_query(" ALTER TABLE `$g5[member_table]` ADD INDEX `mb_datetime` ( `mb_datetime` ) ", false);
|
||||||
|
|
||||||
// 게시판설정 테이블에 업로드 갯수, 이메일 사용 필드 추가
|
// 게시판설정 테이블에 업로드 개수, 이메일 사용 필드 추가
|
||||||
sql_query(" ALTER TABLE `$g5[board_table]`
|
sql_query(" ALTER TABLE `$g5[board_table]`
|
||||||
ADD `bo_upload_count` TINYINT NOT NULL AFTER `bo_notice` ,
|
ADD `bo_upload_count` TINYINT NOT NULL AFTER `bo_notice` ,
|
||||||
ADD `bo_use_email` TINYINT NOT NULL AFTER `bo_upload_count` ", FALSE);
|
ADD `bo_use_email` TINYINT NOT NULL AFTER `bo_upload_count` ", FALSE);
|
||||||
|
|||||||
@ -399,7 +399,7 @@ $editor_js = '';
|
|||||||
$editor_js .= get_editor_js('wr_content', $is_dhtml_editor);
|
$editor_js .= get_editor_js('wr_content', $is_dhtml_editor);
|
||||||
$editor_js .= chk_editor_js('wr_content', $is_dhtml_editor);
|
$editor_js .= chk_editor_js('wr_content', $is_dhtml_editor);
|
||||||
|
|
||||||
// 임시 저장된 글 갯수
|
// 임시 저장된 글 수
|
||||||
$autosave_count = autosave_count($member['mb_id']);
|
$autosave_count = autosave_count($member['mb_id']);
|
||||||
|
|
||||||
include_once(G5_PATH.'/head.sub.php');
|
include_once(G5_PATH.'/head.sub.php');
|
||||||
|
|||||||
@ -552,7 +552,7 @@ for ($i=(int)$row['max_bf_no']; $i>=0; $i--)
|
|||||||
sql_query(" delete from {$g5['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' and bf_no = '{$i}' ");
|
sql_query(" delete from {$g5['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' and bf_no = '{$i}' ");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 파일의 갯수를 게시물에 업데이트 한다.
|
// 파일의 개수를 게시물에 업데이트 한다.
|
||||||
$row = sql_fetch(" select count(*) as cnt from {$g5['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' ");
|
$row = sql_fetch(" select count(*) as cnt from {$g5['board_file_table']} where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' ");
|
||||||
sql_query(" update {$write_table} set wr_file = '{$row['cnt']}' where wr_id = '{$wr_id}' ");
|
sql_query(" update {$write_table} set wr_file = '{$row['cnt']}' where wr_id = '{$wr_id}' ");
|
||||||
|
|
||||||
|
|||||||
@ -271,7 +271,7 @@ function wrestSubmit()
|
|||||||
|
|
||||||
var attr = null;
|
var attr = null;
|
||||||
|
|
||||||
// 해당폼에 대한 요소의 갯수만큼 돌려라
|
// 해당폼에 대한 요소의 개수만큼 돌려라
|
||||||
for (var i=0; i<this.elements.length; i++) {
|
for (var i=0; i<this.elements.length; i++) {
|
||||||
var el = this.elements[i];
|
var el = this.elements[i];
|
||||||
|
|
||||||
|
|||||||
@ -484,7 +484,7 @@ function conv_content($content, $html)
|
|||||||
$target[] = "<br/>";
|
$target[] = "<br/>";
|
||||||
}
|
}
|
||||||
|
|
||||||
// 테이블 태그의 갯수를 세어 테이블이 깨지지 않도록 한다.
|
// 테이블 태그의 개수를 세어 테이블이 깨지지 않도록 한다.
|
||||||
$table_begin_count = substr_count(strtolower($content), "<table");
|
$table_begin_count = substr_count(strtolower($content), "<table");
|
||||||
$table_end_count = substr_count(strtolower($content), "</table");
|
$table_end_count = substr_count(strtolower($content), "</table");
|
||||||
for ($i=$table_end_count; $i<$table_begin_count; $i++)
|
for ($i=$table_end_count; $i<$table_begin_count; $i++)
|
||||||
@ -2306,7 +2306,7 @@ function googl_short_url($longUrl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 임시 저장된 글 갯수
|
// 임시 저장된 글 수
|
||||||
function autosave_count($mb_id)
|
function autosave_count($mb_id)
|
||||||
{
|
{
|
||||||
global $g5;
|
global $g5;
|
||||||
|
|||||||
Reference in New Issue
Block a user