Сделано в СССР, 23.11.2005 - 3:15
Вот предмет вопроса
Надо сделать чтобы название топика, имя автора и дата были в одну строчку(дату в принципе даже убрать можно - но тоже не знаю как) чтобы место подсэкономить а то растягивается далеко...
Кто знает подскажите. Вот код данного блока(сам так и не разобрался
)
CODE
<!-- Latest Topics -->
<div class="borderwrap" style='display:{$show['div_fc']}' id='fc_topics'>
<div class='maintitle'>
<div style='float:right;width:auto'><a href='javascript:togglecategory("topics", 0);'><{E_PLUS}></a></div>
<div>{ipb.lang['topics_header']}</div>
</div>
<div class='formsubtitle'>
<div style='float:right;width:auto'><a href='{ipb.script_url}act=Search&CODE=getnew'>{ipb.lang['view_all']}</a></div>
<div align='left'> </div>
</div>
</div>
<!--<div class="borderwrap" style='display:{$show['div_fo']}' id='fo_topics'>-->
<div class='maintitle'>
<div style='float:right;width:auto'><a href='javascript:togglecategory("topics", 1);'><{E_MINUS}></a></div>
<div>{ipb.lang['topics_header']}</div>
</div>
<table width='100%' cellpadding='4' cellspacing='1'>
<tr>
<td width="100%" class="row2" align="left">
{$stuff}
</td>
</tr>
<tr>
<td class="catend"><!-- no content -->00000000000000000</td>
</tr>
</table>
<br />
<!-- Latest Topics -->
PRYANIK, 23.11.2005 - 14:14
Не там смотришь, здесь:
CODE
// latest_poster_info
//====
function latest_poster_info($data=array()) {
global $ibforums;
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<p style='padding:2px;margin:2px;'>
<a href='{$ibforums->base_url}showtopic={$data['tid']}&view=getnewpost'> <b>{$data['title']}</b> </a>
<br />
<i> <span style='font-size:9px;'> {$data['date']} </span> <br />
{$ibforums->lang['t_by']} {$data['last_poster_name']}</i>
</p>
EOF;
//--endhtml--//
return $IPBHTML;
}
PRYANIK, 23.11.2005 - 15:50
QUOTE(Сделано в СССР @ 23.11.2005 - 14:28)
Ну а если и так - как в одну строку-то прописать? Все равно не понимаю...
Убери из кода тэги