3 if (!defined("_ECRIRE_INC_VERSION")) return;
5 // un controleur php (TODO -- NE FONCTIONNE PAS DU TOUT)
7 function controleurs_portfolio_dist($regs) {
8 list(,$crayon,$type,$champ,$id) = $regs;
10 include_spip('inc/minipres'); # pour aide()
11 include_spip('inc/presentation'); # pour debut_cadre()
12 include_spip('inc/layer'); # pour le js des fleches
13 include_spip('inc/documents'); # pour aide()
16 http_script("\nvar ajax_image_searching = \n'<div style=\"float: ".$GLOBALS['spip_lang_right'].";\"><img src=\"".url_absolue(_DIR_IMG_PACK
."searching.gif")."\" alt=\"\" /></div>';")
17 . http_script('', generer_url_public('jquery.js'))
18 . http_script('', _DIR_JAVASCRIPT
. 'layer.js','')
19 . afficher_documents_colonne($id, $type, 'portfolio');
23 return array($html, $status);