From ba7e88e5a59295ac3eed38ea627e9fa2a414b989 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 25 Nov 2010 12:58:29 +0300 Subject: add tweet button to digest, misc digest fixes; rework article tweeting to use ajax loading of needed info --- functions.php | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 888af5667..5f88c5552 100644 --- a/functions.php +++ b/functions.php @@ -4577,15 +4577,6 @@ print "
" . truncate_string(strip_tags($line['title']), 15) . "
"; - $tweet_title = htmlspecialchars( - truncate_string(strip_tags($line['title']), 100, '...')); - - $tweet_link = htmlspecialchars($line['link']); - - print ""; - print json_encode(array("title" => $tweet_title, "link" => $tweet_link)); - print ""; - print "
"; /* print "
"; - print json_encode(array("title" => $tweet_title, "link" => $tweet_link)); - print ""; - print "
"; print "
"; -- cgit v1.2.3