H_e_r_m_i_t

Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Например: Sources\lib\post_parser.php После Код:| $txt = preg_replace( "#(\?|&|;|&)s=([0-9a-zA-Z]){32}(&|;|&|$)?#e", "\$this->regex_bash_session('\\1', '\\3')", $txt ); | вставляешь Код: $txt = preg_replace( "#\[align=right\](.+?)\[/align\]#is", "<div align=right>\\1</div>", $txt ); $txt = preg_replace( "#\[align=left\](.+?)\[/align\]#is", "<div align=left>\\1</div>", $txt ); $txt = preg_replace( "#\[align=center\](.+?)\[/align\]#is", "<div align=center>\\1</div>", $txt ); | а после Код:| $txt = preg_replace( "#</ul>#", "\[/LIST\]" , $txt ); | вставляешь Код: $txt = preg_replace( "#<div align=center>(.+?)</div>#" , "\[align=center\]\\1\[/align\]", $txt); $txt = preg_replace( "#<div align=left>(.+?)</div>#" , "\[align=left\]\\1\[/align\]", $txt); $txt = preg_replace( "#<div align=right>(.+?)</div>#" , "\[align=right\]\\1\[/align\]", $txt); | Затем в skin/../skin_post.php После Код: <select name='fcolor' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'COLOR')" onMouseOver="hstat('color')"> <option value='0'>{$ibforums->lang['ct_color']}</option> <option value='blue' style='color:blue'>{$ibforums->lang['ct_blue']}</option> <option value='red' style='color:red'>{$ibforums->lang['ct_red']}</option> <option value='purple' style='color:purple'>{$ibforums->lang['ct_purple']}</option> <option value='orange' style='color:orange'>{$ibforums->lang['ct_orange']}</option> <option value='yellow' style='color:yellow'>{$ibforums->lang['ct_yellow']}</option> <option value='gray' style='color:gray'>{$ibforums->lang['ct_grey']}</option> <option value='green' style='color:green'>{$ibforums->lang['ct_green']}</option> </select> | Вставляешь Код: <select name='fcolor' class='codebuttons' onchange="alterfont(this.options[this.selectedIndex].value, 'align')"> <option value='0'>Выравнивание</option> <option value='left' >влево</option> <option value='center' >по центру</option> <option value='right' >вправо</option> </select> | Вроде ничего не забыл... |