3 if (!defined('_ECRIRE_INC_VERSION')) {
7 // un controleur php (TODO -- NE FONCTIONNE PAS DU TOUT)
9 function controleurs_portfolio_dist($regs) {
10 list(,$crayon,$type,$champ,$id) = $regs;
12 include_spip('inc/minipres'); # pour aide()
13 include_spip('inc/presentation'); # pour debut_cadre()
14 include_spip('inc/layer'); # pour le js des fleches
15 include_spip('inc/documents'); # pour aide()
18 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>';")
19 . http_script('', generer_url_public('jquery.js'))
20 . http_script('', _DIR_JAVASCRIPT
. 'layer.js', '')
21 . afficher_documents_colonne($id, $type, 'portfolio');
25 return array($html, $status);