From adc40093e5b57caab5d2ce0479cca8493306d623 Mon Sep 17 00:00:00 2001 From: clickwork-git Date: Mon, 26 Oct 2015 15:48:32 +0100 Subject: [PATCH] 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; + } +}