source: spip-zone/_plugins_/dompdf/trunk/dompdf_pipelines.php @ 95848

Last change on this file since 95848 was 95848, checked in by spip.franck@…, 4 years ago

des tab à la place d'espace http://www.spip.net/fr_article3497.html#regles_codage

  • Property svn:eol-style set to native
File size: 711 bytes
Line 
1<?php
2
3if (!defined('_ECRIRE_INC_VERSION')) return;
4
5
6/**
7 * Ajouter le cadre DOMPDF dans formidable
8 *
9 * @access public
10 */
11function dompdf_affiche_gauche($flux) {
12
13        if ($flux['args']['exec'] == 'formulaires_reponse') {
14                $url_action = generer_action_auteur('exporter_reponse_formidable', intval($flux['args']['id_formulaires_reponse']));
15                $flux['data'] .= dompdf_cadre($url_action, _T('dompdf:pdf'), _T('dompdf:export'));
16        }
17
18        if ($flux['args']['exec'] == 'formulaires_reponses') {
19                $url_action = generer_action_auteur('exporter_reponses_formidable', intval($flux['args']['id_formulaire']));
20                $flux['data'] .= dompdf_cadre($url_action, _T('dompdf:pdf'), _T('dompdf:export_reponses'));
21        }
22
23        return $flux;
24}
Note: See TracBrowser for help on using the repository browser.