Witam,
Szybka piłka: chcę się pozbyć szajsu na obrazku. Domyślnie w owym pluginie wyświetlany był tam directory tematu. Nie chcę tego mieć w ogóle, dlatego usunąłem pewną linijkę kodu, i... udało się. Coś usunąłem, został tylko oryginalny napis. Czy widzicie w poniższym kodzie linię odpowiedzialną za to?
<style type="text/css" >
/* Inline CSS */
table.recentTopicsTable
{
border: 0;
}
#recentTopics
{
border-bottom: 4px solid #D5DDE5;
}
.block_wrap h3.collapsed a.toggle
{
background-image: url({$this->settings['img_url']}/cat_maximize.png);
}
</style>
<style>
table.novo a{ padding-left: 5px; text-decoration: none;}
</style>
<script src="{$this->settings['public_dir']}js/ips.recentTopicsHook.js" type="text/javascript"></script>
<script src="{$this->settings['public_dir']}js/ips.forums.js" type="text/javascript"></script>
<script type="text/javascript">
ipb.recentTopics.updateInterval = parseInt( {$this->settings['topicosrecentes_updateInterval']} );
</script>
<div class='block_wrap' id="recentTopicsWrapper">
<h3 id='hook_recentTopics' class='maintitle'><a class='right toggle' href='#' title='{$this->lang->words['click_toggle']}'>{$this->lang->words['click_toggle']}</a>{$this->lang->words['topicos_recentes']}</h3>
<table class="ipb_table" cellspacing="0">
<tr>
<th class='header' width='4%'> </th>
<th class='header' width='52%'>{$this->lang->words['forum_topic']}</th>
<th class='header' width='15%'>{$this->lang->words['forum_started_by']}</th>
<th class='header stats' width='11%'>{$this->lang->words['stats']}</th>
<th class='header' width='18%'> {$this->lang->words['forum_last_post_info']}</th>
</tr>
</table>
<div id="recentTopics" style="{$wrapperData['style']}" class="{$wrapperData['class']}">
<if test="is_array( $topicos ) && count( $topicos )">
{parse striping="topicosrecentes_hook" classes="row1,row2"}
<ul>
<foreach loop="topicosrecentes_hook:$topicos as $r">
<php>
$class = "class='altrow'";
$classTwo = '';
</php>
<li>
<table class="ipb_table recentTopicsTable" cellspacing="0" cellpadding="0">
<tr class="{parse striping="topicosrecentes_hook"}">
<td {$class} align='center' width='4%'>
<a title="{$this->lang->words['topico_lido']}" href="{parse url="app=forums&module=ajax§ion=recentTopics&do=maskasread&f={$r['topico']['forum_id']}&t={$r['topico']['tid']}&secure_key={$this->member->form_hash}" base="public"}">{parse replacement="{$r['image']}"}</a>
</td>
<td {$class2} class='__topic __tid{$r['topico']['tid']}' width='52%'>
<if test="$r['topico']['state'] !='link'"><span class='topic_preview right'>{parse template="topic_popup" group="global" params="$r['topico']['tid']"}</span></if>
<if test="$r['topico']['pinned']"><span class='topic_prefix'>{$this->settings['pre_pinned']}</span> </if>
<if test="$r['topico']['poll_state']"><span class='topic_prefix'>{$this->settings['pre_polls']}</span> </if>
<if test="$this->settings['topicosrecentes_movidos'] AND $r['topico']['state'] == 'link'"><span class='topic_prefix'>{$this->settings['pre_moved']}</span> </if>
<if test="$r['topico']['topic_hasattach']">
<a href="{parse url="app=forums&module=forums§ion=attach&tid={$r['topico']['tid']}" base="public"}" title="{parse expression="intval($r['topico']['topic_hasattach'])"} {$this->lang->words['topic_attach']}" onclick="return ipb.forums.retrieveAttachments( {$r['topico']['tid']} );">{parse replacement="t_attach"}</a>
</if>
<if test="istracking:|:! empty($r['topico']['trackingTopic'])">{parse replacement="watch_small"}</if>
<b><a href='{parse url="showtopic={$r['topico']['tid']}&view=getnewpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$r['topico']['title']}'>{IPSText::truncate($r['topico']['title'],60)}</a></b><br />
<span class='desc'>{$this->lang->words['cat_name']}:
<foreach loop="topicsForumTrail:$r['breadcrumb'] as $i => $f">
<a href='{parse url="{$f[1]}" template="showforum" seotitle="{$f[2]}" base="public"}'>{$f[0]}</a> <if test="notLastFt:|:$i+1 != count( $r['breadcrumb'] )">{parse replacement="f_nav_sep"}</if>
</foreach>
</span>
</td>
<td {$class} align='center' width='15%'><address class="author vcard">{IPSLib::makeProfileLink(IPSLib::makeNameFormatted( $r['topico']['starter_name'], $r['topico']['grupo1']), $r['topico']['starter_id'])}{parse template="user_popup" group="global" params="$r['topico']['starter_id'], $r['topico']['nome1']"}</address><br /><span class='desc'>{parse date="$r['topico']['start_date']" format="short"}</span>
</td>
<td {$class2} align='right' width='11%'>
<ul>
<li>
<span class='desc'><a href="{parse url="app=forums&module=extras§ion=stats&do=who&t={$r['topico']['tid']}" base="public"}" onclick="return ipb.forums.retrieveWhoPosted( {$r['topico']['tid']} );">{$this->registry->getClass('class_localization')->formatNumber( $r['topico']['posts'] )}</a> {$this->lang->words['replies']}</span>
</li>
<li>
<span class='desc'>{$this->registry->getClass('class_localization')->formatNumber( $r['topico']['views'] )} {$this->lang->words['views']}</span>
</li>
</ul>
</td>
<td {$class} width='18%'> <a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$r['topico']['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$r['topico']['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$r['topico']['last_post']" format="short"}</a><br /> {$this->lang->words['forum_by']} <address class="author vcard">{IPSLib::makeProfileLink(IPSLib::makeNameFormatted( $r['topico']['last_poster_name'], $r['topico']['grupo2']), $r['topico']['last_poster_id'])}{parse template="user_popup" group="global" params="$r['topico']['last_poster_id'], $r['topico']['nome2']"}</address>
</td>
</tr>
</table>
</li>
</foreach>
</ul>
</if>
</div>
</div>