From: <ru...@us...> - 2010-06-14 12:05:41
|
Revision: 7532 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7532&view=rev Author: rurban Date: 2010-06-14 12:05:35 +0000 (Mon, 14 Jun 2010) Log Message: ----------- add opengraph site and title for FacebookLike Modified Paths: -------------- trunk/themes/Crao/templates/head.tmpl trunk/themes/default/templates/head.tmpl trunk/themes/wikilens/templates/head.tmpl Modified: trunk/themes/Crao/templates/head.tmpl =================================================================== --- trunk/themes/Crao/templates/head.tmpl 2010-06-14 08:03:53 UTC (rev 7531) +++ trunk/themes/Crao/templates/head.tmpl 2010-06-14 12:05:35 UTC (rev 7532) @@ -110,5 +110,7 @@ $pagetitle = " - ". AsString($TITLE); ?> <title><?=WIKI_NAME.$pagetitle?></title> +<meta property="og:title" content="<?= $TITLE ?>"/> +<meta property="og:site_name" content="<?= WIKI_NAME ?>"/> <?= $WikiTheme->getMoreHeaders() ?> </head> Modified: trunk/themes/default/templates/head.tmpl =================================================================== --- trunk/themes/default/templates/head.tmpl 2010-06-14 08:03:53 UTC (rev 7531) +++ trunk/themes/default/templates/head.tmpl 2010-06-14 12:05:35 UTC (rev 7532) @@ -117,5 +117,7 @@ $pagetitle = " - ". AsString($TITLE); ?> <title><?= WIKI_NAME.$pagetitle ?></title> +<meta property="og:title" content="<?= $TITLE ?>"/> +<meta property="og:site_name" content="<?= WIKI_NAME ?>"/> <?= $WikiTheme->getMoreHeaders() ?> </head> Modified: trunk/themes/wikilens/templates/head.tmpl =================================================================== --- trunk/themes/wikilens/templates/head.tmpl 2010-06-14 08:03:53 UTC (rev 7531) +++ trunk/themes/wikilens/templates/head.tmpl 2010-06-14 12:05:35 UTC (rev 7532) @@ -110,6 +110,8 @@ $pagetitle = " - ". AsString($TITLE); ?> <title><?= WIKI_NAME.$pagetitle ?></title> +<meta property="og:title" content="<?= $TITLE ?>"/> +<meta property="og:site_name" content="<?= WIKI_NAME ?>"/> <?php require_once("lib/plugin/RateIt.php"); $plugin = new WikiPlugin_RateIt; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |