...
This commit is contained in:
parent
625023686a
commit
709c026910
|
@ -132,8 +132,8 @@
|
||||||
<div class="Msg_txt">
|
<div class="Msg_txt">
|
||||||
<%= link_to_user_header message.author,false,:class => 'fl c_orange ' %>
|
<%= link_to_user_header message.author,false,:class => 'fl c_orange ' %>
|
||||||
<br/>
|
<br/>
|
||||||
<p class="fl break_word"><%= textAreailizable message,:content,:attachments => message.attachments %></p>
|
<div class="fl break_word"><%= textAreailizable message,:content,:attachments => message.attachments %></div>
|
||||||
<input nhname="nh_content_val" type="hidden" value="<%= message.content %>"/>
|
<input nhname="nh_content_val" value="<%= message.content %>" type="hidden"/>
|
||||||
<br/>
|
<br/>
|
||||||
<span class=" c_grey fl"><%= format_time(message.created_on) %></span>
|
<span class=" c_grey fl"><%= format_time(message.created_on) %></span>
|
||||||
<%= link_to(
|
<%= link_to(
|
||||||
|
|
|
@ -120,7 +120,7 @@
|
||||||
<div class="Msg_txt">
|
<div class="Msg_txt">
|
||||||
<%= link_to_user_header message.author,false,:class => 'fl c_orange ' %>
|
<%= link_to_user_header message.author,false,:class => 'fl c_orange ' %>
|
||||||
<br/>
|
<br/>
|
||||||
<p class="fl break_word"><%= textAreailizable message,:content,:attachments => message.attachments %></p>
|
<div class="fl break_word"><%= textAreailizable message,:content,:attachments => message.attachments %></div>
|
||||||
<input nhname="nh_content_val" type="hidden" value="<%= message.content %>"/>
|
<input nhname="nh_content_val" type="hidden" value="<%= message.content %>"/>
|
||||||
<br/>
|
<br/>
|
||||||
<span class=" c_grey fl"><%= format_time(message.created_on) %></span>
|
<span class=" c_grey fl"><%= format_time(message.created_on) %></span>
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
<style>
|
<style>
|
||||||
.ke-toolbar-icon-url{background-image:url( '/assets/kindeditor/plugins/emoticons/images/0.gif' )}
|
.ke-toolbar{display:none;width:400px;border:none;background:none;padding:0px 0px;}
|
||||||
.ke-toolbar{display:none;width:400px;border:none;background:none;}
|
.ke-toolbar-icon{line-height:26px;font-size:14px;padding-left:26px;}
|
||||||
.ke-icon-emoticons{background-position:0px 0px;width:24px;height:24px;}
|
.ke-toolbar-icon-url{background-image:url( '/images/public_icon.png' )}
|
||||||
|
.ke-toolbar .ke-outline{padding:0px 0px;line-height:26px;font-size:14px;}
|
||||||
|
.ke-icon-emoticons{background-position:0px -671px;width:50px;height:26px;}
|
||||||
|
.ke-icon-emoticons:hover{background-position:-79px -671px;width:50px;height:26px;}
|
||||||
.ke-toolbar .ke-outline{border:none;}
|
.ke-toolbar .ke-outline{border:none;}
|
||||||
</style>
|
</style>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -128,7 +131,7 @@ function nh_init_board(params){
|
||||||
},
|
},
|
||||||
afterCreate:function(){
|
afterCreate:function(){
|
||||||
var toolbar = $("div[class='ke-toolbar']",params.about_talk);
|
var toolbar = $("div[class='ke-toolbar']",params.about_talk);
|
||||||
toolbar.append('<span style="line-height:24px;">表情</span>');
|
$(".ke-outline>.ke-toolbar-icon",toolbar).append('表情');
|
||||||
params.toolbar_container.append(toolbar);
|
params.toolbar_container.append(toolbar);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -168,7 +171,7 @@ function nh_init_board(params){
|
||||||
}else{
|
}else{
|
||||||
params.textarea.html(params.init_content_val.val());
|
params.textarea.html(params.init_content_val.val());
|
||||||
}
|
}
|
||||||
editor.html(params.textarea.html());
|
editor.valueOf(params.textarea);
|
||||||
params.subjectmsg.hide();
|
params.subjectmsg.hide();
|
||||||
params.contentmsg.hide();
|
params.contentmsg.hide();
|
||||||
if(params.quote_show!=undefined)params.quote_show.empty();
|
if(params.quote_show!=undefined)params.quote_show.empty();
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 12 KiB |
Loading…
Reference in New Issue