Server : Apache System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64 User : hednacluml ( 122243) PHP Version : 8.3.9 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/hednacluml/liberlog/tmp/cache/skel/ |
<?php /* * Squelette : plugins/auto/socialtags/socialtags.js.html * Date : Sat, 25 Feb 2023 20:19:26 GMT * Compile : Sat, 25 Feb 2023 20:24:37 GMT * Boucles : */ // // Fonction principale du squelette plugins/auto/socialtags/socialtags.js.html // Temps de compilation total: 0.170 ms // function html_9b3e5f8d6c6a0a3f3f1e2b1ed9514941($Cache, $Pile, $doublons = array(), $Numrows = array(), $SP = 0) { if (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"])) $doublons = nettoyer_env_doublons($Pile[0]["doublons"]); $connect = ''; $page = ( '<'.'?php header(' . _q('Content-Type: text/javascript') . '); ?'.'>' . vide($Pile['vars'][$_zzz=(string)'popup'] = 'onclick="if (this.href.lastIndexOf("javascript:") != 0 ) { window.open(this.href, "_blank", "screenX=50,left=50,screenY=50,top=50, width=550, height=450,toolbar=no, location=no,resizable=yes, scrollbars=yes");return false; }"') . ' // socialtags.js // \'ajouter un bookmark\' ne marche que sous IE // les tuyaux trouves pour FF // window.sidebar.addPanel(t,u,\'\'); // cf https://bugzilla.mozilla.org/show_bug.cgi?id=214530 // ou Opera sont creves ;var socialtags_addfavorite = function(u,t){ if(document.all)window.external.AddFavorite(u,t); }; (function($) { var socialtags_init = function() { var selector = $(\'' . interdire_scripts(((($a = (include_spip('inc/config')?lire_config('socialtags/jsselector',null,false):'')) OR (is_string($a) AND strlen($a))) ? $a : '#contenu')) . '\'); if (!selector.length) return; var socialtags = ' . interdire_scripts(socialtags_json((include_spip('inc/config')?lire_config('socialtags/tags',null,false):''))) . '; var title = $(\'head > title\').text() || \'\'; var description = ($(\'meta[name=description]\').attr(\'content\') || \'\').substr(0,250); var cano = $(\'link[rel=canonical]\')[0]; var url = cano ? cano.href : document.location.href.split("%23")[0].split("#")[0]; var ul = $(\'<ul><\\/ul>\'); var esc = function(x){return encodeURIComponent(x).replace(/\\s/g,\' \');}; var ref = document.referrer.match(/^.*\\/\\/([^\\/]+)\\//); if (ref && ref[1].match(/\\.facebook\\./)) Cookies.set(\'social_facebook\', 1, { path: \'/\', expires: 30 }); // 30 jours $.each(socialtags, function(){ if (this.u) { if (this.a == \'bookmark\' && !document.all) return; ' . interdire_scripts(((include_spip('inc/config')?lire_config('socialtags/ifreferer',null,false):'') ? ' if (Cookies.get(\'social_\'+this.a)!=1) return;':'')) . ' $(\'<a rel="nofollow"' . (($t1 = strval(interdire_scripts((((include_spip('inc/config')?lire_config('socialtags/wopen','non',false):'') == 'oui') ? table_valeur($Pile["vars"]??[], (string)'popup', null):''))))!=='' ? (' ' . $t1) : '') . '><img class="socialtags-hovers" src="\'+ this.i +\'" width="\'+ this.w +\'" height="\'+ this.h +\'" alt="\'+this.a+\'"\\/><\\/a>\') .attr(\'href\', this.u .replace(/%u/g, esc(url)) .replace(/%t/g, esc(title)) .replace(/%d/g, esc(description)) .replace(/%u_site/g, esc(this.u_site)) ) .attr(\'title\', this.n).wrap(\'<li class="\'+this.a+\'"><\\/li>\') .parent().appendTo(ul); }}); selector.' . interdire_scripts((include_spip('inc/config')?lire_config('socialtags/afterorappend','after',false):'')) . '(ul.wrap(\'<div class="socialtags"><\\/div>\').parent()); ' . interdire_scripts((include_spip('inc/config')?lire_config('socialtags/badgejs',null,false):'')) . '}; $(function(){ $(socialtags_init); }); })(jQuery); '); return analyse_resultat_skel('html_9b3e5f8d6c6a0a3f3f1e2b1ed9514941', $Cache, $page, 'plugins/auto/socialtags/socialtags.js.html'); } ?>