-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_metatags.php
473 lines (217 loc) · 11.9 KB
/
mod_metatags.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<?php
/**
* @package Module for Joomla!
* @subpackage mod_metatags
* @version 4.3
* @author AlexonBalangue.me
* @copyright (C) 2012-2019 Alexon Balangue. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die;
use Joomla\Registry\Registry;
//webutation-site-verification
$app = JFactory::getApplication();
$docs = JFactory::getDocument();
$gconfigs = JFactory::getConfig();
$docs->setGenerator(null);//remove generator
$sitename = $gconfigs->get('sitename');
$titles = htmlspecialchars($docs->getTitle(), ENT_COMPAT, 'UTF-8');
$site_url = JURI::current();
$Keyword = htmlspecialchars($gconfigs->get('MetaKeys'), ENT_COMPAT, 'UTF-8');
$auteur = $params->get('author-userid-website'); //$app->getCfg('MetaAuthor');
$desciption = htmlspecialchars($docs->getDescription(), ENT_COMPAT, 'UTF-8');
$language = substr($docs->language, 0, 2); #JFactory::getLanguage()->getTag()
$site_root = JURI::root();
$site_base = JURI::base();
//$site_all = $params->get('protocoles').'://'.$_SERVER['SERVER_NAME'].'/';
$custom_link_jsonjd_search = $params->get('jsonjd-search');
$witgetdotcom = $params->get('witgetdotcom');
$audiencemeta = $params->get('audiencemeta');
$blogcatalogdotcom = $params->get('blogcatalogdotcom');
$googlekey = $params->get('googlekey');
$Pinterestkey = $params->get('Pinterestkey');
$pingdomkey = $params->get('pingdomkey');
$rights_standard = $params->get('rights-standard');
$startver = $params->get('startver');
$yandexkey = $params->get('yandexkey');
$bingkey = $params->get('bingkey');
$alexakey = $params->get('alexakey');
$detectify_verification = $params->get('detectify-verification');
$format_detection_SafariiOS = $params->get('format_detection_SafariiOS');
$DJsonLDs = $params->get('date-jsonld');
$JsonLD_opens = $params->get('JsonLD-opens');
$JsonLD_close = $params->get('JsonLD-close');
$RevisitAfter = $params->get('Revisit-After');
$Rating = $params->get('Rating');
$Distribution = $params->get('Distribution');
$Location = $params->get('Location');
$Publisher = $params->get('Publisher');
$DateCreationyyyymmdd = $params->get('Date-Creation-yyyymmdd');
$DateRevisionyyyymmdd = $params->get('Date-Revision-yyyymmdd');
$Category = $params->get('Category');
$georegion = $params->get('georegion');
$geoplacename = $params->get('geoplacename');
$geoposition = $params->get('geoposition');
$ICBM = $params->get('ICBM');
$robots = $params->get('robots');
$CSP = $params->get('Content-Security-Policy');
$urlgooglechrome_webapps = $params->get('urlgooglechrome-webapps');
$mybitcoin_account = $params->get('mybitcoin-account');
$blazerr_ssl = $params->get('blazerr_ssl');
$wotverification = $params->get('wot-verification');
$sefewebnorton = $params->get('sefeweb-norton');
$bitly = $params->get('bitly-verification');
$okpays = $params->get('okpays-verification');
$myblogguestkey = $params->get('myblogguestkey');
$baidukey = $params->get('baidukey');
$majestickey = $params->get('majestickey');
$expires = $params->get('expires');
$logoimg = $site_root.$params->get('logoimg');
$classification = $params->get('classification-meta');
$twittercards = $params->get('choosetwitter_card');
$Tynpush = $params->get('Tynpush');
$backlinks_frontendh = $params->get('backlinks-frontendh');
$backlinks_frontendf = $params->get('backlinks-frontendf');
$jsonLD_type = $params->get('json-ld-TYPE');
$jsonLD_custom = $params->get('schema_custom');
$freewebsubmission_backlinks = $params->get('freewebsubmission_backlink');
$addme_backlinks = $params->get('addme_backlink');
$sonicrun_backlinks = $params->get('sonicrun_backlink');
$addpro_backlinks = $params->get('addpro_backlink');
$hypersmash_idsite = $params->get('hypersmash_idsite');
$ineedhits_idsite = $params->get('ineedhits_idsite');
$Twittersite = $params->get('websitetwitter');
$TwitterCreate = $params->get('creatortwitter');
$TwitterDev = $params->get('developpertwitter');
$show_mobile = $params->get('show_mobile');
/**For twitter Cards META-Tags**/
$tw_pix = $site_root.$params->get('photo_twitter');
$tw_movie = $site_root.$params->get('video_twitter');
$tw_pix_width = $params->get('photo_twitterwidth');
$tw_pix_height = $params->get('photo_twitterheight');
$tw_movie_width = $params->get('video_twitterwidth');
$tw_movie_height = $params->get('video_twitterheight');
$langsapps = $params->get('langsapps');
$Twprd_label1 = $params->get('twitterprod_label1');
$Twprd_label2 = $params->get('twitterprod_label2');
$Twprd_data1 = $params->get('twitterprod_data1');
$Twprd_data2 = $params->get('twitterprod_data2');
$Tw_imgsrc0 = $site_root.$params->get('twitterimg_src0');
$Tw_imgsrc1 = $site_root.$params->get('twitterimg_src1');
$Tw_imgsrc2 = $site_root.$params->get('twitterimg_src2');
$Tw_imgsrc3 = $site_root.$params->get('twitterimg_src3');
$shareaholicsite_idAPI = $params->get('shareaholicsite_idAPI');
/**Facebook/ogp**/
$ogtypes = $params->get('ogtype');
$ogpimages = $site_root.$params->get('ogpgraph_img');
$fbapp_idopgme = $params->get('fbappid');
$fbapp_admin = $params->get('fbadmins');
$fb_profils = $params->get('fbprofils_id');
/**Contact meta**/
$CoB_Name = $params->get('Co-B_Name');
$CoB_Organization = $params->get('Co-B_Organization');
$CoB_StreetAddress = $params->get('Co-B_StreetAddress');
$CoB_Zipcode = $params->get('Co-B_Zipcode');
$CoB_City = $params->get('Co-B_City');
$CoB_Country = $params->get('Co-B_Country');
$CoB_PhoneNumber = $params->get('Co-B_PhoneNumber');
$CoB_FaxNumber = $params->get('Co-B_FaxNumber');
$CoB_NetworkAddress = $params->get('Co-B_NetworkAddress');
/**autres**/
$linkstantkey = $params->get('linkstant');
$googletranslatecustomization = $params->get('googletranslatecustomization');
$gganalystic = $params->get('analyse-domainname');
$gganalystic_UA = $params->get('analyse-UA');
$optimizelyKEYjs = $params->get('optimizelyKEYjs');
$visualwebsiteoptimizer = $params->get('visualwebsiteoptimizers-idaccount');
/**Mobile**/
$logoimg_mobile_startup = $site_root.$params->get('mobile-icons-startup');
$logoimg_mobile = $site_root.$params->get('mobile-icons-logo');
$logoimg_mobile72x72 = $site_root.$params->get('mobile-icons-logo72x72');
$logoimg_mobile114x114 = $site_root.$params->get('mobile-icons-logo114x114');
$show_mobile_device = $params->get('show_device');
$myAffiliateDataapps = $params->get('myAffiliateDataapps-APPLE'); /**Pinned Apple/chrome/others**/ $JacoIcons_1 = $params->get('pinnedaco-icons-1'); $JacoIcons_2 = $params->get('pinnedaco-icons-2'); $JacoIcons_3 = $params->get('pinnedaco-icons-3'); $JacoIcons_4 = $params->get('pinnedaco-icons-4'); $JacoIcons_mask = $params->get('pinnedaco-icons-mask'); $Jaco_manifest = $params->get('pinnedaco-manifest'); $Jaco_them_color = $params->get('pinnedaco-them-color');
/**Pinned Website windows 7**/
$JltaskIcons_final = $params->get('pinned7-icons');
$JltaskNames_1 = $params->get('pinned7-ltaskNames-1');
$JltaskNames_2 = $params->get('pinned7-ltaskNames-2');
$JltaskNames_3 = $params->get('pinned7-ltaskNames-3');
$JltaskNames_4 = $params->get('pinned7-ltaskNames-4');
$JltaskNames_5 = $params->get('pinned7-ltaskNames-5');
$JltaskNames_6 = $params->get('pinned7-ltaskNames-6');
$JltaskNames_7 = $params->get('pinned7-ltaskNames-7');
$JltaskNames_8 = $params->get('pinned7-ltaskNames-8');
$JltaskNames_9 = $params->get('pinned7-ltaskNames-9');
$JltaskPages_1 = $params->get('pinned7-ltaskPages-1');
$JltaskPages_2 = $params->get('pinned7-ltaskPages-2');
$JltaskPages_3 = $params->get('pinned7-ltaskPages-3');
$JltaskPages_4 = $params->get('pinned7-ltaskPages-4');
$JltaskPages_5 = $params->get('pinned7-ltaskPages-5');
$JltaskPages_6 = $params->get('pinned7-ltaskPages-6');
$JltaskPages_7 = $params->get('pinned7-ltaskPages-7');
$JltaskPages_8 = $params->get('pinned7-ltaskPages-8');
$JltaskPages_9 = $params->get('pinned7-ltaskPages-9');
/**Pinned Website windows 8**/
$pinned8_color = $params->get('pinned8-color');
$pinned8_navbutton_color = $params->get('pinned8-navbutton-color');
$pinned8_square70x70logo = $site_root.$params->get('pinned8-square70x70logo');
$pinned8_square150x150logo = $site_root.$params->get('pinned8-square150x150logo');
$pinned8_square144x144logo = $site_root.$params->get('pinned8-square144x144logo');
$pinned8_wide310x150logo = $site_root.$params->get('pinned8-wide310x150logo');
$pinned8_square310x310logo = $site_root.$params->get('pinned8-square310x310logo');
$pinned8_linksrss = $params->get('pinned8-linksrss');
$opensearch_url = $params->get('URL-OpenSearch');
$sitemap_url = $params->get('URL-Sitemap');
$pinned8_badgebrowser = $params->get('pinned8_badgebrowser');
$pinned8_IEconfig = $params->get('pinned8_IEconfig');
$doYouHave_AffilateApple = $params->get('doYouHave_AffilateApple');
$myAccountGoogleplus = $params->get('myAccountGoogleplus');
$viglink_idsite = $params->get('viglink_idsite');
$lxwfr_backlink = $params->get('lxwfr_backlink');
$APPID_webstoreGoogle = $params->get('APPID_webstoreGoogle');
/**Mesure d'audiance***/
$num_s_xiti = $params->get('xiti-s');
$shareaholicsite_shareablepage = $params->get('shareaholicsite-shareable_page');
$shareaholicsite_analytics = $params->get('shareaholicsite-analytics');
/**json LD ordganisation***/
$JsonLD_organisation_legalName = $params->get('JsonLD-organisation-legalName');
$JsonLD_organisation_founder = $params->get('JsonLD-organisation-founder');
$JsonLD_organisation_foundingDate = $params->get('JsonLD-organisation-foundingDate');
$JsonLD_organisation_medialogo = $site_root.$params->get('JsonLD-organisation-medialogo');
$JsonLD_organisation_fax = $params->get('JsonLD-organisation-fax');
$JsonLD_organisation_taxID = $params->get('JsonLD-organisation-taxID');
$JsonLD_organisation_vatID = $params->get('JsonLD-organisation-vatID');
$JsonLD_organisation_telephone = $params->get('JsonLD-organisation-telephone');
$JsonLD_organisation_minValue = $params->get('JsonLD-organisation-minValue');
$JsonLD_organisation_maxValue = $params->get('JsonLD-organisation-maxValue');
/**json LD person***/
$JsonLD_person_honorificPrefix = $params->get('JsonLD-person-honorificPrefix');
$JsonLD_person_name = $params->get('JsonLD-person-name');
$JsonLD_person_mediaimage = $site_root.$params->get('JsonLD-person-mediaimage');
$JsonLD_person_birthDate = $params->get('JsonLD-person-birthDate');
$JsonLD_person_faxNumber = $params->get('JsonLD-person-faxNumber');
$JsonLD_person_telephone = $params->get('JsonLD-person-telephone');
$JsonLD_person_gender = $params->get('JsonLD-person-gender');
/*piwik*/
$show_piwik = $params->get('show_piwik');
$urldomain_piwik_interne = $params->get('url-piwik');
$idsite_piwik = $params->get('site-id-piwik');
$setCookieDomain_piwik = $params->get('setCookieDomain-piwik');
/*Twitter theme*/
$Twitterwidgettheme = $params->get('twitterwidgettheme');
$TwitterWthemelink = $params->get('twitterwidgetthemelink');
$TwitterWthemeborder = $params->get('twitterwidgetthemeborder');
$Twitterautoload = $params->get('witterautoload');
$Twitterdnt = $params->get('witterdnt');
$Twittercsp = $params->get('wittercsp');
/*Business*/
$gtagsmanager = $params->get('gtagsmanager');
require JModuleHelper::getLayoutPath('mod_metatags', $params->get('layout', 'default'));