Ajout dimensions dans infos du modle
This commit is contained in:
parent
da5fe25e82
commit
6cd0d9e9a7
@ -166,18 +166,18 @@ if(is_dir($dir))
|
||||
|
||||
require_once($dir.$file);
|
||||
|
||||
$obj = new $classname();
|
||||
$module = new $classname();
|
||||
|
||||
$var=!$var;
|
||||
print "<tr $bc[$var]><td>";
|
||||
echo $obj->name;
|
||||
echo $module->name;
|
||||
print "</td><td>\n";
|
||||
|
||||
print $obj->description;
|
||||
print $module->description;
|
||||
|
||||
print '</td><td align="center">';
|
||||
|
||||
if (in_array($obj->id, $mods))
|
||||
if (in_array($module->id, $mods))
|
||||
{
|
||||
print img_tick();
|
||||
print '</td><td align="center">';
|
||||
@ -278,9 +278,9 @@ if(is_dir($dir))
|
||||
print $name;
|
||||
print "</td><td>\n";
|
||||
require_once($dir.$file);
|
||||
$obj = new $classname();
|
||||
$module = new $classname();
|
||||
|
||||
print $obj->description;
|
||||
print $module->description;
|
||||
print '</td>';
|
||||
|
||||
// Activ
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005 Regis Houssin <regis.houssin@cap-networks.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -33,6 +33,13 @@ Class pdf_expedition_dorade extends ModelePdfExpedition
|
||||
$this->db = $db;
|
||||
$this->name = "dorade";
|
||||
$this->description = "Modèle identique au rouget utilisé pour debug uniquement.";
|
||||
|
||||
$this->type = 'pdf';
|
||||
$this->page_largeur = 210;
|
||||
$this->page_hauteur = 297;
|
||||
$this->format = array($this->page_largeur,$this->page_hauteur);
|
||||
|
||||
$this->option_logo = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -39,7 +39,13 @@ Class pdf_expedition_merou extends ModelePdfExpedition
|
||||
|element->commande,source->external,code->EXPEDITEUR \n
|
||||
|element->commande,source->external,code->DESTINATAIRE \n
|
||||
";
|
||||
|
||||
$this->type = 'pdf';
|
||||
$this->page_largeur = 148.5;
|
||||
$this->page_hauteur = 210;
|
||||
$this->format = array($this->page_largeur,$this->page_hauteur);
|
||||
|
||||
$this->option_logo = 1; // Affiche logo
|
||||
}
|
||||
|
||||
//*****************************
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -32,6 +32,13 @@ Class pdf_expedition_rouget extends ModelePdfExpedition
|
||||
$this->db = $db;
|
||||
$this->name = "rouget";
|
||||
$this->description = "Modèle simple.";
|
||||
|
||||
$this->type = 'pdf';
|
||||
$this->page_largeur = 210;
|
||||
$this->page_hauteur = 297;
|
||||
$this->format = array($this->page_largeur,$this->page_hauteur);
|
||||
|
||||
$this->option_logo = 0;
|
||||
}
|
||||
|
||||
function Header()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user