<?xml version="1.0" encoding="utf-8"?>
<dleplugin>
<name>Вывод {title} в main.tpl из полной новости</name>
<description></description>
<icon></icon>
<version></version>
<dleversion></dleversion>
<versioncompare>==</versioncompare>
<upgradeurl></upgradeurl>
<filedelete>0</filedelete>
<needplugin></needplugin>
<mnotice>0</mnotice>
<mysqlinstall><![CDATA[]]></mysqlinstall>
<mysqlupgrade><![CDATA[]]></mysqlupgrade>
<mysqlenable><![CDATA[]]></mysqlenable>
<mysqldisable><![CDATA[]]></mysqldisable>
<mysqldelete><![CDATA[]]></mysqldelete>
<phpinstall><![CDATA[]]></phpinstall>
<phpupgrade><![CDATA[]]></phpupgrade>
<phpenable><![CDATA[]]></phpenable>
<phpdisable><![CDATA[]]></phpdisable>
<phpdelete><![CDATA[]]></phpdelete>
<notice><![CDATA[]]></notice>
<file name="engine/modules/main.php">
<operation action="before">
<searchcode><![CDATA[if ($config['allow_skin_change']) {]]></searchcode>
<replacecode><![CDATA[if ( $dle_module == "showfull" AND $news_found ) {
$tpl->set( '[news-title]', "" );
$tpl->set( '[/news-title]', "" );
$tpl->set( '{news-title}', $title_buffer );
} else {
$tpl->set( '{news-title}', "" );
$tpl->set_block( "'\\[news-title\\](.*?)\\[/news-title\\]'si", "" );
}]]></replacecode>
<enabled>1</enabled>
</operation>
</file>
<file name="engine/modules/show.full.php">
<operation action="before">
<searchcode><![CDATA[$tpl->set( '{title}', str_replace("&amp;", "&", htmlspecialchars( $row['title'], ENT_QUOTES, 'UTF-8' ) ) );]]></searchcode>
<replacecode><![CDATA[$title_buffer = str_replace("&amp;", "&", htmlspecialchars( $row['title'], ENT_QUOTES, 'UTF-8' ) );]]></replacecode>
<enabled>1</enabled>
</operation>
</file>
</dleplugin>
<td align="right" style="padding-right: 3px; border-radius: 0px;">
<form method="get" action="/">
<input type="hidden" name="do" value="search">
<input type="hidden" name="subaction" value="search">
<input type="hidden" name="titleonly" value="3" name="do" value="search">
<input id="story" class="searchButton" type="text" onfocus="this.style.background = '#d6e7d4';" onblur="this.style.background = '#F9F9F9';" name="story" maxlength="80" value="" placeholder="Введите запрос" autocomplete="off" style="padding: 8px 8px; border-radius: 0px;" /><input class="searchButtonn" type="submit" value="Найти" name="submit2" style="padding: 8px 8px; border-radius: 0px;" />
</form>
</td>
$("#searchsuggestions").css({position:"absolute",top:0,left:0}).position({my:"left top",at:"left bottom",of:"#story",collision:"fit flip"})
$('#xfield_holder_panel, #xfield_holder_panel2, #xfield_holder_panel3').hide();
$(document).ready(function() {
if( dle_group != 1 ) {
var fieldsHide = [
'xfield_holder_panel',
'xfield_holder_panel2',
'xfield_holder_panel3'
];
$.each(fieldsHide, function(index, fieldId) {
$('#' + fieldId).hide();
});
}
});
var dle_login_hash = '{$dle_login_hash}';var dle_group = {$member_id['user_group']};$(document).ready(function() {
if( dle_group == 2 || dle_group == 3) {
$('#xfield_holder_prem2').hide();
}
});<script> (65 строка в ДЛЕ 16)