Jeremy Newman : set title and mega og

Jeremy Newman jnewman at wine.codeweavers.com
Thu Oct 23 11:26:21 CDT 2014


Module: website
Branch: master
Commit: 2a501a65e59894c68079ccbfea71d06cb9a21587
URL:    http://source.winehq.org/git/website.git/?a=commit;h=2a501a65e59894c68079ccbfea71d06cb9a21587

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Thu Oct 23 11:24:05 2014 -0500

set title and mega og

---

 include/plugins/wwn.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/plugins/wwn.php b/include/plugins/wwn.php
index e42afcc..45fd48d 100644
--- a/include/plugins/wwn.php
+++ b/include/plugins/wwn.php
@@ -69,6 +69,9 @@ switch ($_PLUGIN['mode'])
             case preg_match("/^[0-9]+$/", PAGE_PARAMS):
                 // display single WWN issue
                 echo $wwn->view_issue(PAGE_PARAMS);
+                // page title
+                $html->page_title .= " - WWN Issue ".PAGE_PARAMS;
+                $html->meta_og['title'] = "WWN Issue ".PAGE_PARAMS;
                 break;
              // end single issue
 




More information about the wine-cvs mailing list