9IPOCTb Posted June 8, 2018 Share Posted June 8, 2018 Приветствую уважаемые форумчане. Изменил кнопку мультицитаты с плюса на слово, но при отмене цитаты http://prntscr.com/jsh8lr плюс обратно возвращается http://prntscr.com/jsh8us. как изменить код, чтобы цитата возвращала слово:{{if $comment->hidden() === 0 and $item->canComment() and $editorName}} <li data-ipsQuote-editor='{$editorName}' data-ipsQuote-target='#comment-{$comment->$idField}' class='ipsJS_show'> <button class='ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow cMultiQuote ipsHide' data-action='multiQuoteComment' data-ipsTooltip data-ipsQuote-multiQuote data-mqId='mq{$comment->$idField}' title='{lang="multiquote"}'>Цитата</button> </li> {{endif}} Link to comment Share on other sites More sharing options...
newbie Posted June 9, 2018 Share Posted June 9, 2018 Изменил кнопку мультицитаты с плюса на слово,Нужно еще в js-коде менять, который хранится в бд. 1 Link to comment Share on other sites More sharing options...
9IPOCTb Posted June 9, 2018 Author Share Posted June 9, 2018 а где именно не подскажете? Link to comment Share on other sites More sharing options...
newbie Posted June 9, 2018 Share Posted June 9, 2018 SELECT * FROM `core_javascript` WHERE javascript_path='templates' AND javascript_content LIKE '%core.posts.multiQuoteOff%' В поле javascript_content ищите ips.templates.set('core.posts.multiQuoteOff', " \ <i class='fa fa-plus'></i>\ "); После изменений нужно будет очистить кеш форума 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now