Changeset 66320 in spip-zone


Ignore:
Timestamp:
Sep 28, 2012, 9:37:37 AM (7 years ago)
Author:
cedric@…
Message:

generaliser le filtrage des themes en permettant au squelette de le declarer

Location:
_plugins_/zen-garden/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/zen-garden/trunk/paquet.xml

    r61430 r66320  
    22        prefix="zengarden"
    33        categorie="maintenance"
    4         version="2.4.2"
     4        version="2.4.3"
    55        etat="test"
    66        compatibilite="[3.0.0;3.0.*]"
  • _plugins_/zen-garden/trunk/zengarden_fonctions.php

    r60427 r66320  
    6565        $search = "";
    6666        if (defined('_DIR_PLUGIN_ZPIP')) $search="zpip";
    67         if (defined('_DIR_PLUGIN_Z')) $search="z";
     67        elseif (defined('_DIR_PLUGIN_Z')) $search="z";
     68        elseif (defined('_ZENGARDEN_FILTRE_THEMES')) $search=_ZENGARDEN_FILTRE_THEMES;
    6869        if ($search){
    6970                foreach ($themes as $k => $theme){
Note: See TracChangeset for help on using the changeset viewer.