Changeset 124454 in spip-zone


Ignore:
Timestamp:
May 2, 2020, 10:00:14 AM (2 months ago)
Author:
Maïeul Rouquette
Message:

Si on demande des classe css pour la coloration code ET qu'on n'a pas sa
propre feuille de style de coloration > insérer dans le privé la
feuille de style de coloration livrée avec le plugin.

Location:
_plugins_/coloration_code/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/coloration_code/trunk

    • Property subgit:lock:7dc1e422d932d5d9358f40f6ed118db01e95f1f9 deleted
    • Property subgit:lock:c4a0436b44e18b46df4b0fca41dd39ce79b25fd0 set to 2020-05-02T12:01:42.092
  • _plugins_/coloration_code/trunk/coloration_code_pipelines.php

    r109854 r124454  
    2323function coloration_code_header_prive_css($flux) {
    2424        $css2 = find_in_path('prive/themes/spip/coloration_code.css');
     25        if (!PLUGIN_COLORATION_CODE_STYLES_INLINE and !PLUGIN_COLORATION_CODE_SANS_STYLES and $f = find_in_path('css/coloration_code.css')) {
     26                $flux .= '<link rel="stylesheet" href="' . direction_css($f) . '" type="text/css" media="all" />';
     27        }
    2528        $flux .= "\n<link rel='stylesheet' type='text/css' href='$css2' id='csscoloration_code'>\n";
    2629        return $flux;
  • _plugins_/coloration_code/trunk/paquet.xml

    r119826 r124454  
    22        prefix="coloration_code"
    33        categorie="edition"
    4         version="0.10.5"
     4        version="0.10.6"
    55        etat="stable"
    66        compatibilite="[3.2.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.