Ести ли опасность если оставить в tinymce вкладку html, я проверял javascript обрабатывает
Вопрос может глупый, но всё таки?
<form action="{router page='search'}topics/"> <input type="text" placeholder="{$aLang.search_what_site}" maxlength="255" name="q" class="input-text input-width-full"> <select что нужно указать тут?> <option value="?">Топики</option> <option value="?">Комментарии</option> <option value="?">Люди</option> </select> <button class="button" type="submit" value="" title="{$aLang.search_submit}">{$aLang.search_submit}</button> </form>
*/ $sText = preg_replace('/<video>(.*)<\/video>/Ui', '<object width="560" height="340"><param name="wmode" value="opaque"></param><param name="allowFullScreen" value="true"></param><param name="movie" value="http://ПУТЬ_К_ПЛЕЕРУ/player.swf"></param><param name="flashvars" value="comment=&st=http://ПУТЬ_К_СТИЛЮ_ВИДЕОПЛЕЕРА/video.txt&file=$1&"></param><embed src="http://ПУТЬ_К_ПЛЕЕРУ/player.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" flashvars="comment=&st=http://ПУТЬ_К_СТИЛЮ_ВИДЕОПЛЕЕРА/video.txt&file=$1&" width="560" height="340"></embed></param></embed></embed></object>', $sText); return $sText; }