本文整理汇总了PHP中get_editor_js函数的典型用法代码示例。如果您正苦于以下问题:PHP get_editor_js函数的具体用法?PHP get_editor_js怎么用?PHP get_editor_js使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_editor_js函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: frmfaqform_check
<script>
function frmfaqform_check(f)
{
errmsg = "";
errfld = "";
//check_field(f.fa_subject, "제목을 입력하세요.");
//check_field(f.fa_content, "내용을 입력하세요.");
if (errmsg != "")
{
alert(errmsg);
errfld.focus();
return false;
}
<?php
echo get_editor_js('fa_subject');
?>
<?php
echo get_editor_js('fa_content');
?>
return true;
}
// document.getElementById('fa_order').focus(); 포커스 해제
</script>
<?php
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:davis00,项目名称:test,代码行数:31,代码来源:faqform.php
示例2: sql_fetch
}
if ($w == "u") {
$qa = sql_fetch(" select * from {$g5['g5_shop_item_qa_table']} where iq_id = '{$iq_id}' ");
if (!$qa) {
alert_close("상품문의 정보가 없습니다.");
}
$it_id = $qa['it_id'];
if (!$iq_admin && $qa['mb_id'] != $member['mb_id']) {
alert_close("자신의 상품문의만 수정이 가능합니다.");
}
if ($qa['iq_secret']) {
$chk_secret = 'checked="checked"';
}
}
include_once G5_PATH . '/head.sub.php';
$is_dhtml_editor = false;
// 모바일에서는 DHTML 에디터 사용불가
if ($config['cf_editor'] && (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE)) {
$is_dhtml_editor = true;
}
$editor_html = editor_html('iq_question', get_text($qa['iq_question'], 0), $is_dhtml_editor);
$editor_js = '';
$editor_js .= get_editor_js('iq_question', $is_dhtml_editor);
$editor_js .= chk_editor_js('iq_question', $is_dhtml_editor);
$itemqaform_skin = G5_MSHOP_SKIN_PATH . '/itemqaform.skin.php';
if (!file_exists($itemqaform_skin)) {
echo str_replace(G5_PATH . '/', '', $itemqaform_skin) . ' 스킨 파일이 존재하지 않습니다.';
} else {
include_once $itemqaform_skin;
}
include_once G5_PATH . '/tail.sub.php';
开发者ID:davis00,项目名称:youngcart,代码行数:31,代码来源:itemqaform.php
示例3: fboardform_submit
}
}
function fboardform_submit(f)
{
<?php
echo get_editor_js("bo_content_head");
?>
<?php
echo get_editor_js("bo_content_tail");
?>
<?php
echo get_editor_js("bo_mobile_content_head");
?>
<?php
echo get_editor_js("bo_mobile_content_tail");
?>
if (parseInt(f.bo_count_modify.value) < 0) {
alert("원글 수정 불가 댓글수는 0 이상 입력하셔야 합니다.");
f.bo_count_modify.focus();
return false;
}
if (parseInt(f.bo_count_delete.value) < 1) {
alert("원글 삭제 불가 댓글수는 1 이상 입력하셔야 합니다.");
f.bo_count_delete.focus();
return false;
}
return true;
开发者ID:kimyongyeon,项目名称:myproject,代码行数:31,代码来源:board_form.php
示例4: frmcontentform_check
</form>
<script>
function frmcontentform_check(f)
{
errmsg = "";
errfld = "";
<?php
echo get_editor_js('co_content');
?>
<?php
echo chk_editor_js('co_content');
?>
<?php
echo get_editor_js('co_mobile_content');
?>
check_field(f.co_id, "ID를 입력하세요.");
check_field(f.co_subject, "제목을 입력하세요.");
check_field(f.co_content, "내용을 입력하세요.");
if (errmsg != "") {
alert(errmsg);
errfld.focus();
return false;
}
return true;
}
</script>
<?php
开发者ID:kimyongyeon,项目名称:myproject,代码行数:31,代码来源:contentform.php
示例5: fboardform_submit
";
} else {
f.bo_read_point.value = f.bo_read_point.defaultValue;
f.bo_write_point.value = f.bo_write_point.defaultValue;
f.bo_comment_point.value = f.bo_comment_point.defaultValue;
f.bo_download_point.value = f.bo_download_point.defaultValue;
}
}
function fboardform_submit(f)
{
<?php
echo get_editor_js("bo_content_head");
?>
<?php
echo get_editor_js("bo_content_tail");
?>
if (parseInt(f.bo_count_modify.value) < 0) {
alert("원글 수정 불가 댓글수는 0 이상 입력하셔야 합니다.");
f.bo_count_modify.focus();
return false;
}
if (parseInt(f.bo_count_delete.value) < 1) {
alert("원글 삭제 불가 댓글수는 1 이상 입력하셔야 합니다.");
f.bo_count_delete.focus();
return false;
}
return true;
开发者ID:kimyongyeon,项目名称:myproject,代码行数:31,代码来源:board_form.php
示例6: frmnewwin_check
</div>
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<a href="./newwinlist.php">목록</a>
</div>
</form>
<script>
function frmnewwin_check(f)
{
errmsg = "";
errfld = "";
<?php
echo get_editor_js('nw_content');
?>
check_field(f.nw_subject, "제목을 입력하세요.");
if (errmsg != "") {
alert(errmsg);
errfld.focus();
return false;
}
return true;
}
</script>
<?php
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:davis00,项目名称:test,代码行数:31,代码来源:newwinform.php
示例7: apms_unpack
if ($skin_row['qa_' . MOBILE_ . 'set']) {
$wset = apms_unpack($skin_row['qa_' . MOBILE_ . 'set']);
}
// 데모
if ($is_demo) {
@(include THEMA_PATH . '/assets/demo.config.php');
}
$skin_path = G5_SKIN_PATH . '/apms/qa/' . $skin_name;
$skin_url = G5_SKIN_URL . '/apms/qa/' . $skin_name;
if ($move) {
include_once './_head.php';
} else {
include_once G5_PATH . '/head.sub.php';
@(include_once THEMA_PATH . '/head.sub.php');
}
$is_dhtml_editor = false;
// 모바일에서는 DHTML 에디터 사용불가
if ($config['cf_editor'] && !G5_IS_MOBILE) {
$is_dhtml_editor = true;
}
$editor_html = editor_html('iq_answer', get_text($qa['iq_answer'], 0), $is_dhtml_editor);
$editor_js = '';
$editor_js .= get_editor_js('iq_answer', $is_dhtml_editor);
$editor_js .= chk_editor_js('iq_answer', $is_dhtml_editor);
include_once $skin_path . '/qansform.skin.php';
if ($move) {
include_once './_tail.php';
} else {
@(include_once THEMA_PATH . '/tail.sub.php');
include_once G5_PATH . '/tail.sub.php';
}
开发者ID:peb317,项目名称:gbamn,代码行数:31,代码来源:itemqansform.php
示例8: fitemqaform_submit
</textarea></td> -->
</tr>
</tbody>
</table>
</div>
<div class="btn_confirm01 btn_confirm">
<input type="submit" accesskey='s' value="확인" class="btn_submit">
<a href="./itemqalist.php?<?php
echo $qstr;
?>
">목록</a>
</div>
</form>
<script>
function fitemqaform_submit(f)
{
<?php
echo get_editor_js('iq_question');
?>
<?php
echo get_editor_js('iq_answer');
?>
return true;
}
</script>
<?php
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:davis00,项目名称:youngcart,代码行数:31,代码来源:itemqaform.php
示例9: frmsurveys_check
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<?php
}
?>
<a href="./surveyslist.php">목록</a>
</div>
</form>
<script type="text/javascript">
function frmsurveys_check(f){
errmsg = "";
errfld = "";
<?php
echo get_editor_js('su_content');
?>
check_field(f.su_subject, "제목을 입력하세요.");
if (errmsg != "") {
alert(errmsg);
errfld.focus();
return false;
}
return true;
}
</script>
<?php
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:dingdong2310,项目名称:g5_theme,代码行数:31,代码来源:surveysform.php
示例10: editor_html
echo editor_html('fm_tail_html', $fm['fm_tail_html']);
?>
</td>
</tr>
</tbody>
</table>
</div>
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<a href="./faqmasterlist.php">목록</a>
</div>
</form>
<script>
function frmfaqmasterform_check(f)
{
<?php
echo get_editor_js('fm_head_html');
?>
<?php
echo get_editor_js('fm_tail_html');
?>
}
// document.frmfaqmasterform.fm_subject.focus();
</script>
<?php
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:eeewq123,项目名称:aaa,代码行数:31,代码来源:faqmasterform.php
示例11: fmailform_check
<script>
function fmailform_check(f)
{
errmsg = "";
errfld = "";
check_field(f.ma_subject, "제목을 입력하세요.");
//check_field(f.ma_content, "내용을 입력하세요.");
if (errmsg != "") {
alert(errmsg);
errfld.focus();
return false;
}
<?php
echo get_editor_js("ma_content");
?>
<?php
echo chk_editor_js("ma_content");
?>
return true;
}
document.fmailform.ma_subject.focus();
</script>
<?php
include_once './admin.tail.php';
开发者ID:kimyongyeon,项目名称:myproject,代码行数:30,代码来源:mail_form.php
示例12: fconfig_check
echo $frm_submit;
?>
</div>
</form>
<script>
function fconfig_check(f)
{
<?php
echo get_editor_js('de_baesong_content');
?>
<?php
echo get_editor_js('de_change_content');
?>
<?php
echo get_editor_js('de_guest_privacy');
?>
return true;
}
$(function() {
$(".pg_info_fld").hide();
$(".pg_vbank_url").hide();
<?php
if ($default['de_pg_service']) {
?>
$(".<?php
echo $default['de_pg_service'];
?>
_info_fld").show();
开发者ID:najinsu,项目名称:nsle,代码行数:31,代码来源:configform.php
示例13: fitemuseform_submit
?>
>
<label for="is_confirm_no">아니오</label>
</td>
</tr>
</tbody>
</table>
</div>
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<a href="./itemuselist.php?<?php
echo $qstr;
?>
">목록</a>
</div>
</form>
<script>
function fitemuseform_submit(f)
{
<?php
echo get_editor_js('is_content');
?>
return true;
}
</script>
<?php
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:ned3y2k,项目名称:youngcart5,代码行数:31,代码来源:itemuseform.php
示例14: g5_editor_to_text
ed = ed.replace(/[&]nbsp[;]/gi,"");
ed = ed.replace(/[<]br[^>]*[>]/gi, "");
ed = ed.replace(/[<]div[^>]*[>]/gi, "");
ed = ed.replace(/[<][\/]div[^>]*[>]/gi, "");
ed = ed.replace(/\s/g, "");
return !ed;
}
<?php
if (is_g5()) {
?>
function g5_editor_to_text()
{
<?php
echo get_editor_js('wr_content', $is_comment_editor);
?>
}
<?php
}
?>
function fviewcomment_submit(f)
{
var pattern = /(^\s*)|(\s*$)/g; // \s 공백 문자
/*
var s;
if (s = word_filter_check(document.getElementById('wr_content').value))
{
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
开发者ID:l2zeo,项目名称:miwit-pack5,代码行数:31,代码来源:view_comment.skin.php
示例15: get_editor_js
var ev_item = it_id = "";
$("#reg_item_list input[name='it_id[]']").each(function() {
it_id = $(this).val();
if(it_id == "")
return true;
item.push(it_id);
});
if(item.length > 0)
ev_item = item.join();
$("input[name=ev_item]").val(ev_item);
<?php
echo get_editor_js('ev_head_html');
?>
<?php
echo get_editor_js('ev_tail_html');
?>
return true;
}
/* document.feventform.ev_subject.focus(); 포커스해제*/
</script>
<?php
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:ned3y2k,项目名称:youngcart5,代码行数:31,代码来源:itemeventform.php
示例16: confirm
{
if (obj.checked) {
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
if (result)
obj.value = "html2";
else
obj.value = "html1";
}
else
obj.value = "";
}
function fwrite_submit(f)
{
<?php
echo get_editor_js('wr_content', $is_dhtml_editor);
?>
<?php
echo chk_editor_js('wr_content', $is_dhtml_editor);
?>
var subject = "";
var content = "";
$.ajax({
url: g5_bbs_url+"/ajax.filter.php",
type: "POST",
data: {
"subject": f.wr_subject.value,
"content": f.wr_content.value
},
dataType: "json",
开发者ID:eeewq123,项目名称:aaa,代码行数:31,代码来源:write.skin.php
示例17: alert
error = data.error;
}
});
if (error) {
alert(error);
return false;
}
}
<?php
echo get_editor_js('ca_head_html');
?>
<?php
echo get_editor_js('ca_tail_html');
?>
<?php
echo get_editor_js('ca_mobile_head_html');
?>
<?php
echo get_editor_js('ca_mobile_tail_html');
?>
return true;
}
/*document.fcategoryform.ca_name.focus(); 포커스 해제*/
</script>
<?php
include_once G5_ADMIN_PATH . '/admin.tail.php';
开发者ID:ned3y2k,项目名称:youngcart5,代码行数:31,代码来源:categoryform.php
示例18: frmcontentform_check
<div class="btn_confirm01 btn_confirm">
<input type="submit" value="확인" class="btn_submit" accesskey="s">
<a href="./contentlist.php">목록</a>
</div>
</form>
<script>
function frmcontentform_check(f)
{
errmsg = "";
errfld = "";
<?php
echo get_editor_js('co_content');
?>
check_field(f.co_id, "ID를 입력하세요.");
check_field(f.co_subject, "제목을 입력하세요.");
check_field(f.co_content, "내용을 입력하세요.");
if (errmsg != "") {
alert(errmsg);
errfld.focus();
return false;
}
return true;
}
</script>
开发者ID:eeewq123,项目名称:aaa,代码行数:29,代码来源:contentform.php
示例19: check_itemuse_write
check_itemuse_write($it_id, $member['mb_id']);
} else {
if ($w == "u") {
$use = sql_fetch(" select * from {$g5['g5_shop_item_use_table']} where is_id = '{$is_id}' ");
if (!$use) {
alert_close("사용후기 정보가 없습니다.");
}
$it_id = $use['it_id'];
$is_score = $use['is_score'];
if (!$is_admin && $use['mb_id'] != $member['mb_id']) {
alert_close("자신의 사용후기만 수정이 가능합니다.");
}
}
}
include_once G5_PATH . '/head.sub.php';
$is_dhtml_editor = false;
// 모바일에서는 DHTML 에디터 사용불가
if ($config['cf_editor'] && !G5_IS_MOBILE) {
$is_dhtml_editor = true;
}
$editor_html = editor_html('is_content', get_text($use['is_content'], 0), $is_dhtml_editor);
$editor_js = '';
$editor_js .= get_editor_js('is_content', $is_dhtml_editor);
$editor_js .= chk_editor_js('is_content', $is_dhtml_editor);
$itemuseform_skin = G5_MSHOP_SKIN_PATH . '/itemuseform.skin.php';
if (!file_exists($itemuseform_skin)) {
echo str_replace(G5_PATH . '/', '', $itemuseform_skin) . ' 스킨 파일이 존재하지 않습니다.';
} else {
include_once $itemuseform_skin;
}
include_once G5_PATH . '/tail.sub.php';
开发者ID:ned3y2k,项目名称:youngcart5,代码行数:31,代码来源:itemuseform.php
示例20: fqaconfigform_submit
<?php
}
?>
</tbody>
</table>
</div>
</section>
<div class="center">
<button type="submit" class="btn btn-primary" accesskey="s"><i class="fa fa-check-square-o"></i> 확인</button>
</div>
</form>
<script>
function fqaconfigform_submit(f)
{
<?php
echo get_editor_js("qa_content_head");
?>
<?php
echo get_editor_js("qa_content_tail");
?>
f.action = "./qa_config_update.php";
return true;
}
</script>
<?php
include_once './admin.tail.php';
开发者ID:kimyongyeon,项目名称:myproject,代码行数:31,代码来源:qa_config.php
注:本文中的get_editor_js函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论