';
print $langs->trans("DateLastGeneration");
@@ -788,7 +788,7 @@ if ($action == 'create') {
$sql = "SELECT f.rowid as fich_rec, s.nom as name, s.rowid as socid, f.rowid as facid, f.titre, ";
$sql.= " f.duree, f.fk_contrat, f.fk_projet, f.frequency, f.nb_gen_done, f.nb_gen_max,";
$sql.= " f.date_last_gen, f.date_when, f.datec";
-
+
$sql.= " FROM ".MAIN_DB_PREFIX."fichinter_rec as f";
$sql.= " , ".MAIN_DB_PREFIX."societe as s ";
if (! $user->rights->societe->client->voir && ! $socid) {
@@ -813,7 +813,7 @@ if ($action == 'create') {
if ($resql) {
$num = $db->num_rows($resql);
print_barre_liste(
- $langs->trans("RepeatableInterventional"), $page,
+ $langs->trans("RepeatableInterventional"), $page,
$_SERVER['PHP_SELF'], "&socid=$socid", $sortfield, $sortorder,
'', $num, '', 'title_commercial.png'
);
@@ -824,12 +824,12 @@ if ($action == 'create') {
print '';
print '';
print_liste_field_titre(
- $langs->trans("Ref"), $_SERVER['PHP_SELF'], "f.titre", "", "",
+ $langs->trans("Ref"), $_SERVER['PHP_SELF'], "f.titre", "", "",
'width="200px" align="left"', $sortfiled, $sortorder
);
print_liste_field_titre(
- $langs->trans("Company"), $_SERVER['PHP_SELF'], "s.nom", "", "",
+ $langs->trans("Company"), $_SERVER['PHP_SELF'], "s.nom", "", "",
'width="200px" align="left"', $sortfiled, $sortorder
);
if (! empty($conf->contrat->enabled))
@@ -847,7 +847,7 @@ if ($action == 'create') {
);
print_liste_field_titre(
$langs->trans("Duration"), $_SERVER['PHP_SELF'],
- 'f.duree', '', '',
+ 'f.duree', '', '',
'width="50px" align="right"', $sortfiled, $sortorder
);
// Recurring or not
@@ -915,7 +915,7 @@ if ($action == 'create') {
print '| '.convertSecondToTime($objp->duree).' | ';
print ''.yn($objp->frequency?1:0).' | ';
-
+
print '';
if ($objp->frequency) {
print $objp->nb_gen_done.($objp->nb_gen_max>0?' / '. $objp->nb_gen_max:'') ;
@@ -938,7 +938,7 @@ if ($action == 'create') {
print ''.$langs->trans('NA').'';
print ' | ';
}
-
+
if ($user->rights->ficheinter->creer) {
// Action column
print '';
@@ -958,7 +958,7 @@ if ($action == 'create') {
$i++;
}
}
- } else
+ } else
print ' | | '.$langs->trans("NoneF").' | ';
print " ";
diff --git a/htdocs/fourn/js/lib_dispatch.js b/htdocs/fourn/js/lib_dispatch.js
index c2c570643f8..d183aeb4e48 100644
--- a/htdocs/fourn/js/lib_dispatch.js
+++ b/htdocs/fourn/js/lib_dispatch.js
@@ -23,23 +23,23 @@
/**
* addDispatchLine
* Adds new table row for dispatching to multiple stock locations
- *
+ *
* @param index int index of product line. 0 = first product line
* @param type string type of dispatch (batch = batch dispatch, dispatch = non batch dispatch)
* @param mode string 'qtymissing' will create new line with qty missing, 'lessone' will keep 1 in old line and the rest in new one
*/
-function addDispatchLine(index, type, mode)
+function addDispatchLine(index, type, mode)
{
mode = mode || 'qtymissing'
-
+
console.log("fourn/js/lib_dispatch.js Split line type="+type+" index="+index+" mode="+mode);
var $row = $("tr[name='"+type+'_0_'+index+"']").clone(true), // clone first batch line to jQuery object
nbrTrs = $("tr[name^='"+type+"_'][name$='_"+index+"']").length, // position of line for batch
qtyOrdered = parseFloat($("#qty_ordered_0_"+index).val()), // Qty ordered is same for all rows
qty = parseFloat($("#qty_"+(nbrTrs - 1)+"_"+index).val()),
qtyDispatched;
-
- if (mode === 'lessone')
+
+ if (mode === 'lessone')
{
qtyDispatched = parseFloat($("#qty_dispatched_0_"+index).val()) + 1;
}
@@ -47,7 +47,7 @@ function addDispatchLine(index, type, mode)
{
qtyDispatched = parseFloat($("#qty_dispatched_0_"+index).val()) + qty;
}
-
+
if (qtyDispatched < qtyOrdered)
{
//replace tr suffix nbr
@@ -62,19 +62,19 @@ function addDispatchLine(index, type, mode)
$row.attr('name',type+'_'+nbrTrs+'_'+index);
//insert new row before last row
$("tr[name^='"+type+"_'][name$='_"+index+"']:last").after($row);
-
+
//remove cloned select2 with duplicate id.
$("#s2id_entrepot_"+nbrTrs+'_'+index).detach(); // old way to find duplicated select2 component
$(".csswarehouse_"+nbrTrs+"_"+index+":first-child").parent("span.selection").parent(".select2").detach();
-
+
/* Suffix of lines are: _ trs.length _ index */
$("#qty_"+nbrTrs+"_"+index).focus();
$("#qty_dispatched_0_"+index).val(qtyDispatched);
-
+
//hide all buttons then show only the last one
$("tr[name^='"+type+"_'][name$='_"+index+"'] .splitbutton").hide();
$("tr[name^='"+type+"_'][name$='_"+index+"']:last .splitbutton").show();
-
+
if (mode === 'lessone')
{
qty = 1; // keep 1 in old line
@@ -94,11 +94,11 @@ function addDispatchLine(index, type, mode)
/**
* onChangeDispatchLineQty
- *
- * Change event handler for dispatch qty input field,
+ *
+ * Change event handler for dispatch qty input field,
* recalculate qty dispatched when qty input has changed.
* If qty is more then qty ordered reset input qty to max qty to dispatch.
- *
+ *
* element requires arbitrary data qty (value before change), type (type of dispatch) and index (index of product line)
*/
@@ -124,4 +124,4 @@ function onChangeDispatchLineQty() {
}
$(this).data('qty', $(this).val());
}
-}
\ No newline at end of file
+}
diff --git a/htdocs/holiday/class/holiday.class.php b/htdocs/holiday/class/holiday.class.php
index c8b64790061..213231cf160 100644
--- a/htdocs/holiday/class/holiday.class.php
+++ b/htdocs/holiday/class/holiday.class.php
@@ -418,7 +418,7 @@ class Holiday extends CommonObject
}
else
{
- // SQL Error
+ // SQL Error
$this->error="Error ".$this->db->lasterror();
return -1;
}
@@ -542,7 +542,7 @@ class Holiday extends CommonObject
}
else
{
- // SQL Error
+ // SQL Error
$this->error="Error ".$this->db->lasterror();
return -1;
}
diff --git a/htdocs/opensurvey/css/style.css b/htdocs/opensurvey/css/style.css
index 7e359bd134e..e790d2d59f8 100644
--- a/htdocs/opensurvey/css/style.css
+++ b/htdocs/opensurvey/css/style.css
@@ -104,10 +104,10 @@ borghesi@unistra.fr
Ce logiciel est régi par la licence CeCILL-B soumise au droit français et
respectant les principes de diffusion des logiciels libres. Vous pouvez
utiliser, modifier et/ou redistribuer ce programme sous les conditions
-de la licence CeCILL-B telle que diffusée par le CEA, le CNRS et l'INRIA
+de la licence CeCILL-B telle que diffusée par le CEA, le CNRS et l'INRIA
sur le site "http://www.cecill.info".
-Le fait que vous puissiez accéder à cet en-tête signifie que vous avez
+Le fait que vous puissiez accéder à cet en-tête signifie que vous avez
pris connaissance de la licence CeCILL-B, et que vous en avez accepté les
termes. Vous pouvez trouver une copie de la licence dans le fichier LICENCE.
@@ -120,10 +120,10 @@ Creation : Feb 2008
borghesi@unistra.fr
This software is governed by the CeCILL-B license under French law and
-abiding by the rules of distribution of free software. You can use,
+abiding by the rules of distribution of free software. You can use,
modify and/ or redistribute the software under the terms of the CeCILL-B
license as circulated by CEA, CNRS and INRIA at the following URL
-"http://www.cecill.info".
+"http://www.cecill.info".
The fact that you are presently reading this means that you have had
knowledge of the CeCILL-B license and that you accept its terms. You can
@@ -133,12 +133,12 @@ find a copy of this license in the file LICENSE.
*/
/*
-Le fichier style.css est le fichier de style de studs. Il se trouve à la racine
+Le fichier style.css est le fichier de style de studs. Il se trouve à la racine
du répertoire studs. Il contient toutes les mises en forme des fichiers PHP
de Studs.
*/
/*bandeau de titre*/
-div.bandeau{
+div.bandeau{
line-height:35px;
text-align:center;
background-color: #0b419b;
@@ -146,7 +146,7 @@ div.bandeau{
vertical-align:middle;
font-size:35px;
font-family:arial, sans-serif;
- padding:8px;
+ padding:8px;
height:35px;
position:static;
top:6px;
@@ -154,30 +154,30 @@ div.bandeau{
right:6px;
}
-div.logo{
+div.logo{
height:64px;
float:right;
top:8px;
right:8px;
margin-left: 0;
- margin-right:0;
+ margin-right:0;
margin-bottom:auto;
}
/*Sous bandeau avec bouton de navigation*/
-div.bandeautitre{
+div.bandeautitre{
height:17px;
font-size:14px;
font-weight:bold;
text-align:center;
vertical-align:middle;
font-family:arial, sans-serif;
- padding:3px;
+ padding:3px;
position:static;
top:57px;
left:6px;
right:6px;
-}
-div.sousbandeau{
+}
+div.sousbandeau{
height:17px;
background-color: #DDDDDD;
font-size:11px;
@@ -191,15 +191,15 @@ div.sousbandeau{
right:6px;
}
/*bandeau de pied*/
-div.surbandeaupied{
+div.surbandeaupied{
background-color: #0077DD;
position:absolute;
bottom:30px;
left:6px;
- right:6px;
+ right:6px;
height:6px;
}
-div.bandeaupied{
+div.bandeaupied{
text-align:center;
background-color: #0b419b;
color:white;
@@ -209,29 +209,29 @@ div.bandeaupied{
position:fixed;
bottom:6px;
left:6px;
- right:6px;
+ right:6px;
margin:2px;
}
-div.surbandeaupiedmobile{
+div.surbandeaupiedmobile{
background-color: #0077DD;
- position:static;
+ position:static;
bottom:32px;
left:6px;
- right:6px;
+ right:6px;
height:6px;
}
-div.bandeaupiedmobile{
+div.bandeaupiedmobile{
text-align:center;
background-color: #0b419b;
color:white;
font-size:11px;
font-family:arial, sans-serif;
- padding:6px;
- position:static;
+ padding:6px;
+ position:static;
}
/*les boutons se trouvant dans le sousbandeau*/
div.sousbandeau a, div.sousbandeau span.sousbandeaulangue a {
- background-color: #0b419b;
+ background-color: #0b419b;
height:16px;
padding: 2px 6px 2px 6px;
vertical-align:middle;
@@ -249,7 +249,7 @@ span.sousbandeaulangue {
float:right;
}
/*corps de la page index.php*/
-div.corps{
+div.corps{
font-size:12px;
font-family:arial, sans-serif;
position:static;
@@ -257,10 +257,10 @@ div.corps{
}
div.corps table{
font-family:arial, sans-serif;
- font-size:12px;
+ font-size:12px;
font-weight:bold;
}
-div.corpscentre{
+div.corpscentre{
font-size:12px;
font-family:arial, sans-serif;
text-align:center;
@@ -285,7 +285,7 @@ div.jourschoisis {
div.bodydate {
padding:10px;
font-family:arial, sans-serif;
- font-size:12px;
+ font-size:12px;
text-align:center;
position:static;
top:330px;
@@ -294,7 +294,7 @@ div.bodydate {
}
div.bodydate table{
font-family:arial, sans-serif;
- font-size:12px;
+ font-size:12px;
font-weight:bold;
}
/*cadre de commentaires*/
@@ -302,7 +302,7 @@ div.presentationdate {
width:100%;
font-family:arial, sans-serif;
text-align:center;
- font-size:12px;
+ font-size:12px;
border-top:1px solid;
border-bottom:1px solid;
border-left: none;
@@ -321,14 +321,14 @@ div.presentationdatefin {
border: 1px solid;
margin-top: 10px;
margin-left: 30%;
- margin-right: 30%;
+ margin-right: 30%;
position:static;
}
/*cadre principal de studs.php*/
div.cadre {
- padding:10px;
+ padding:10px;
font-family:arial, sans-serif;
- font-size:12px;
+ font-size:12px;
position:static;
top:235px;
text-align:center;
@@ -350,54 +350,54 @@ div.cadre td {
}
/*case de tableau OK dans affichage de sondage*/
div.cadre td.ok {
- background-color: #66FF99;
- font-size:12px;
+ background-color: #66FF99;
+ font-size:12px;
text-align:center;
}
/*Case de tableau NON dans affichage de sondage*/
div.cadre td.non {
- background-color: #FF7777;
+ background-color: #FF7777;
min-width: 60px;
}
/*Case de tableau VIDE dans affichage de sondage*/
div.cadre td.vide {
- background-color: #DDDDDD;
+ background-color: #DDDDDD;
text-align:center;
}
/*Case de tableau contenant les noms dans affichage de sondage*/
div.cadre td.nom {
- background-color: #DDDDDD;
- font-size:12px;
+ background-color: #DDDDDD;
+ font-size:12px;
text-align:center;
}
div.cadre td.casevide {
- background-color: white;
+ background-color: white;
text-align:center;
}
/*les cases contenant les sommes de chaque colonne dans l'affichage de calendrier*/
div.cadre td.somme {
font-weight: bold;
- font-size:14px;
+ font-size:14px;
}
/*Case de tableau SUJET dans affichage de sondage*/
div.cadre td.sujet, div.cadre td.jour, div.cadre td.heure {
border: 2px;
- background-color: #DDDDDD;
+ background-color: #DDDDDD;
font-size:14px;
padding:1px 5px;
}
div.cadre td.annee {
border: 2px;
- background-color: #969696;
+ background-color: #969696;
font-weight: bold;
font-size:14px;
padding:1px 5px;
}
div.cadre td.mois {
border: 2px;
- background-color: #C0C0C0;
+ background-color: #C0C0C0;
font-weight: bold;
font-size:14px;
padding:1px 5px;
@@ -421,7 +421,7 @@ div.calendrier td.joursemaine {
font-family:arial, sans-serif;
font-size:14px;
border: 2px;
- background-color: white;
+ background-color: white;
}
div.calendrier td.jourwe {
width:65px;
@@ -429,7 +429,7 @@ div.calendrier td.jourwe {
font-family:arial, sans-serif;
font-size:14px;
border: 2px;
- background-color: #C0C0C0;
+ background-color: #C0C0C0;
}
/*jour avant le premier jour du mois dans calendrier*/
div.calendrier td.avant {
@@ -438,21 +438,21 @@ div.calendrier td.avant {
border: 2px;
font-family:arial, sans-serif;
font-size:13px;
- background-color: #DDDDDD;
+ background-color: #DDDDDD;
}
/*jour libre dans calendrier*/
div.calendrier td.libre {
width:65px;
text-align: center;
border: 2px;
- background-color: #66FF99;
+ background-color: #66FF99;
}
/*jour deja selectionné dans calendrier*/
div.calendrier td.choisi {
width:65px;
text-align: center;
border: 2px;
- background-color: #0077DD;
+ background-color: #0077DD;
}
/* Le paragraphe de fin */
p.affichageresultats{
diff --git a/htdocs/support/default.css b/htdocs/support/default.css
index 17204387eb4..6737a6ede00 100644
--- a/htdocs/support/default.css
+++ b/htdocs/support/default.css
@@ -1,4 +1,4 @@
-/* Copyright (C) 2004 Rodolphe Quiedeville
+/* Copyright (C) 2004 Rodolphe Quiedeville
* Copyright (C) 2009 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
@@ -147,7 +147,7 @@ padding: 4px 4px 4px 4px;
tr.title
{
-background: #DDDFDD;
+background: #DDDFDD;
}
table { font-size: 12px; }
|