Ignore:
Timestamp:
Nov 29, 2016, 12:04:59 PM (4 years ago)
Author:
kent1@…
Message:

Simples quotes principalement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/mediabox/mediabox_pipelines.php

    r93643 r100748  
    66
    77function mediabox_config($public = null) {
    8         include_spip("inc/filtres");
    9         include_spip("inc/config");
     8        include_spip('inc/filtres');
     9        include_spip('inc/config');
    1010        $config = lire_config('mediabox', array());
    1111
     
    4646        // Gerer aussi les liens internes de SPIP
    4747        if (!test_espace_prive() and $config['splash_url']) {
    48                 include_spip("inc/filtres_ecrire");
     48                include_spip('inc/filtres_ecrire');
    4949                $config['splash_url'] = url_absolue(extraire_attribut(lien_article_virtuel($config['splash_url']), 'href'));
    5050        }
    5151
    5252        // charger la config du theme uniquement dans le public
    53         if (!test_espace_prive() and include_spip("colorbox/" . $config['skin'] . "/mediabox_config_theme")) {
     53        if (!test_espace_prive() and include_spip('colorbox/' . $config['skin'] . '/mediabox_config_theme')) {
    5454                $config_theme = mediabox_config_theme();
    5555                $config = array_merge($config, $config_theme);
     
    6161function mediabox_insert_head_css($flux) {
    6262        $config = mediabox_config();
    63         if ($config['active'] == 'oui' and $f = find_in_path((test_espace_prive() ? "prive/" : "") . "colorbox/" . $config['skin'] . '/colorbox.css')) {
     63        if ($config['active'] == 'oui'
     64                and $f = find_in_path((test_espace_prive() ? 'prive/' : '') . 'colorbox/' . $config['skin'] . '/colorbox.css')) {
    6465                $flux .= '<link rel="stylesheet" href="' . direction_css($f) . '" type="text/css" media="all" />';
    6566                /**
     
    114115        $config = mediabox_config();
    115116        if ($config['active'] == 'oui') {
    116 
    117117                $flux .= '
    118118        <script src="' . mediabox_timestamp(find_in_path('javascript/jquery.colorbox.js')) . '" type="text/javascript"></script>
Note: See TracChangeset for help on using the changeset viewer.