09.08.2017, 18:49
pro_portal_threads_announcement Template
all replace it with
pro_portal_threads_announcement_classic Template
all replace it with
Open ./portal/blocks/block_threads_announcements.php and find
replace it with
all replace it with
Code:
<div style="width:49%; display:inline-flex;">
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed" width="100%">
<tr>
<td class="thead"><strong>{$result_blocks['title']} {$icon} <a href="{$mybb->settings['bburl']}/{$threads_announcement['threadlink']}">{$threads_announcement['subject']}</a></strong></td>
</tr>
<tr>
<td class="trow2" align="right" valign="middle" style="padding:8px;"><div>
{$avatar}
<span class="smalltext">{$lang->posted_by} {$profilelink} - {$threads_anndate} {$threads_anntime}<br />{$views} {$numcomments}</span></div>
</td>
</tr>
<tr>
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" width="100%" class="tfixed">
<tr>
<td class="trow1" style="border:0;padding:8px;">
<div class="post_body scaleimages" id="taid_{$threads_announcement['pid']}">
{$threads_message}
</div>
{$post['attachments']}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="trow2" align="right" valign="middle" style="padding:8px;">
<span class="smalltext">
<a href="{$mybb->settings['bburl']}/printthread.php?tid={$threads_announcement['tid']}">
<img src="{$theme['imgdir']}/printable.png" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" />
</a>
<a href="{$mybb->settings['bburl']}/sendthread.php?tid={$threads_announcement['tid']}">
<img src="{$theme['imgdir']}/send.png" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" />
</a>
</span>
</td>
</tr>
</table>
</div>
pro_portal_threads_announcement_classic Template
all replace it with
Code:
<div style="width:49%; display:inline-flex;">
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed" width="100%">
<tr>
<td colspan="2" class="thead"><strong>{$result_blocks['title']}: {$icon} <a href="{$mybb->settings['bburl']}/{$threads_announcement['threadlink']}">{$threads_announcement['subject']}</a></strong></td>
</tr>
<tr>
<td class="trow2" align="left" style="vertical-align:top;padding:8px;">
<div style="width:20%">{$avatar}</div>
</td>
<td class="trow2">
<div class="post_body scaleimages" id="taid_{$threads_announcement['pid']}">{$threads_message}</div>
{$post['attachments']}
</td>
</tr>
<tr>
<td colspan="2" class="trow1" style="padding:8px;">
<div>
<div class="float_left"><span class="smalltext" style="text-align:left;">{$lang->posted_by} {$profilelink} - {$threads_anndate} {$threads_anntime}<br />{$views} {$numcomments}</span></div>
<div class="float_right">
<span class="smalltext" style="text-align:right;">
<a href="{$mybb->settings['bburl']}/printthread.php?tid={$threads_announcement['tid']}">
<img src="{$theme['imgdir']}/printable.png" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" />
</a>
<a href="{$mybb->settings['bburl']}/sendthread.php?tid={$threads_announcement['tid']}">
<img src="{$theme['imgdir']}/send.png" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" />
</a>
</span>
</div>
</div>
</td>
</tr>
</table>
</div>
Open ./portal/blocks/block_threads_announcements.php and find
PHP-Code:
echo $threads_announcements.$multipage;
replace it with
PHP-Code:
echo $threads_announcements;
Mit freundlichen Grüßen
MrBrechreiz
MrBrechreiz