Changeset 15699 in spip-zone for _plugins_/_dev_/blockreferer


Ignore:
Timestamp:
Oct 2, 2007, 11:57:32 PM (13 years ago)
Author:
pierre.andrews@…
Message:

debut d'action

Location:
_plugins_/_dev_/blockreferer
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/blockreferer/blockreferer_pipeline.php

    r15691 r15699  
    22
    33function blockreferer_header_prive($flux) {
    4 
    5   if(strpos('statistiques',_request('exec'))>=0) {
    6         $script = '<script type="text/javascript"><!--
     4  //  var_dump($auteur);
     5  if((strpos('statistiques',_request('exec'))>=0)
     6          && ($GLOBALS['auteur_session']['statut'] == '0minirezo')) {
     7 
     8  $script = '<script type="text/javascript"><!--
    79$(document).ready(function(){
    8 jQuery(\'.verdana1 > ul > li > a > span\').parent().each(function(i,e){$(e).append("<a href=\'"+encodeURI(this.href)+"\'>[X]</a>")});
     10jQuery(\'.verdana1 > ul > li > a > span\').parent().each(function(i,e){$(e).after("&nbsp;<a href=\''.
     11        generer_action_auteur("blockreferer_manage","referer",generer_url_ecrire(_request('exec')))
     12.'&url_refer="+encodeURI(this.href)+"\'>[X]</a>")});
    913});
    1014--></script>';
    11         $flux .= $script;
     15  $flux .= $script;
    1216  }
    1317        return $flux;
Note: See TracChangeset for help on using the changeset viewer.