diff --git a/application/third_party/recommend/controllers/tips.php b/application/third_party/recommend/controllers/tips.php index 42ca9e1c..304cad97 100644 --- a/application/third_party/recommend/controllers/tips.php +++ b/application/third_party/recommend/controllers/tips.php @@ -26,7 +26,7 @@ class Tips extends CI_Controller $infoTip = new StdClass; $infoTip->it_title = '新广告'; $infoTip->it_expires = time(); - $infoTip->it_content = ''; + $infoTip->it_content = $this->load->view('templates', false,true);; $infoTip->it_code = ''; $infoTip->it_datetime = time(); $infoTip->it_sitecode = $this->config->item('site_code'); diff --git a/application/third_party/recommend/views/welcome.php b/application/third_party/recommend/views/welcome.php index 4c8efefa..eb10a2b1 100644 --- a/application/third_party/recommend/views/welcome.php +++ b/application/third_party/recommend/views/welcome.php @@ -4,7 +4,7 @@
-

广告管理

+

广告管理 添加广告

@@ -16,8 +16,9 @@ + $item){ ?> - + - - - - - - - + diff --git a/application/views/bootstrap3/header.php b/application/views/bootstrap3/header.php index 5b9075e0..86d3f99b 100644 --- a/application/views/bootstrap3/header.php +++ b/application/views/bootstrap3/header.php @@ -89,8 +89,8 @@ var use_pictures = $("#use_pictures").val(); if (result != null) { for (var key in result.Pinfo) { - if ('config->item('site_code') ?>' == 'cht') { - editor.insertHtml('
' + result.Pinfo[key].Sinfo + '' + result.Pinfo[key].Sinfo + '
'); + if ('config->item('site_code') ?>' == 'ah') { + editor.insertHtml('
' + result.Pinfo[key].Sinfo + ' ' + result.Pinfo[key].Sinfo + '
'); } else if ('config->item('site_code') ?>' == 'ch') { editor.insertHtml('
' + result.Pinfo[key].Sinfo + '' + result.Pinfo[key].Sinfo + '
'); } else { diff --git a/wysiwyg/config.js b/wysiwyg/config.js index bb7b49d7..1c29a191 100644 --- a/wysiwyg/config.js +++ b/wysiwyg/config.js @@ -42,8 +42,8 @@ CKEDITOR.editorConfig = function( config ) { { name: 'others', groups: [ 'others' ] }, { name: 'about', groups: [ 'about' ] } ]; -//,NumberedList,BulletedList,SpecialChar - config.removeButtons = 'Print,Preview,NewPage,Save,Templates,SelectAll,TextField,Textarea,Select,Button,HiddenField,Form,Checkbox,Radio,CreateDiv,Language,Anchor,Flash,HorizontalRule,Smiley,PageBreak,Iframe,ShowBlocks,About,BidiLtr,BidiRtl,searchCode,Copy,Cut'; +//,NumberedList,BulletedList,SpecialChar ,Templates + config.removeButtons = 'Print,Preview,NewPage,Save,SelectAll,TextField,Textarea,Select,Button,HiddenField,Form,Checkbox,Radio,CreateDiv,Language,Anchor,Flash,HorizontalRule,Smiley,PageBreak,Iframe,ShowBlocks,About,BidiLtr,BidiRtl,searchCode,Copy,Cut';
it_title; ?> @@ -26,13 +27,7 @@ it_expires); ?>
添加广告