Адрес новости + Соц закладки в модальном окне DLE
Хак добавляет кнопку "Поделиться", при нажатии на которую появляется окно с ссылками на новость и кнопками добавления в социальные сети и закладки.
Установка:
1. 
Скачать архив который в конце новости и скопируем папку "
socimg" в templates/images/.
2. Открываем 
show.full.php:
Ищем:
	PHP код:
 
	
		
			
$tpl->set( '{comments}', "<!--dlecomments-->" ); 
		
	
 Выше ставим:
	PHP код:
 
	
		
			
        $soc_set = "<center><div class="showLinki">
<div class="quote">
<input type="submit" class="fbutton" onclick="func_linki(); return false;"  value="Поделиться">
</div></div></center>
<div id="showLinki" title="<center>Пользуешься сервисами социальных закладок? Понравилась новость?<br />↓↓↓Тогда тебе сюда↓↓↓</center>" style="display:none;" >
<center><strong>HTML-cсылка:</strong>
<br />
        <input class="m_input" height:20px"; type="text" onclick="this.select();" onfocus="this.select();" readOnly value="<a href={$full_link}>{$metatags['title']}</a>">       
<br />
<strong>BB-cсылка:</strong>
<br />
        <input class="m_input" type="text" onclick="this.select();" onfocus="this.select();" readOnly value="{$metatags['title']}">
<br />
<strong>Прямая ссылка:</strong>
<br />
        <input class="m_input" type="text" onclick="this.select();" onfocus="this.select();" readOnly value="{$full_link}">
        <div class="clr ierrors"></div>
        <noindex>
        <div id="socializ">
                <a rel="nofollow" href="http://vkontakte.ru/" onclick="window.open('http://vkontakte.ru/share.php?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&desc='+encodeURIComponent(document.title)+'&tags={$metatags['keywords']}');return false;" title="Поделиться ВКонтакте">
                <img src="{THEME}/images/socimg/vkontakte.png" alt="Добавить закладку в ВКонтакте" border='0'></a>
                <a rel="nofollow" href="http://www.facebook.com/" onclick="window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&desc='+encodeURIComponent(document.title)+'&tags={$metatags['keywords']}');return false;" title="Поделиться в Facebook">
                <img src="{THEME}/images/socimg/facebook.png" alt="Добавить закладку в Facebook" border='0'></a>
                <a rel="nofollow" href="http://twitter.com/" onclick="window.open('http://twitter.com/home?status=RT @ru_server '+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&desc='+encodeURIComponent(document.title)+'&tags={$metatags['keywords']}');return false;" title="Добавить в Twitter">
                <img src="{THEME}/images/socimg/twitter.png" alt="Добавить закладку в Twitter" border='0'></a>
                <a rel="nofollow" href="http://www.google.com/" onclick="window.open('http://www.google.com/buzz/post?message='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&desc='+encodeURIComponent(document.title)+'&tags={$metatags['keywords']}');return false;" title="Добавить в Google Buzz">
                <img src="{THEME}/images/socimg/google-buzz.png" alt="Добавить закладку в Google Buzz" border='0'></a>
                <a rel="nofollow" href="http://bobrdobr.ru/" onclick="window.open('http://bobrdobr.ru/add.html?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&desc='+encodeURIComponent(document.title)+'&tags={$metatags['keywords']}');return false;" title="Забобрить">
                <img src="{THEME}/images/socimg/bobrdobr.png" alt="Добавить закладку в Бобрдобр" border='0'></a>
                <a rel="nofollow" href="http://memori.ru/" onclick="window.open('http://memori.ru/link/?sm=1&u_data[url]='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&desc='+encodeURIComponent(document.title)+'&tags={$metatags['keywords']}');return false;" title="Добавить в Memori.ru">
                <img src="{THEME}/images/socimg/memori.png" alt="Добавить закладку в Memori.ru" border='0'></a>
                </div></noindex>
        </center>
</div>
<script type="text/javascript">
function func_linki() {
$(function(){
    $('#showLinki').dialog({
        autoOpen: true,
        show: 'slide',
        hide: 'slide',
        width: 520,
        height: 300,
        buttons: {
            "Закрыть окно" : function() {
                $(this).dialog("close");
            },
        }
    });
});
}
</script>";
        
        $tpl->set( '{socseti}', $soc_set ); 
		
	
 3.В 
fullstory.tpl в нужное место вставь
Архив с изображениями socimg.rar