From adc40093e5b57caab5d2ce0479cca8493306d623 Mon Sep 17 00:00:00 2001 From: clickwork-git Date: Mon, 26 Oct 2015 15:48:32 +0100 Subject: [PATCH 1/2] Create pinterest --- plugins/pinterest | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 plugins/pinterest diff --git a/plugins/pinterest b/plugins/pinterest new file mode 100644 index 00000000..276936dd --- /dev/null +++ b/plugins/pinterest @@ -0,0 +1,37 @@ +dbFields = array( + 'verification-code'=>'' + ); + } + public function form() + { + global $Language; + $html = '
'; + $html .= ''; + $html .= ''; + $html .= '
'.$Language->get('complete-this-field-with-the-google-site-verification').'
'; + $html .= '
'; + return $html; + } + public function siteHead() + { + $html = PHP_EOL.''.PHP_EOL; + $html .= ''.PHP_EOL; + if(Text::isEmpty($this->getDbField('google-site-verification'))) { + return false; + } + return $html; + } + public function siteBodyEnd() + { + $html = PHP_EOL.''.PHP_EOL; + $html .= ''; + if(Text::isEmpty($this->getDbField('verification-code'))) { + return false; + } + return $html; + } +} From 59939433a1e39fb132e4c5fa9c5fd8495eeeacec Mon Sep 17 00:00:00 2001 From: clickwork-git Date: Mon, 26 Oct 2015 15:51:00 +0100 Subject: [PATCH 2/2] Delete pinterest --- plugins/pinterest | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 plugins/pinterest diff --git a/plugins/pinterest b/plugins/pinterest deleted file mode 100644 index 276936dd..00000000 --- a/plugins/pinterest +++ /dev/null @@ -1,37 +0,0 @@ -dbFields = array( - 'verification-code'=>'' - ); - } - public function form() - { - global $Language; - $html = '
'; - $html .= ''; - $html .= ''; - $html .= '
'.$Language->get('complete-this-field-with-the-google-site-verification').'
'; - $html .= '
'; - return $html; - } - public function siteHead() - { - $html = PHP_EOL.''.PHP_EOL; - $html .= ''.PHP_EOL; - if(Text::isEmpty($this->getDbField('google-site-verification'))) { - return false; - } - return $html; - } - public function siteBodyEnd() - { - $html = PHP_EOL.''.PHP_EOL; - $html .= ''; - if(Text::isEmpty($this->getDbField('verification-code'))) { - return false; - } - return $html; - } -}