* print the foot from the page
*/
function printFoot() {
- $temp = " </div> <!-- #content -->\n";
+ $temp = $this->getSocialBookmarks();
+ $temp .= " </div> <!-- #content -->\n";
$temp .= "<p id=\"poweredby\">\n";
$temp .= " <a href=\"http://sourceforge.net/\"><img src=\"http://sourceforge.net/sflogo.php?group_id=13216&type=3\" width=\"125\" height=\"37\" border=\"0\" alt=\"SourceForge\" title=\"SourceForge.net\"></a>\n";
$temp .= " <a href=\"http://sourceforge.net/donate/index.php?group_id=13216\"><img src=\"/engine/images/project-support.jpg\" width=\"88\" height=\"32\" border=\"0\" alt=\"Donate\" title=\"Donate money to WinMerge\"></a>\n";
}
/**
+ * get the social bookmarks code
+ */
+ function getSocialBookmarks() {
+ $temp = "<div id=\"bookmarks\">\n";
+ $temp .= "<img src=\"http://static.delicious.com/img/delicious.small.gif\" height=\"10\" width=\"10\" alt=\"Delicious\">\n";
+ $temp .= "<a href=\"http://delicious.com/save\" onclick=\"window.open('http://delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;\"> Bookmark this on Delicious</a>\n";
+ $temp .= "</div> <!-- #bookmarks -->\n";
+ return $temp;
+ }
+
+ /**
* get the Piwik java script code
*/
function getPiwikCode() {