This commit is contained in:
Laurent Destailleur 2011-11-26 12:36:36 +01:00
parent 57e5f3b28b
commit 8614ef5bef
5 changed files with 1453 additions and 1443 deletions

View File

@ -1,11 +1,27 @@
<?php <?php
/*
* Copyright (C) Walter Torres <walter@torres.ws> [with a *lot* of help!]
* Copyright (C) 2005-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2006-2011 Regis Houssin
*
* 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/** /**
* \file htdocs/core/class/smtps.class.php * \file htdocs/core/class/smtps.class.php
* \brief File of class to manage SMTPS email sending * \brief Class to construct and send SMTP compliant email, even to a secure
*
* Class to construct and send SMTP compliant email, even to a secure
* SMTP server, regardless of platform. * SMTP server, regardless of platform.
*
* Goals: * Goals:
* - mime compliant * - mime compliant
* - multiple Reciptiants * - multiple Reciptiants
@ -18,14 +34,7 @@
* - inline attachments * - inline attachments
* - attachments * - attachments
* - GPG access * - GPG access
*
* This Class is based off of 'SMTP PHP MAIL' by Dirk Paehl, http://www.paehl.de * This Class is based off of 'SMTP PHP MAIL' by Dirk Paehl, http://www.paehl.de
*
* @author Walter Torres <walter@torres.ws> [with a *lot* of help!]
* @author Laurent Destailleur <eldy@users.sourceforge.net>
* @author Regis Houssin
*
* @license GNU General Public Licence
*/ */
/** /**

View File

@ -42,7 +42,8 @@ abstract class ModelePDFSuppliersOrders extends CommonDocGenerator
/** /**
* Return list of active generation modules * Return list of active generation modules
* @param $db Database handler *
* @param DoliDB $db Database handler
*/ */
function liste_modeles($db) function liste_modeles($db)
{ {
@ -141,7 +142,7 @@ abstract class ModeleNumRefSuppliersOrders
* *
* @param DoliDB $db data base object * @param DoliDB $db data base object
* @param Object $object object order * @param Object $object object order
* @param string $modele force le modele a utiliser ('' to not force) * @param string $model force le modele a utiliser ('' to not force)
* @param Translate $outputlangs Objet lang a utiliser pour traduction * @param Translate $outputlangs Objet lang a utiliser pour traduction
* @param int $hidedetails Hide details of lines * @param int $hidedetails Hide details of lines
* @param int $hidedesc Hide description * @param int $hidedesc Hide description

View File

@ -64,7 +64,7 @@ if (function_exists('get_magic_quotes_gpc')) // magic_quotes_* removed in PHP6
} }
/** /**
* Security: SQL Injection and XSS Injection (scripts) protection (Filters on GET, POST, PHP_SELF) * Security: SQL Injection and XSS Injection (scripts) protection (Filters on GET, POST, PHP_SELF).
* *
* @param string $val Value * @param string $val Value
* @param string $type 1=GET, 0=POST, 2=PHP_SELF * @param string $type 1=GET, 0=POST, 2=PHP_SELF
@ -103,7 +103,7 @@ function test_sql_and_script_inject($val, $type)
} }
/** /**
* Security: Return true if OK, false otherwise * Security: Return true if OK, false otherwise.
* *
* @param string &$var Variable name * @param string &$var Variable name
* @param string $type 1=GET, 0=POST, 2=PHP_SELF * @param string $type 1=GET, 0=POST, 2=PHP_SELF
@ -1563,7 +1563,7 @@ if (! function_exists("llxFooter"))
{ {
/** /**
* Show HTML footer * Show HTML footer
* Close div /DIV data-role=page + /DIV class=fiche + /DIV /DIV main layout + /BODY + /HTML * Close div /DIV data-role=page + /DIV class=fiche + /DIV /DIV main layout + /BODY + /HTML.
* *
* @param string $foot A text to add in HTML generated page * @param string $foot A text to add in HTML generated page
* @return void * @return void

View File

@ -20,7 +20,7 @@
*/ */
/** /**
* \file htdocs/admin/societe.php * \file htdocs/societe/admin/societe.php
* \ingroup company * \ingroup company
* \brief Third party module setup page * \brief Third party module setup page
*/ */

View File

@ -18,7 +18,7 @@
*/ */
/** /**
* \file htdocs/admin/societe_extrafields.php * \file htdocs/societe/admin/societe_extrafields.php
* \ingroup societe * \ingroup societe
* \brief Page to setup extra fields of third party * \brief Page to setup extra fields of third party
*/ */