cheditor 와 captcha 에 관련된 js 파일을 계속 포함 시킴
This commit is contained in:
11
head.sub.php
11
head.sub.php
@ -73,6 +73,17 @@ var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
|
|||||||
<script src="<?=$g4['path']?>/js/jquery-1.4.2.min.js"></script>
|
<script src="<?=$g4['path']?>/js/jquery-1.4.2.min.js"></script>
|
||||||
<script src="<?=$g4['path']?>/js/common.js"></script>
|
<script src="<?=$g4['path']?>/js/common.js"></script>
|
||||||
<script src="<?=$g4['path']?>/js/wrest.js"></script>
|
<script src="<?=$g4['path']?>/js/wrest.js"></script>
|
||||||
|
<?
|
||||||
|
if (isset($editor->js)) {
|
||||||
|
$g4['js_file'][] = $editor->js;
|
||||||
|
if (isset($editor->config_js)) {
|
||||||
|
$g4['js_file'][] = $editor->config_js;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (isset($captcha->js)) {
|
||||||
|
$g4['js_file'][] = $captcha->js;
|
||||||
|
}
|
||||||
|
?>
|
||||||
<!--[if lte IE 8]>
|
<!--[if lte IE 8]>
|
||||||
<script src="<?=$g4['path']?>/js/html5.js"></script>
|
<script src="<?=$g4['path']?>/js/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|||||||
Reference in New Issue
Block a user