Last change
on this file since 434 was
69,
checked in by guille, 16 years ago
|
Se agrego Plugin Crayon y se actualizaron los esqueletos para que funcione
|
File size:
775 bytes
|
Rev | Line | |
---|
[69] | 1 | <?php |
---|
| 2 | |
---|
| 3 | // un controleur php (TODO -- NE FONCTIONNE PAS DU TOUT) |
---|
| 4 | |
---|
| 5 | function controleurs_portfolio_dist($regs) { |
---|
| 6 | list(,$crayon,$type,$champ,$id) = $regs; |
---|
| 7 | |
---|
| 8 | include_spip('inc/minipres'); # pour aide() |
---|
| 9 | include_spip('inc/presentation'); # pour debut_cadre() |
---|
| 10 | include_spip('inc/layer'); # pour le js des fleches |
---|
| 11 | include_spip('inc/documents'); # pour aide() |
---|
| 12 | |
---|
| 13 | $html = |
---|
| 14 | 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>';") |
---|
| 15 | . http_script('', generer_url_public('jquery.js')) |
---|
| 16 | . http_script('', _DIR_JAVASCRIPT . 'layer.js','') |
---|
| 17 | . afficher_documents_colonne($id, $type, 'portfolio'); |
---|
| 18 | |
---|
| 19 | $status = NULL; |
---|
| 20 | |
---|
| 21 | return array($html, $status); |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.