From 51541b9d82089f1beb1e2dbe2c4bf42041d62759 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 13 Dec 2012 15:15:24 -0800 Subject: Bug 819508: Add OpenGraph support --- extensions/OpenGraph/Config.pm | 16 ++++++++++++++++ extensions/OpenGraph/Extension.pm | 16 ++++++++++++++++ .../en/default/hook/global/header-start.html.tmpl | 13 +++++++++++++ extensions/OpenGraph/web/bugzilla.png | Bin 0 -> 17036 bytes 4 files changed, 45 insertions(+) create mode 100644 extensions/OpenGraph/Config.pm create mode 100644 extensions/OpenGraph/Extension.pm create mode 100644 extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl create mode 100644 extensions/OpenGraph/web/bugzilla.png (limited to 'extensions/OpenGraph') diff --git a/extensions/OpenGraph/Config.pm b/extensions/OpenGraph/Config.pm new file mode 100644 index 000000000..9204db234 --- /dev/null +++ b/extensions/OpenGraph/Config.pm @@ -0,0 +1,16 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This Source Code Form is "Incompatible With Secondary Licenses", as +# defined by the Mozilla Public License, v. 2.0. + +package Bugzilla::Extension::OpenGraph; + +use strict; + +use constant NAME => 'OpenGraph'; +use constant REQUIRED_MODULES => [ ]; +use constant OPTIONAL_MODULES => [ ]; + +__PACKAGE__->NAME; diff --git a/extensions/OpenGraph/Extension.pm b/extensions/OpenGraph/Extension.pm new file mode 100644 index 000000000..f278a8958 --- /dev/null +++ b/extensions/OpenGraph/Extension.pm @@ -0,0 +1,16 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This Source Code Form is "Incompatible With Secondary Licenses", as +# defined by the Mozilla Public License, v. 2.0. + +package Bugzilla::Extension::OpenGraph; + +use strict; + +use base qw(Bugzilla::Extension); + +our $VERSION = '1'; + +__PACKAGE__->NAME; diff --git a/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl b/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl new file mode 100644 index 000000000..8503343df --- /dev/null +++ b/extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl @@ -0,0 +1,13 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE Bugzilla %] + + + + diff --git a/extensions/OpenGraph/web/bugzilla.png b/extensions/OpenGraph/web/bugzilla.png new file mode 100644 index 000000000..55ee01210 Binary files /dev/null and b/extensions/OpenGraph/web/bugzilla.png differ -- cgit v1.2.3-24-g4f1b