Fixed a markup bug causing the twitter timeline to render wrong

This commit is contained in:
Matthias Mees 2014-05-24 13:42:35 +02:00
parent cb56728468
commit 2aab75080d
4 changed files with 11 additions and 5 deletions

View file

@ -9,6 +9,10 @@ TODO:
* Twitter announcements/credentials etc. per author instead of
only per central blog
1.62
--------------------------
* Fixed a markup bug for twitter timeline (yellowled)
1.61
--------------------------
* Adapted backend markup (tweeter_client.inc.php) for 2.0 backend (yellowled)

View file

@ -1,4 +1,4 @@
<?php
// Actual version of both plugins
@define('PLUGIN_TWITTER_VERSION', '1.61');
@define('PLUGIN_TWITTER_VERSION', '1.62');

View file

@ -2143,7 +2143,7 @@ a.twitter_update_time {
$buffer .= '<li class="tweeter_line">
<div class="tweeter_profile_img">
<img src="'.$status->user->profile_image_url.'" width="48" height="48" alt="" title="' . $status->user->screen_name . '"/>
</div
</div>
<div class="tweeter_profile_text">
<a href="' . $api->get_base_url() .$status->user->screen_name.'">'.$status->user->screen_name.'</a> '.$status->text.'
</div>

View file

@ -5,8 +5,10 @@ if (IN_serendipity !== true) {
?>
<ul id="serendipity_admin_tweeter_statuses">
<?php echo $buffer; ?>
</ul>
<div class="tweeter_clearfix"></div>
<?php
if ($GLOBALS['serendipity']['version'][0] == '1') {
echo '<div class="tweeter_clearfix"></div>';
}
?>