Skip to content

Commit

Permalink
Factorisation de la déclaration des fontes pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
kigeia committed Jan 8, 2012
1 parent 562dddc commit 5bc9f7e
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion bulletin/bulletin_pdf_avec_modele_classe.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

$bull_formule_bas=getSettingValue("bull_formule_bas") ? getSettingValue("bull_formule_bas") : "Bulletin à conserver précieusement. Aucun duplicata ne sera délivré. - GEPI : solution libre de gestion et de suivi des résultats scolaires.";

define('FPDF_FONTPATH','../fpdf/font/');

define('TopMargin','5');
define('RightMargin','2');
define('LeftMargin','2');
Expand Down
2 changes: 1 addition & 1 deletion bulletin/header_bulletin_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Ensemble des données communes
require_once("bulletin_donnees.php");

define('FPDF_FONTPATH','../fpdf/font/');

define('TopMargin','5');
define('RightMargin','2');
define('LeftMargin','2');
Expand Down
2 changes: 1 addition & 1 deletion cahier_notes/releve_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
require('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

define('TopMargin','5');
define('RightMargin','5');
define('LeftMargin','5');
Expand Down
2 changes: 1 addition & 1 deletion cahier_notes/visu_cc.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@

require_once('../fpdf/fpdf.php');

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
1 change: 1 addition & 0 deletions fpdf/fpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Version de FPDF
*/
define('FPDF_VERSION','1.7');
define('FPDF_FONTPATH',dirname(__FILE__).'/font/');

require(dirname(__FILE__).'/tfpdf.php');

Expand Down
2 changes: 1 addition & 1 deletion fpdf/imprime_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

define('FPDF_FONTPATH','../fpdf/font/');

define('TopMargin','15');
define('RightMargin','15');
define('LeftMargin','15');
Expand Down
2 changes: 1 addition & 1 deletion impression/avis_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
require_once('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
2 changes: 1 addition & 1 deletion impression/parametres_impression_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
require_once('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
2 changes: 1 addition & 1 deletion impression/parametres_impression_pdf_avis.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
require_once('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
2 changes: 1 addition & 1 deletion impression/password_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

require_once('../fpdf/fpdf.php');

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
2 changes: 1 addition & 1 deletion mod_epreuve_blanche/bilan.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
require_once('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
2 changes: 1 addition & 1 deletion mod_epreuve_blanche/genere_bordereaux.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ classes c,
require_once('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
2 changes: 1 addition & 1 deletion mod_epreuve_blanche/genere_emargement.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
require_once('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
2 changes: 1 addition & 1 deletion mod_epreuve_blanche/genere_etiquettes.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
require_once('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

//define('LargeurPage','210');
//define('HauteurPage','297');
define('LargeurPage',$largeur_page);
Expand Down
2 changes: 1 addition & 1 deletion mod_epreuve_blanche/genere_liste_affichage.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
require_once('../fpdf/fpdf.php');
}

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage','210');
define('HauteurPage','297');

Expand Down
2 changes: 1 addition & 1 deletion mod_examen_blanc/releve.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@
// Ensemble des données communes
require_once("../bulletin/bulletin_donnees.php");

define('FPDF_FONTPATH','../fpdf/font/');


session_cache_limiter('private');

Expand Down
2 changes: 1 addition & 1 deletion mod_notanet/fb_creteil_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
}
}

define('FPDF_FONTPATH','../fpdf/font/');

define('TopMargin','5');
define('RightMargin','2');
define('LeftMargin','2');
Expand Down
2 changes: 1 addition & 1 deletion mod_notanet/fb_lille_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@

}

define('FPDF_FONTPATH','../fpdf/font/');

define('TopMargin','5');
define('RightMargin','2');
define('LeftMargin','2');
Expand Down
2 changes: 1 addition & 1 deletion mod_notanet/fb_montpellier_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
}
}

define('FPDF_FONTPATH','../fpdf/font/');

define('TopMargin','5');
define('RightMargin','2');
define('LeftMargin','2');
Expand Down
2 changes: 1 addition & 1 deletion mod_notanet/fb_rouen_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
}
}

define('FPDF_FONTPATH','../fpdf/font/');

define('TopMargin','5');
define('RightMargin','2');
define('LeftMargin','2');
Expand Down
2 changes: 1 addition & 1 deletion mod_trombinoscopes/trombino_decoupe.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ classe VARCHAR(100) NOT NULL default '',
Header('Pragma: public');
require('../fpdf/fpdf.php');

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage',$largeur_page);
define('HauteurPage',$hauteur_page);
session_cache_limiter('private');
Expand Down
2 changes: 1 addition & 1 deletion mod_trombinoscopes/trombino_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function matiereprof($prof, $equipepeda) {
Header('Pragma: public');
require('../fpdf/fpdf.php');

define('FPDF_FONTPATH','../fpdf/font/');

define('LargeurPage',$largeur_page);
define('HauteurPage',$hauteur_page);
session_cache_limiter('private');
Expand Down
2 changes: 1 addition & 1 deletion prepa_conseil/index1.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
// Ensemble des données communes
require_once("../bulletin/bulletin_donnees.php");

define('FPDF_FONTPATH','../fpdf/font/');

session_cache_limiter('private');

$X1 = 0; $Y1 = 0; $X2 = 0; $Y2 = 0;
Expand Down

0 comments on commit 5bc9f7e

Please sign in to comment.