X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins-dist%2Fplan%2Faction%2Fplan.php;fp=www%2Fplugins-dist%2Fplan%2Faction%2Fplan.php;h=9cc19e650fb2d0e3a31be094a246723085dca22d;hb=4f443dce95ff6f8221c189880a70c74ce1c1f238;hp=0000000000000000000000000000000000000000;hpb=4a628e9b277d3617535f99d663ca79fa2e891177;p=lhc%2Fweb%2Fwww.git diff --git a/www/plugins-dist/plan/action/plan.php b/www/plugins-dist/plan/action/plan.php new file mode 100644 index 00000000..9cc19e65 --- /dev/null +++ b/www/plugins-dist/plan/action/plan.php @@ -0,0 +1,48 @@ + intval(_request('id_rubrique')), + // pour le dépliement d'une rubrique, ne pas lister le contenu récursivement + 'lister' => ($objet == 'rubriques') ? 'rubrique' : 'tout', + 'conteneur' => 'non' + ); + + if ($statut = _request('statut')) { + $env['statut'] = $statut; + } + + $fond = "prive/squelettes/inclure/plan-$objet"; + header('Content-Type: text/html; charset=' . $GLOBALS['meta']['charset']); + + if (trouver_fond($fond)) { + echo recuperer_fond($fond, $env); + } else { + echo ''; + } +}