Changeset 84738 in spip-zone


Ignore:
Timestamp:
Sep 17, 2014, 9:58:36 PM (5 years ago)
Author:
webmaster@…
Message:

Suppression des passages par référence (deprecated)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/acs/branches/v2/controleurs/composant.php

    r60197 r84738  
    3636  $css_class = _request('class'); /* classe du crayon */
    3737  $matches = array();
    38   if (preg_match('/\bid_article-(\d+)\b/', $css_class, &$matches) > 0)
     38  if (preg_match('/\bid_article-(\d+)\b/', $css_class, $matches) > 0)
    3939    $contexte['id_article'] = $matches[1];
    40   elseif (preg_match('/\bid_rubrique-(\d+)\b/', $css_class, &$matches) > 0)
     40  elseif (preg_match('/\bid_rubrique-(\d+)\b/', $css_class, $matches) > 0)
    4141    $contexte['id_rubrique'] = $matches[1];
    42   elseif (preg_match('/\bid_mot-(\d+)\b/', $css_class, &$matches) > 0)
     42  elseif (preg_match('/\bid_mot-(\d+)\b/', $css_class, $matches) > 0)
    4343    $contexte['id_mot'] = $matches[1];
    44   elseif (preg_match('/\bid_groupe-(\d+)\b/', $css_class, &$matches) > 0)
     44  elseif (preg_match('/\bid_groupe-(\d+)\b/', $css_class, $matches) > 0)
    4545    $contexte['id_groupe'] = $matches[1];
    4646
Note: See TracChangeset for help on using the changeset viewer.