შესვლა

ინსტრუქცია:

1. გადაწერეთ ქვემოთ მოცემული არქივი და ატვირთეთ თქვენი დიზაინში /Images

2. გახსენით Styles.Css და სულ ბოლოში ჩასვით შემდეგი კოდი:
Code
.news_btn {overflow:hidden; clear:both; margin:5px 0 0 0;}
.vk_btn {font-size:11px; display:block; float:left; margin:0 5px 0 0;}
.vk_btn a {color:#2b5e81;}
.tw_btn {font-size:11px; display:block; float:left; margin:0 5px 0 0; }
.tw_btn a {color:#2b5e81;}
.ya_btn {font-size:11px; display:block; float:left; margin:0 5px 0 0;}
.ya_btn a span:first-letter {color:#ee4348;}
.google_btn {font-size:11px; display:block; float:left; margin:0 5px 0 0;}
.google_btn a {color:#2b5e81;}
.code_btn {font-size:11px; display:block; float:right;}
.code_btn a {color:#72990e;}
.news_btn a, .news_btn a span {float:left; max-width:290px; overflow:hidden; height:30px; padding: 0 0 0 5px; background: url('../images/soc_btn.png') no-repeat; }
.news_btn a span {display:block; line-height:27px; padding: 0 8px 0 0; background-position: 100% 100%;}
.news_btn a span img {vertical-align:middle; margin:0 5px 0 0;}
.news_btn a:hover {text-decoration:none;}


3. გახსენით fullstory.tpl და სასურველ ადგილას ჩასვით შემდეგი კოდი:
Code
<noindex>
<div class="news_btn">
<hr />
<div class="vk_btn"><a href="http://vk.com/share.php?url={full-link}" target="_blank"><span><img src="{THEME}/images/soc_icon/vk.png" title="მომწონს სიახლე: {title}" alt="Вконтакте" />მომწონს</span></a></div>

<div class="tw_btn">
<script type="text/javascript">
document.write('<a href="https://twitter.com/intent/tweet?source=webclient&text=' + encodeURIComponent('{title} {full-link}') + '" target="_blank"><span><img src="{THEME}/images/soc_icon/tw.png" title="გაზიარება: {title}" alt="Tweet" />Tweet</span></a>');
</script>
</div>
<div class="ya_btn"><a href="http://my.ya.ru/posts_add_link.xml?URL={full-link}&title={title}&body=" target="_blank"><span><img src="{THEME}/images/soc_icon/ya.png" title="გაზიარება: {title} " alt="" />გაზიარება</span></a></div>
<div class="google_btn"><a href="https://www.google.com/bookmarks/mark?op=add&bkmk={full-link}&title={title}" target="_blank"><span><img src="{THEME}/images/soc_icon/google.png" title="სანიშნში დამატება: {title}" alt="Google" />სანიშნში</span></a></div>
<div class="code_btn">
<script type="text/javascript">
//<![CDATA[
$(function() {$( "#LinksPublication" ).dialog({autoOpen: false, show: 'fade', hide: 'fade', width: 550, height: 145});
$('#LinksPublication-link').click(function(){$('#LinksPublication').dialog('open'); return false;});
});
//]]>
</script>
<a id="LinksPublication-link" href="#"><span><img src="{THEME}/images/soc_icon/g.png" title="გაუზიარეთ თქვენს მეგობრებს სიახლე" alt="" />გაზიარება</span></a>
<div id="LinksPublication" title="გაუზიარეთ თქვენს მეგობრებს სიახლე" style="display:none; " >
<div style="background:#E7F0F5; border:1px solid #A0CDE5; padding:2px; windth:400px; margin-top:4px; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;">
<table align="center" cellpadding="2" cellspacing="1">
<tbody>
<tr>
<td class="txtw">პირდაპირი მისამართი:</td><td><input onclick="this.select()" value="{full-link}" type="text" style="width:400px" readonly="readonly" /></td>
</tr>
<tr>
<td class="txtw">BB-code:</td><td><input onclick="this.select()" value="[url={full-link}]{title}[/url]" type="text" style="width:400px" readonly="readonly" /></td>
</tr>
<tr>
<td class="txtw">HTML მისამართი:</td><td><input onclick="this.select()" value='<a href="{full-link}" target="_blank">{title}</a>' type="text" style="width:400px" readonly="readonly" /></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
  </div><hr /></noindex>



ფაილის გადმოწერა შეუძლიათ მხოლოდ დარეგისტრირებულ მომხმარებლებს



1342
ავტორი: 3D კატეგორია: DLE Modules
სულ კომენტარები: 0