Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
adb6a1dc
Commit
adb6a1dc
authored
Jul 06, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG
parent
5e1fca10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
4 deletions
+10
-4
common.php
application/common.php
+2
-1
new_text.html
application/index/view/news/new_text.html
+2
-2
schoolBusiness.js
public/resource/js/schoolBusiness.js
+3
-1
Config.php
...urce/lib/Ckfinder/core/connector/php/php5/Core/Config.php
+0
-0
ckfinderStart.js
public/resource/lib/js/ckfinderStart.js
+3
-0
No files found.
application/common.php
View file @
adb6a1dc
...
...
@@ -19,7 +19,8 @@ if (!function_exists('create_editor')) {
if
(
!
empty
(
$config
))
{
$_config
=
array_merge
(
$_config
,
$config
);
}
$CKEditor
->
editor
(
"describe"
,
$value
,
$_config
);
//$CKEditor->editor("describe", $value, $_config);
$CKEditor
->
editor
(
$id
,
$value
,
$_config
);
}
}
...
...
application/index/view/news/new_text.html
View file @
adb6a1dc
...
...
@@ -324,7 +324,7 @@
<!--<label for="" style="width: 100%;">内容</label>-->
<div
class=
"input-group"
style=
"width: 100%;"
id=
"dajiangtang"
>
<?php
create_editor('
describe
');
create_editor('
goods_sup_id','
');
?>
</div>
</div>
...
...
@@ -434,7 +434,7 @@
<!--<label for="" style="width: 100%;">内容</label>-->
<div
class=
"input-group"
style=
"width: 100%;"
id=
"dajiangtang"
>
<?php
create_editor('
describe
');
create_editor('
goods_sup_id','
');
?>
</div>
</div>
...
...
public/resource/js/schoolBusiness.js
View file @
adb6a1dc
...
...
@@ -402,7 +402,9 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
var
_urlCut
=
location
.
origin
+
'/resource/lib/Attachments/images/'
;
//要截取的部分url
var
_dajiangtangObj
=
$
(
'#dajiangtang'
);
//大讲堂
var
_dajiangtangVal
=
_dajiangtangObj
.
find
(
'iframe'
).
contents
().
find
(
'body'
).
html
();
console
.
log
(
_dajiangtangVal
);
console
.
log
(
getCKeditorValue
(
"goods_sup_id"
));
return
false
;
if
(
_liebiaoPicObj
.
length
<
1
)
{
alert
(
'列表页封面图需要上传'
);
...
...
public/resource/lib/Ckfinder/core/connector/php/php5/Core/Config.php
View file @
adb6a1dc
This diff is collapsed.
Click to expand it.
public/resource/lib/js/ckfinderStart.js
View file @
adb6a1dc
var
global
=
{
'attach_prefix'
:
'/public/resource/lib/Attachments/'
}
function
BrowseServer
(
input_image
,
fun
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment