diff --git a/ChangeLog b/ChangeLog index af90978b7a7..e2060cda330 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ For developers: - More comments in code. - Uniformize some code. - First delete of useless pre.inc.php files. +- Fix W3C errors in page forging. ***** ChangeLog for 2.8 compared to 2.7 ***** diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php index 01f4e7b0509..899fb6d1cfc 100644 --- a/htdocs/admin/tools/dolibarr_export.php +++ b/htdocs/admin/tools/dolibarr_export.php @@ -181,7 +181,7 @@ if ($db->label == 'MySQL') { $fullpathofmysqldump=$conf->global->SYSTEMTOOLS_MYSQLDUMP; } - ?>
+ ?>
@@ -240,7 +240,7 @@ if ($db->label == 'MySQL') -
+

@@ -259,32 +259,32 @@ if ($db->label == 'MySQL') id="checkbox_dump_showcolumns" />
+ trans("NameColumn"); ?>

+ trans("ExtendedInsert"); ?>

+ trans("DelayedInsert"); ?>

+ Ignorer les erreurs de doublons (INSERT IGNORE)

+ trans("EncodeBinariesInHexa"); ?>
@@ -308,7 +308,7 @@ if ($db->label == 'PostgreSQL') { $fullpathofpgdump=$conf->global->SYSTEMTOOLS_POSTGRESQLDUMP; } - ?>
+ ?>
@@ -359,7 +359,7 @@ if ($db->label == 'PostgreSQL') id="checkbox_dump_showcolumns" />
+ trans("NameColumn"); ?>
@@ -437,7 +437,7 @@ if ($db->label == 'PostgreSQL') id="ch_latex_showcolumns" checked="checked" />
+ Nom des colonnes
diff --git a/htdocs/admin/tools/eaccelerator.php b/htdocs/admin/tools/eaccelerator.php index 22e09339f3f..ee44c42734f 100644 --- a/htdocs/admin/tools/eaccelerator.php +++ b/htdocs/admin/tools/eaccelerator.php @@ -332,10 +332,10 @@ if (function_exists('eaccelerator_get')) create_key_table($res); } -print "

"; +print "

"; print "
"; print '
'; -print 'Eaccelerator is created by the eAccelerator team, http://eaccelerator.net

'; +print 'Eaccelerator is created by the eAccelerator team, http://eaccelerator.net

'; print "
"; diff --git a/htdocs/boutique/commande/fiche.php b/htdocs/boutique/commande/fiche.php index b16102db243..19e6f47b126 100644 --- a/htdocs/boutique/commande/fiche.php +++ b/htdocs/boutique/commande/fiche.php @@ -1,6 +1,6 @@ - * Copyright (C) 2003-2005 Éric Seigne + * Copyright (C) 2003-2005 �ric Seigne * Copyright (C) 2004-2006 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -58,7 +58,7 @@ if ($_GET['id']) print ""; - print "
"; + print "
"; /* * Produits @@ -108,7 +108,7 @@ if ($_GET['id']) * * */ - print "
"; + print "
"; print ''; print ""; diff --git a/htdocs/cashdesk/templates/liste_articles.tpl.php b/htdocs/cashdesk/templates/liste_articles.tpl.php index 70b146c466e..4079ba529a0 100644 --- a/htdocs/cashdesk/templates/liste_articles.tpl.php +++ b/htdocs/cashdesk/templates/liste_articles.tpl.php @@ -68,7 +68,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. $obj_facturation->calculTotaux(); $total_ttc = $obj_facturation->prix_total_ttc(); - echo ('

'.$langs->trans("Total").' : '.price2num($total_ttc, 'MT').' '.$conf->monnaie.'

'."\n"); + echo ('

'.$langs->trans("Total").' : '.price2num($total_ttc, 'MT').' '.$conf->monnaie.'

'."\n"); } else { diff --git a/htdocs/cashdesk/templates/ticket.tpl.php b/htdocs/cashdesk/templates/ticket.tpl.php index 5c9c0741282..ca7ba5a98d7 100644 --- a/htdocs/cashdesk/templates/ticket.tpl.php +++ b/htdocs/cashdesk/templates/ticket.tpl.php @@ -95,8 +95,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. logo_small).'">'; ?>
-

nom; ?>
- adresse; ?>
+

nom; ?>
+ adresse; ?>
cp.' '.$mysoc->ville; ?>

-

trans("Notes"); ?>

+

trans("Notes"); ?>

" />

trans("RestartSelling"); ?>

diff --git a/htdocs/categories/photos.php b/htdocs/categories/photos.php index d7a48b3e65f..2dd08098762 100644 --- a/htdocs/categories/photos.php +++ b/htdocs/categories/photos.php @@ -136,7 +136,7 @@ if ($_GET["id"] || $_GET["ref"]) print ''.$langs->trans("Root").' >> '; foreach ($ways as $way) { - print $way."
\n"; + print $way."
\n"; } print '
'; diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index e7a4f766fa3..0fd6a979135 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -123,7 +123,7 @@ print $langs->trans("Ref").''; diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index d0dcfa947ed..3bbd0a6eb04 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -113,7 +113,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire) print ''; print ''; print "
'; print ''.$langs->trans("Root").' >> '; foreach ($ways as $way) { - print $way."
\n"; + print $way."
\n"; } print '
'.$langs->trans("Other").':
\n"; - print "
\n"; + print "
\n"; } /* diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php index 4284563eb36..e9d1ad7e6bd 100644 --- a/htdocs/comm/mailing/fiche.php +++ b/htdocs/comm/mailing/fiche.php @@ -713,7 +713,7 @@ else print ''.$langs->trans("DeleteMailing").''; } - print '

'; + print '

'; } // Affichage formulaire de TEST diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 715c8ddf6ef..fb33613f950 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -1687,7 +1687,7 @@ if ($id > 0 || ! empty($ref)) else print ' '; print ''; print ''; - print '
'; + print '
'; print '' . "\n"; /* if ($conf->service->enabled) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 509a563cb80..8858d974fa7 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -1042,7 +1042,7 @@ if ($_GET['action'] == 'create' && $user->rights->commande->creer) print '' ."\n"; print ''; print ''; - + if (isset($_GET["origin"]) && $_GET["origin"] != 'project' && isset($_GET["originid"])) { print ''; @@ -1123,7 +1123,7 @@ if ($_GET['action'] == 'create' && $user->rights->commande->creer) { $projectid = 0; if (isset($_GET["origin"]) && $_GET["origin"] == 'project') $projectid = ($_GET["originid"]?$_GET["originid"]:0); - + print ''.$langs->trans('Project').''; $numprojet=select_projects($soc->id,$projectid); if ($numprojet==0) @@ -1892,7 +1892,7 @@ else else print ' '; print ''; print ''; - print '
'; + print '
'; print ''; // Added by Matelli (See http://matelli.fr/showcases/patchs-dolibarr/add-dates-in-order-lines.html) diff --git a/htdocs/compta/export/index.php b/htdocs/compta/export/index.php index 0fb644c9e39..96206f993aa 100644 --- a/htdocs/compta/export/index.php +++ b/htdocs/compta/export/index.php @@ -49,17 +49,17 @@ $dir = $conf->compta->dir_output."/export/".$year."/"; /* * Actions */ - + if ($_GET["action"] == 'export') { $modulename='Poivre'; - + include_once DOL_DOCUMENT_ROOT.'/compta/export/modules/compta.export.class.php'; - + create_exdir($dir); - + $exc = new ComptaExport($db, $user, $modulename); - + if($_GET["id"] > 0) { $exc->Export($_GET["id"], $dir); @@ -68,14 +68,14 @@ if ($_GET["action"] == 'export') { $exc->Export(0, $dir); } - - /* Génération du journal des Paiements */ - + + /* G�n�ration du journal des Paiements */ + $jp= new ComptaJournalPaiement($db); $jp->GeneratePdf($user, $dir, $exc->id, $exc->ref); - - /* Génération du journal des Ventes */ - + + /* G�n�ration du journal des Ventes */ + $jp= new ComptaJournalVente($db); $jp->GeneratePdf($user, $dir, $exc->id, $exc->ref); } @@ -83,7 +83,7 @@ if ($_GET["action"] == 'export') /* * Affichage page */ - + llxHeader('','Compta - Export'); print_fiche_titre($langs->trans("AccountancyExport")); @@ -125,7 +125,7 @@ $var=false; print ''.$langs->trans("Invoices").''.$nbfac.''; $var=!$var; print ''.$langs->trans("Payments").''.$nbp.''; -print "
\n"; +print "
\n"; print ''; print ''; @@ -164,7 +164,7 @@ if ($handle) { if (is_readable($dir.$file) && is_file($dir.$file)) { - print ''; } } diff --git a/htdocs/compta/paiement/cheque/fiche.php b/htdocs/compta/paiement/cheque/fiche.php index 124b36c3b62..edb093977fc 100644 --- a/htdocs/compta/paiement/cheque/fiche.php +++ b/htdocs/compta/paiement/cheque/fiche.php @@ -227,7 +227,7 @@ if ($_GET['action'] == 'new') print '
'.$file.''; + print '
'.$file.''; print '
'; print ''; - print '
'.$langs->trans('Date').''.dol_print_date($now,'day').'

'; + print '
'; $sql = "SELECT ba.rowid as bid, ".$db->pdate("b.dateo")." as date,"; $sql.= " b.amount, ba.label, b.emetteur, b.num_chq, b.banque"; @@ -303,7 +303,7 @@ if ($_GET['action'] == 'new') { print ''.$langs->trans('NewCheckDepositOn',$account_label).''; } - print '
'; + print '
'; } } @@ -343,7 +343,7 @@ else print $remisecheque->getLibStatut(4); print ''; - print '
'; + print '
'; // Liste des cheques diff --git a/htdocs/compta/prelevement/bon.php b/htdocs/compta/prelevement/bon.php index 4609c5ab57b..b55ca9e8a3e 100644 --- a/htdocs/compta/prelevement/bon.php +++ b/htdocs/compta/prelevement/bon.php @@ -16,11 +16,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - + /** \file htdocs/compta/prelevement/bon.php \ingroup prelevement - \brief Fiche aperçu du bon de prelevement + \brief Fiche aper�u du bon de prelevement \version $Id$ */ @@ -29,41 +29,41 @@ require("./pre.inc.php"); $langs->load("bills"); /* - * Sécurité accés client + * S�curit� acc�s client */ if (!$user->rights->prelevement->bons->lire) accessforbidden(); -llxHeader('','Bon de prélèvement'); +llxHeader('','Bon de pr�l�vement'); $h = 0; $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche.php?id='.$_GET["id"]; $head[$h][1] = $langs->trans("Card"); -$h++; +$h++; if ($conf->use_preview_tabs) { $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/bon.php?id='.$_GET["id"]; $head[$h][1] = $langs->trans("Preview"); $hselected = $h; - $h++; + $h++; } $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/lignes.php?id='.$_GET["id"]; $head[$h][1] = $langs->trans("Lines"); -$h++; +$h++; $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/factures.php?id='.$_GET["id"]; $head[$h][1] = $langs->trans("Bills"); -$h++; +$h++; $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche-rejet.php?id='.$_GET["id"]; $head[$h][1] = $langs->trans("Rejets"); -$h++; +$h++; $head[$h][0] = DOL_URL_ROOT.'/compta/prelevement/fiche-stat.php?id='.$_GET["id"]; $head[$h][1] = $langs->trans("Statistics"); -$h++; +$h++; $prev_id = $_GET["id"]; @@ -75,7 +75,7 @@ if ($_GET["id"]) if ($bon->fetch($_GET["id"]) == 0) { - dol_fiche_head($head, $hselected, 'Prélèvement : '. $bon->ref); + dol_fiche_head($head, $hselected, 'Pr�l�vement : '. $bon->ref); print ''; @@ -88,7 +88,7 @@ if ($_GET["id"]) print ''.$bon->ref.''; print ''; - print '

'; + print '
'; $fileimage = $conf->prelevement->dir_output.'/receipts/'.$bon->ref.'.ps.png.0'; $fileps = $conf->prelevement->dir_output.'/receipts/'.$bon->ref.'.ps'; @@ -101,25 +101,25 @@ if ($_GET["id"]) { $handle = imagick_readimage( $fileps ) ; - + if ( imagick_iserror( $handle ) ) { $reason = imagick_failedreason( $handle ) ; $description = imagick_faileddescription( $handle ) ; - + print "handle failed!
\nReason: $reason
\nDescription: $description
\n"; } - + imagick_convert( $handle, "PNG" ) ; - + if ( imagick_iserror( $handle ) ) { $reason = imagick_failedreason( $handle ) ; $description = imagick_faileddescription( $handle ) ; - + print "handle failed!
\nReason: $reason
\nDescription: $description
\n"; } - + imagick_writeimage( $handle, $fileps .".png"); } else @@ -131,7 +131,7 @@ if ($_GET["id"]) if (file_exists($fileimage)) { print ''; - + } } else diff --git a/htdocs/compta/prelevement/demandes.php b/htdocs/compta/prelevement/demandes.php index 1844bb23636..9a11086ae74 100644 --- a/htdocs/compta/prelevement/demandes.php +++ b/htdocs/compta/prelevement/demandes.php @@ -20,7 +20,7 @@ /** \file htdocs/compta/prelevement/demandes.php - \brief Page de la liste des demandes de prélèvements + \brief Page de la liste des demandes de pr�l�vements \version $Id$ */ @@ -153,7 +153,7 @@ if ( $db->query($sql) ) $i++; } - print "
"; + print "
"; } else diff --git a/htdocs/compta/prelevement/fiche.php b/htdocs/compta/prelevement/fiche.php index 1bc8bedcb31..67e7b8ba71b 100644 --- a/htdocs/compta/prelevement/fiche.php +++ b/htdocs/compta/prelevement/fiche.php @@ -190,7 +190,7 @@ if ($_GET["id"]) print ''; } - print '
'; + print '
'; if($bon->date_trans == 0) { @@ -206,7 +206,7 @@ if ($_GET["id"]) print ''; print ''.$langs->trans("File").''; print ''; - print '
'; + print '
'; print ''; print ''; print ''; diff --git a/htdocs/compta/prelevement/ligne.php b/htdocs/compta/prelevement/ligne.php index 5485a43bd1f..4fdc6b6ceb6 100644 --- a/htdocs/compta/prelevement/ligne.php +++ b/htdocs/compta/prelevement/ligne.php @@ -129,7 +129,7 @@ if ($_GET["id"]) } - print '
'; + print '
'; } else { diff --git a/htdocs/compta/prelevement/stats.php b/htdocs/compta/prelevement/stats.php index b0c95ea11bc..031d0190698 100644 --- a/htdocs/compta/prelevement/stats.php +++ b/htdocs/compta/prelevement/stats.php @@ -135,7 +135,7 @@ else * Stats sur les rejets * */ -print '
'; +print '
'; print_titre($langs->trans("WithdrawRejectStatistics")); diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index 77b6f8c578c..58c9ea78e6f 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -831,7 +831,7 @@ else print ''; print img_object($langs->trans("ShowService"),"service").' '.$objp->ref.''; print $objp->label?' - '.$objp->label:''; - if ($objp->description) print '
'.nl2br($objp->description); + if ($objp->description) print '
'.nl2br($objp->description); print ''; } else @@ -985,7 +985,6 @@ else */ if ($_REQUEST["action"] == 'move' && ! $_REQUEST["cancel"] && $user->rights->contrat->creer && $contrat->lignes[$cursorline-1]->id == $_GET["rowid"]) { - //print '
'; $arraycontractid=array(); foreach($arrayothercontracts as $contractcursor) { @@ -1006,7 +1005,6 @@ else */ if ($_REQUEST["action"] == 'active' && ! $_REQUEST["cancel"] && $user->rights->contrat->activer && $contrat->lignes[$cursorline-1]->id == $_GET["ligne"]) { - //print '
'; $dateactstart = dol_mktime(12, 0 , 0, $_POST["remonth"], $_POST["reday"], $_POST["reyear"]); $dateactend = dol_mktime(12, 0 , 0, $_POST["endmonth"], $_POST["endday"], $_POST["endyear"]); $comment = $_POST["comment"]; @@ -1019,7 +1017,6 @@ else */ if ($_REQUEST["action"] == 'closeline' && ! $_REQUEST["cancel"] && $user->rights->contrat->activer && $contrat->lignes[$cursorline-1]->id == $_GET["ligne"]) { - //print '
'; $dateactstart = dol_mktime(12, 0 , 0, $_POST["remonth"], $_POST["reday"], $_POST["reyear"]); $dateactend = dol_mktime(12, 0 , 0, $_POST["endmonth"], $_POST["endday"], $_POST["endyear"]); $comment = $_POST["comment"]; diff --git a/htdocs/core/photos_resize.php b/htdocs/core/photos_resize.php index 0e6bad3b114..984ff6f8234 100644 --- a/htdocs/core/photos_resize.php +++ b/htdocs/core/photos_resize.php @@ -107,8 +107,8 @@ print '
'; print ''.$langs->trans("Resize").''; print $langs->trans("ResizeDesc").'
'; -print $langs->trans("NewLength").': px
'; -print $langs->trans("NewHeight").': px  
'; +print $langs->trans("NewLength").': px
'; +print $langs->trans("NewHeight").': px  
'; print ''; print ''; print ''; diff --git a/htdocs/core/templates/passwordforgotten.tpl b/htdocs/core/templates/passwordforgotten.tpl index c3c777306b4..88a5cdd5212 100644 --- a/htdocs/core/templates/passwordforgotten.tpl +++ b/htdocs/core/templates/passwordforgotten.tpl @@ -128,22 +128,22 @@ function donnefocus() {ldelim} -
+
{if $error_message} '; print ''; -print "
{$langs->trans('BackToLoginPage')} -
-
+
+
diff --git a/htdocs/expedition/index.php b/htdocs/expedition/index.php index 6dea2c35065..312e87023e9 100644 --- a/htdocs/expedition/index.php +++ b/htdocs/expedition/index.php @@ -53,7 +53,7 @@ print ''; print '
'.$langs->trans("SearchASending").'
'; print $langs->trans("Ref").':

\n"; +print "
\n"; /* * Shipments to validate diff --git a/htdocs/fichinter/fiche.php b/htdocs/fichinter/fiche.php index a5aef4a75f6..8bd00bc23f1 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -784,7 +784,7 @@ elseif ($fichinterid) print ''; print ''; - print '
'; + print '
'; print '' . "\n"; print "\n"; diff --git a/htdocs/fichinter/rapport.php b/htdocs/fichinter/rapport.php index 2542b6ca338..50d57ff5785 100644 --- a/htdocs/fichinter/rapport.php +++ b/htdocs/fichinter/rapport.php @@ -133,7 +133,7 @@ if ( $db->query($sql) ) } print ""; $db->free(); - print "
".$langs->trans("Total")." $DureeTotal jour[s]"; + print "
".$langs->trans("Total")." $DureeTotal jour[s]"; } else { diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index 4a069927982..db05ede3643 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -870,7 +870,7 @@ if ($id > 0 || ! empty($ref)) print ''; print '%'; print ''; - print '
'; + print '
'; print '' . "\n"; print "\n"; } diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index e1e8746139c..cdb08aef506 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -999,7 +999,7 @@ else print ' '; print ''; - print '
'; + print '
'; print ''; print ''; diff --git a/htdocs/fourn/product/fourn.php b/htdocs/fourn/product/fourn.php index 157d5e6fa62..3a17c8a6deb 100644 --- a/htdocs/fourn/product/fourn.php +++ b/htdocs/fourn/product/fourn.php @@ -171,7 +171,7 @@ if ($_GET["id"]) print '
'; print ''; print ''; - print '
'; + print '
'; print ''; print ''; diff --git a/htdocs/fourn/product/liste.php b/htdocs/fourn/product/liste.php index 083e7ef3aa6..325608f3da5 100644 --- a/htdocs/fourn/product/liste.php +++ b/htdocs/fourn/product/liste.php @@ -169,8 +169,8 @@ if ($resql) print "
"; $c = new Categorie ($db, $catid); $ways = $c->print_all_ways(' > ','fourn/product/liste.php'); - print " > ".$ways[0]."
\n"; - print "

"; + print " > ".$ways[0]."
\n"; + print "
"; } diff --git a/htdocs/fourn/product/photos.php b/htdocs/fourn/product/photos.php index 316093ead9f..4acb7b50f3e 100644 --- a/htdocs/fourn/product/photos.php +++ b/htdocs/fourn/product/photos.php @@ -129,7 +129,7 @@ if ($_GET["id"]) print ''; print '
'.$langs->trans("Price").'
'; - print '

'; + print '
'; } diff --git a/htdocs/index.php b/htdocs/index.php index 217468d866e..9934851b78b 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -78,7 +78,7 @@ if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png')) print ''; print ''; - print "
'; print '

\n"; + print "
\n"; } diff --git a/htdocs/install/check.php b/htdocs/install/check.php index 9469dd59532..51f98df52c8 100644 --- a/htdocs/install/check.php +++ b/htdocs/install/check.php @@ -208,9 +208,9 @@ if (! file_exists($conffile)) { //print 'Error '.$langs->trans("ConfFileDoesNotExistsAndCouldNotBeCreated",$conffile); print 'Error '.$langs->trans("ConfFileDoesNotExistsAndCouldNotBeCreated",'conf.php'); - print "

"; + print "

"; print $langs->trans("YouMustCreateWithPermission",'htdocs/conf/conf.php'); - print "

"; + print "

"; print $langs->trans("CorrectProblemAndReloadPage",$_SERVER['PHP_SELF'].'?testget=ok'); $err++; @@ -228,9 +228,9 @@ else { print 'Ok '.$langs->trans("ConfFileCouldBeCreated",'conf.php'); } - print "
"; + print "
"; print 'Warning '.$langs->trans("ConfFileIsNotWritable",'htdocs/conf/conf.php'); - print "
\n"; + print "
\n"; $allowinstall=0; } @@ -245,13 +245,13 @@ else { print 'Ok '.$langs->trans("ConfFileCouldBeCreated",'conf.php'); } - print "
"; + print "
"; print 'Ok '.$langs->trans("ConfFileIsWritable",'conf.php'); - print "
\n"; + print "
\n"; $allowinstall=1; } - print "
\n"; + print "
\n"; // Si prerequis ok, on affiche le bouton pour passer a l'etape suivante if ($checksok) @@ -305,7 +305,7 @@ else print '
'; print '
'; } - else print "
\n"; + else print "
\n"; print $langs->trans("InstallEasy")." "; print $langs->trans("ChooseYourSetupMode"); diff --git a/htdocs/install/default.css b/htdocs/install/default.css index 0e948209557..2f6700f47a2 100644 --- a/htdocs/install/default.css +++ b/htdocs/install/default.css @@ -114,7 +114,7 @@ color: #550000; font-weight: bold; } /* Next button */ -div.barrebottom { +div.nextbutton { text-align: right; margin-top: 10px; padding-top: 5px; diff --git a/htdocs/install/etape1.php b/htdocs/install/etape1.php index f093449c92c..d38dc11ead4 100644 --- a/htdocs/install/etape1.php +++ b/htdocs/install/etape1.php @@ -481,9 +481,12 @@ function jsinfo() { ok=true; + document.getElementById('nextbutton').style.display='hidden'; alert('transnoentities("NextStepMightLastALongTime")); ?>'); - return ok; + + //return ok; + return false; } diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php index e496d401005..085f403d873 100644 --- a/htdocs/install/inc.php +++ b/htdocs/install/inc.php @@ -312,7 +312,7 @@ function pFooter($nonext=0,$setuplang='',$jscheckfunction='') if (! $nonext) { - print '
"'; + print '
"'; if ($jscheckfunction) print ' onClick="return '.$jscheckfunction.'();"'; print '>
'; } diff --git a/htdocs/lib/images.lib.php b/htdocs/lib/images.lib.php index c8257ec193d..b66f6161cd0 100644 --- a/htdocs/lib/images.lib.php +++ b/htdocs/lib/images.lib.php @@ -534,10 +534,10 @@ function moneyMeter($actualValue=0, $pendingValue=0, $intentValue=0) $htmlLegenda = ' - - - - + + + +
 '.$langs->trans("Paid").':
' . $legendaActual . '
 '.$langs->trans("Waiting").':
' . $legendaPending . '
 '.$langs->trans("Promesses").':
' . $legendaIntent . '
 Total:
' . $legendaTotal . '
 '.$langs->trans("Paid").':
' . $legendaActual . '
 '.$langs->trans("Waiting").':
' . $legendaPending . '
 '.$langs->trans("Promesses").':
' . $legendaIntent . '
 Total:
' . $legendaTotal . '
'; diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index ab067f5ccaa..a57ec2a58e6 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -182,7 +182,7 @@ if ($resql) // Displays product removal confirmation if (!empty($_GET['delprod'])) { - print '
'.$langs->trans("ProductDeleted",$_GET['delprod']).'

'; + print '
'.$langs->trans("ProductDeleted",$_GET['delprod']).'

'; } $param="&sref=".$sref.($sbarcode?"&sbarcode=".$sbarcode:"")."&snom=".$snom."&sall=".$sall."&envente=".$envente; @@ -195,8 +195,8 @@ if ($resql) print "
"; $c = new Categorie ($db, $catid); $ways = $c->print_all_ways(' > ','product/liste.php'); - print " > ".$ways[0]."
\n"; - print "

"; + print " > ".$ways[0]."
\n"; + print "

"; } if ($conf->droitpret->enabled && isset($_GET["canvas"])) diff --git a/htdocs/product/reassort.php b/htdocs/product/reassort.php index c42b0912452..817c53626f6 100644 --- a/htdocs/product/reassort.php +++ b/htdocs/product/reassort.php @@ -168,8 +168,8 @@ if ($resql) print "
"; $c = new Categorie ($db, $catid); $ways = $c->print_all_ways(' > ','product/reassort.php'); - print " > ".$ways[0]."
\n"; - print "

"; + print " > ".$ways[0]."
\n"; + print "
"; } print '
'; diff --git a/htdocs/product/stock/fiche-valo.php b/htdocs/product/stock/fiche-valo.php index 96af41f77e2..b13bd4187c6 100644 --- a/htdocs/product/stock/fiche-valo.php +++ b/htdocs/product/stock/fiche-valo.php @@ -128,7 +128,7 @@ if ($_GET["id"]) if (file_exists(DOL_DATA_ROOT.'/entrepot/temp/entrepot-'.$entrepot->id.'-'.($year-1).'.png')) { $url=DOL_URL_ROOT.'/viewimage.php?modulepart=graph_stock&file=entrepot-'.$entrepot->id.'-'.($year-1).'.png'; - print '
Valorisation du stock annee '.($year-1).''; + print '
Valorisation du stock annee '.($year-1).''; } } else diff --git a/htdocs/product/stock/valo.php b/htdocs/product/stock/valo.php index 00ff111e9c5..32c215971d7 100644 --- a/htdocs/product/stock/valo.php +++ b/htdocs/product/stock/valo.php @@ -125,20 +125,20 @@ if ($result) $db->free($result); print ""; - print '
'; + print '
'; $file='entrepot-'.$year.'.png'; if (file_exists(DOL_DATA_ROOT.'/entrepot/temp/'.$file)) { $url=DOL_URL_ROOT.'/viewimage.php?modulepart=graph_stock&file='.$file; - print 'Valorisation du stock ann�e '.($year).''; + print ''; } $file='entrepot-'.($year-1).'.png'; if (file_exists(DOL_DATA_ROOT.'/entrepot/temp/'.$file)) { $url=DOL_URL_ROOT.'/viewimage.php?modulepart=graph_stock&file='.$file; - print '
Valorisation du stock ann�e '.($year-1).''; + print '
'; } } diff --git a/htdocs/product/templates/livre/livre-create.tpl b/htdocs/product/templates/livre/livre-create.tpl index eaa5dc8aa72..11f93797cdf 100644 --- a/htdocs/product/templates/livre/livre-create.tpl +++ b/htdocs/product/templates/livre/livre-create.tpl @@ -127,7 +127,7 @@ -
+
@@ -159,7 +159,7 @@
-
+
@@ -198,7 +198,7 @@
-
+
diff --git a/htdocs/product/templates/livre/livre-edit.tpl b/htdocs/product/templates/livre/livre-edit.tpl index 0937be23bf0..366c0050632 100644 --- a/htdocs/product/templates/livre/livre-edit.tpl +++ b/htdocs/product/templates/livre/livre-edit.tpl @@ -122,7 +122,7 @@
-
+
@@ -137,7 +137,7 @@
-
+
@@ -167,7 +167,7 @@
-
+
@@ -235,7 +235,7 @@
-
+
diff --git a/htdocs/product/templates/livre/livre-view.tpl b/htdocs/product/templates/livre/livre-view.tpl index 861b39d8203..251b8f34391 100644 --- a/htdocs/product/templates/livre/livre-view.tpl +++ b/htdocs/product/templates/livre/livre-view.tpl @@ -138,7 +138,7 @@
-
+
diff --git a/htdocs/product/templates/livrecontrat/livrecontrat-edit.tpl b/htdocs/product/templates/livrecontrat/livrecontrat-edit.tpl index f7a2dfbc24e..845c49be2bb 100644 --- a/htdocs/product/templates/livrecontrat/livrecontrat-edit.tpl +++ b/htdocs/product/templates/livrecontrat/livrecontrat-edit.tpl @@ -41,7 +41,7 @@
-
+
@@ -55,7 +55,7 @@
-
+
@@ -82,7 +82,7 @@
-
+
diff --git a/htdocs/product/templates/livrecontrat/livrecontrat-view.tpl b/htdocs/product/templates/livrecontrat/livrecontrat-view.tpl index 4111bf1b6fc..980f6ad364f 100644 --- a/htdocs/product/templates/livrecontrat/livrecontrat-view.tpl +++ b/htdocs/product/templates/livrecontrat/livrecontrat-view.tpl @@ -56,7 +56,7 @@
-
+
@@ -76,7 +76,7 @@
-
+
diff --git a/htdocs/product/templates/livrecouverture/livrecouverture-edit.tpl b/htdocs/product/templates/livrecouverture/livrecouverture-edit.tpl index da12ff9ab1e..6be048a553c 100644 --- a/htdocs/product/templates/livrecouverture/livrecouverture-edit.tpl +++ b/htdocs/product/templates/livrecouverture/livrecouverture-edit.tpl @@ -99,7 +99,7 @@
-
+
@@ -116,7 +116,7 @@
-
+
@@ -147,7 +147,7 @@
-
+
diff --git a/htdocs/product/templates/livrecouverture/livrecouverture-view.tpl b/htdocs/product/templates/livrecouverture/livrecouverture-view.tpl index 32f038802dd..c17e6832961 100644 --- a/htdocs/product/templates/livrecouverture/livrecouverture-view.tpl +++ b/htdocs/product/templates/livrecouverture/livrecouverture-view.tpl @@ -34,7 +34,7 @@
-
+
@@ -54,6 +54,6 @@
-
+
\ No newline at end of file diff --git a/htdocs/projet/activity/index.php b/htdocs/projet/activity/index.php index 9bc46cd4a90..ea2758ebe00 100644 --- a/htdocs/projet/activity/index.php +++ b/htdocs/projet/activity/index.php @@ -124,7 +124,7 @@ print "\n"; print ""; /* Affichage de la liste des projets d'hier */ -print '
'; +print '
'; print ''; print ''; print ''; @@ -223,7 +223,7 @@ print ''; print ''; print ''; print "\n"; -print "
'.$langs->trans('Yesterday').''.$langs->trans("Time").'
'.$langs->trans('Total').''.$total.'

"; +print "
"; /* Affichage de la liste des projets du mois */ print ''; @@ -269,7 +269,7 @@ else print "
"; /* Affichage de la liste des projets de l'annee */ -print '
'; +print '
'; print ''; print ''; print ''; diff --git a/htdocs/theme/phones/iphone/templates/login.tpl b/htdocs/theme/phones/iphone/templates/login.tpl index 4acda126f08..687404d1913 100644 --- a/htdocs/theme/phones/iphone/templates/login.tpl +++ b/htdocs/theme/phones/iphone/templates/login.tpl @@ -53,7 +53,7 @@ -
+
{$langs->trans('Identification')}
    diff --git a/htdocs/theme/phones/iphone/templates/user/passwordforgotten.tpl b/htdocs/theme/phones/iphone/templates/user/passwordforgotten.tpl index 0922b49a614..20772f20cef 100644 --- a/htdocs/theme/phones/iphone/templates/user/passwordforgotten.tpl +++ b/htdocs/theme/phones/iphone/templates/user/passwordforgotten.tpl @@ -57,7 +57,7 @@ -
    +
    {$langs->trans('Identification')}
'.$langs->trans("ActivityOnProjectThisYear").': '.strftime("%Y", $now).''.$langs->trans("Time").'