Идеи по оптимизации

zxc

Пользователь
Срочно выпилить
PHP:
// Image
$bbcode_tpl['img'] = <<<HTML
    <var class="postImg" title="$1">&#10;</var>
HTML;

$bbcode_tpl['img_aligned'] = <<<HTML
    <var class="postImg postImgAligned img-\\1" title="\\2">&#10;</var>
HTML;

Код:
 onsubmit="var txt=$('#search-text').val(); return !(txt=='{L_TITLE_SEARCH_HINT}' || !txt);"

HTML:
<a href="#" onclick="change_torrents($('#tor-{postrow.attach.tor_reged.ATTACH_ID} select').val()); return false;"><input type="submit" value="{L_SUBMIT}" class="liteoption" /></a>

HTML:
<div class="spacer_6">
</div>

HTML:
<table width="100" cellpadding="0" cellspacing="0" border=1>

От таблиц отказались бы уже давно. Уж больно грузные они.
Или можно на крайний случай быстренько интегрировать bootstrap массовой заменой
<table class="(.*?)"> на <table class="table table-bordered">
 
Сверху