Skip to content

Commit

Permalink
Fix get_public_url()
Browse files Browse the repository at this point in the history
  • Loading branch information
dshafik committed Jan 19, 2010
1 parent fd4acb4 commit f005430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/twittersearch/extension.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function get_user_url($user)

function get_public_url()
{
return $this->get_user_url($this->options['username']);
return $this->get_url();
}

function parse_users($text)
Expand Down Expand Up @@ -80,7 +80,7 @@ function save()

function render_item($row, $item)
{
return "{$item['user']} <em>&raquo;</em> " . $item['description'] . " <span style='font-size: 80%'>[<a href='{$item['link']}'>link</a>]</span>"; // $this->parse_search_term($this->parse_users($this->parse_urls(htmlspecialchars($item['description'])))) . ' ['.$this->lifestream->get_anchor_html(htmlspecialchars($this->options['username']), $item['link']).']';
return "{$item['user']} <em>&raquo;</em> " . $item['description'] . " <span style='font-size: 80%'>[<a href='{$item['link']}'>link</a>]</span>";
}

function yield($row, $url, $key)
Expand Down

0 comments on commit f005430

Please sign in to comment.