Fix: Avoid errors into rpm packages

This commit is contained in:
Laurent Destailleur
2011-08-03 01:32:42 +00:00
parent 52f7ff7880
commit 67c77b043a
15 changed files with 525 additions and 542 deletions

View File

@@ -11,11 +11,10 @@
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* \version $Id$ */
/* \version $Id: style.css,v 1.4 2011/08/03 01:35:18 eldy Exp $ */
body {
background: #eee;

View File

@@ -12,8 +12,7 @@
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// Instanciation et initialisation de l'objet xmlhttprequest

View File

@@ -13,7 +13,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* or see http://www.gnu.org/
*/
/**
@@ -21,7 +20,7 @@
* \ingroup export
* \brief File of class to build exports with CSV format
* \author Laurent Destailleur
* \version $Id: export_csv.modules.php,v 1.30 2011/07/31 23:28:18 eldy Exp $
* \version $Id: export_csv.modules.php,v 1.31 2011/08/03 01:38:53 eldy Exp $
*/
require_once(DOL_DOCUMENT_ROOT ."/includes/modules/export/modules_export.php");
@@ -65,7 +64,7 @@ class ExportCsv extends ModeleExports
$this->desc=$langs->trans("CSVFormatDesc",$this->separator,$this->enclosure,$this->escape);
$this->extension='csv'; // Extension for generated file by this driver
$this->picto='mime/other'; // Picto
$ver=explode(' ','$Revision: 1.30 $');
$ver=explode(' ','$Revision: 1.31 $');
$this->version=$ver[2]; // Driver version
// If driver use an external library, put its name here

View File

@@ -13,7 +13,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* or see http://www.gnu.org/
*/
/**
@@ -21,7 +20,7 @@
* \ingroup export
* \brief File of class to generate export file with Excel format
* \author Laurent Destailleur
* \version $Id: export_excel.modules.php,v 1.27 2011/07/31 23:28:18 eldy Exp $
* \version $Id: export_excel.modules.php,v 1.28 2011/08/03 01:38:53 eldy Exp $
*/
require_once(DOL_DOCUMENT_ROOT."/includes/modules/export/modules_export.php");
@@ -64,7 +63,7 @@ class ExportExcel extends ModeleExports
$this->desc='<b>Excel</b> file format (.xls)<br>This is native Excel 95 format.';
$this->extension='xls'; // Extension for generated file by this driver
$this->picto='mime/xls'; // Picto
$ver=explode(' ','$Revision: 1.27 $');
$ver=explode(' ','$Revision: 1.28 $');
$this->version=$ver[2]; // Driver version
// If driver use an external library, put its name here

View File

@@ -12,9 +12,7 @@
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* or see http://www.gnu.org/
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
@@ -22,7 +20,7 @@
* \ingroup export
* \brief File of class to build export files with format TSV
* \author Laurent Destailleur
* \version $Id$
* \version $Id: export_tsv.modules.php,v 1.14 2011/08/03 01:38:52 eldy Exp $
*/
require_once(DOL_DOCUMENT_ROOT ."/includes/modules/export/modules_export.php");
@@ -61,7 +59,7 @@ class ExportTsv extends ModeleExports
$this->desc='<b>Tab Separated Value</b> file format (.tsv)<br>This is a text file format where fields are separated by separator [tab].';
$this->extension='tsv'; // Extension for generated file by this driver
$this->picto='mime/other'; // Picto
$ver=explode(' ','$Revision$');
$ver=explode(' ','$Revision: 1.14 $');
$this->version=$ver[2]; // Driver version
// If driver use an external library, put its name here

View File

@@ -14,14 +14,13 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* or see http://www.gnu.org/
*/
/**
* \file htdocs/includes/modules/export/modules_export.php
* \ingroup export
* \brief File of parent class for export modules
* \version $Id: modules_export.php,v 1.24 2011/07/31 23:28:18 eldy Exp $
* \version $Id: modules_export.php,v 1.25 2011/08/03 01:38:52 eldy Exp $
*/
require_once(DOL_DOCUMENT_ROOT.'/lib/functions.lib.php');

View File

@@ -55,7 +55,7 @@ modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
@@ -484,8 +484,7 @@ convey the exclusion of warranty; and each file should have at least the
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
License along with this library; If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.

View File

@@ -484,8 +484,7 @@ convey the exclusion of warranty; and each file should have at least the
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
License along with this library; If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.

View File

@@ -12,10 +12,9 @@
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* $Id$
* $Id: default.css,v 1.24 2011/08/03 01:32:42 eldy Exp $
*/
body {

View File

@@ -302,8 +302,7 @@ GNU GENERAL PUBLIC LICENSE Versión 2, Junio 1991
ATENCIÓN A UNA DETERMINADA FINALIDAD</b> Consulta la Licencia Pública General
GNU para mayores detalles. </p>
<p> Debe haber una copia de la Licencia Pública General GNU junto con este software
en inglés o portugués. Si no la hay, escriba para <tt>Free Software Foundation</tt>,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
en inglés o portugués. Si no la hay, ve <http://www.gnu.org/licenses/>.
</p>
<p> Autor@mail.con.br Dirección </p>
<p> Si el programa es interactivo, presenta en su salida un breve aviso cuando

View File

@@ -310,9 +310,7 @@ ZONDER EENDER WELKE GARANTIE; zelfs zonder de impliciete garantie van
VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN BEPAALD DOEL. Zie de GNU Algemene
Publieke Licentie voor meer details.
U zou een kopie van de GNU Algemene Publieke Licentie ontvangen moeten
hebben samen met dit Programma; indien dit niet zo is, schrijf naar
de Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
hebben samen met dit Programma; indien dit niet <http://www.gnu.org/licenses/>.
Voeg ook informatie bij hoe men U kan contacteren via e-mail en gewone post.
Als het Programma interactief is, laat het een korte boodschap tonen zoals

View File

@@ -14,14 +14,13 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* or see http://www.gnu.org/
*/
/**
* \file htdocs/paybox/lib/paybox.lib.php
* \ingroup paybox
* \brief Library for common paybox functions
* \version $Id: paybox.lib.php,v 1.9 2011/07/31 23:24:24 eldy Exp $
* \version $Id: paybox.lib.php,v 1.10 2011/08/03 01:34:59 eldy Exp $
*/
function llxHeaderPaybox($title, $head = "")
{

View File

@@ -14,14 +14,13 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* or see http://www.gnu.org/
*/
/**
* \file htdocs/paypal/lib/paypal.lib.php
* \ingroup paypal
* \brief Library for common paypal functions
* \version $Id: paypal.lib.php,v 1.26 2011/07/31 23:24:24 eldy Exp $
* \version $Id: paypal.lib.php,v 1.27 2011/08/03 01:34:59 eldy Exp $
*/
function llxHeaderPaypal($title, $head = "")
{

View File

@@ -13,14 +13,13 @@
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/** \file htdocs/paypal/lib/paypalfunctions.lib.php
* \ingroup paypal
* \brief Page with Paypal init var.
* \version $Id$
* \version $Id: paypalfunctions.lib.php,v 1.8 2011/08/03 01:34:59 eldy Exp $
*/
if (session_id() == "") session_start();

View File

@@ -12,14 +12,13 @@
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* \file htdocs/theme/phones/smartphone/theme/default/default.css.php
* \brief Fichier de style CSS du theme Smartphone default
* \version $Id$
* \version $Id: default.css.php,v 1.14 2011/08/03 01:39:44 eldy Exp $
*/
if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Disables token renewal