aboutsummaryrefslogtreecommitdiffstats
path: root/mod/parse_url.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-04 19:58:03 -0700
committerFriendika <info@friendika.com>2011-09-04 19:58:03 -0700
commit82f7f33cf58774ac6b07acd64fe0b49cd5b0aa30 (patch)
tree54400fab49c5f64b917db32c60cc201f2ac6e626 /mod/parse_url.php
parent481853d2cc44a4bf6c540e72c741ff453305a925 (diff)
downloadvolse-hubzilla-82f7f33cf58774ac6b07acd64fe0b49cd5b0aa30.tar.gz
volse-hubzilla-82f7f33cf58774ac6b07acd64fe0b49cd5b0aa30.tar.bz2
volse-hubzilla-82f7f33cf58774ac6b07acd64fe0b49cd5b0aa30.zip
bookmarks + bug #140
Diffstat (limited to 'mod/parse_url.php')
-rw-r--r--mod/parse_url.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/parse_url.php b/mod/parse_url.php
index b10d11c4b..79c336ddc 100644
--- a/mod/parse_url.php
+++ b/mod/parse_url.php
@@ -13,7 +13,7 @@ function parse_url_content(&$a) {
$text = null;
- $template = "<br /><a href=\"%s\" >%s</a>%s<br />";
+ $template = "<br /><a class=\"bookmark\" href=\"%s\" >%s</a>%s<br />";
$arr = array('url' => $url, 'text' => '');
@@ -121,6 +121,10 @@ function parse_url_content(&$a) {
$title = str_replace("\n",'',$title);
- echo sprintf($template,$url,($title) ? $title : $url,$text);
+ $result = sprintf($template,$url,($title) ? $title : $url,$text);
+
+ logger('parse_url: returns: ' . $result);
+
+ echo $result;
killme();
}