쇼핑몰설정 에디터 변경

This commit is contained in:
gnuboard
2013-01-25 14:18:31 +09:00
parent 882ffaa8e6
commit d7e5f1524e
2 changed files with 20 additions and 12 deletions

View File

@ -1,7 +1,7 @@
<?
$sub_menu = "400100";
define('G4_EDITOR', 1);
include_once("./_common.php");
include_once("$g4[path]/lib/cheditor4.lib.php");
auth_check($auth[$sub_menu], "r");
@ -64,11 +64,6 @@ $g4[title] = "쇼핑몰설정";
include_once ("$g4[admin_path]/admin.head.php");
?>
<script src="<?=$g4[cheditor4_path]?>/cheditor.js"></script>
<?=cheditor1('de_baesong_content', '100%', '150');?>
<?=cheditor1('de_change_content', '100%', '150');?>
<?=cheditor1('de_guest_privacy', '100%', '150');?>
<form name=fconfig method=post action='./configformupdate.php' onsubmit="return fconfig_check(this)" enctype="MULTIPART/FORM-DATA" style="margin:0px;">
<a name="사업자정보"></a>
@ -523,11 +518,11 @@ include_once ("$g4[admin_path]/admin.head.php");
</tr>
<tr class=ht>
<td>배송정보</td>
<td colspan=3><br /><?=cheditor2('de_baesong_content', $default[de_baesong_content]);?></td>
<td colspan=3><br /><?=editor_html('de_baesong_content', $default[de_baesong_content]);?></td>
</tr>
<tr>
<td>교환/반품</td>
<td colspan=3><br /><?=cheditor2('de_change_content', $default[de_change_content]);?></td>
<td colspan=3><br /><?=editor_html('de_change_content', $default[de_change_content]);?></td>
</tr>
<tr><td colspan=4 height=1 bgcolor=#CCCCCC></td></tr>
</table>
@ -668,7 +663,7 @@ include_once ("$g4[admin_path]/admin.head.php");
</tr>
<tr>
<td>비회원에 대한<br/>개인정보수집 내용</td>
<td colspan=3><br /><?=cheditor2('de_guest_privacy', $default[de_guest_privacy]);?></td>
<td colspan=3><br /><?=editor_html('de_guest_privacy', $default[de_guest_privacy]);?></td>
</tr>
<tr class=ht>
<td>MYSQL USER</td>
@ -900,9 +895,9 @@ $sms_daesang = array (1=>"고객님께 발송", "관리자께 발송", "고객
<script language="JavaScript">
function fconfig_check(f)
{
<?=cheditor3('de_baesong_content');?>
<?=cheditor3('de_change_content');?>
<?=cheditor3('de_guest_privacy');?>
<?=get_editor_js('de_baesong_content');?>
<?=get_editor_js('de_change_content');?>
<?=get_editor_js('de_guest_privacy');?>
return true;
}

View File

@ -950,6 +950,19 @@ function alert_opener($msg='', $url='')
echo "</script>";
exit;
}
function subtitle($title, $more="")
{
global $g4;
$s = "<table width=100% cellpadding=0 cellspacing=0><tr><td width=80% align=left><table border='0' cellpadding='0' cellspacing='1'><tr><td height='24'><img src='$g4[admin_path]/img/icon_title.gif' width=20 height=9> <font color='#525252'><b>$title</b></font> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr></table><table width=100% cellpadding=0 cellspacing=0><tr><td height=1></td></tr></table></td><td width=20% align=right>";
if ($more)
$s .= "<a href='$more'><img src='$g4[admin_path]/img/icon_more.gif' width='43' height='11' border=0 align=absmiddle></a>";
$s .= "</td></tr></table>\n";
return $s;
}
//==============================================================================
// 쇼핑몰 함수 모음 끝
//==============================================================================