mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Qual: Suppression de la fonction print_select_date au profit de son doublon (la methode select_date).
Trad: Traduction des mois
This commit is contained in:
parent
7cc91aa8d4
commit
211ef32be9
|
|
@ -411,7 +411,7 @@ if ($action == 'create') {
|
|||
}
|
||||
|
||||
print "<tr><td>Date de cotisation</td><td>\n";
|
||||
print_date_select();
|
||||
$htmls->select_date();
|
||||
print "</td></tr>\n";
|
||||
print '<tr><td>Mode de paiment</td><td>';
|
||||
|
||||
|
|
@ -728,11 +728,11 @@ if ($rowid)
|
|||
print "<tr><td>Date de cotisation</td><td>\n";
|
||||
if ($adh->datefin > 0)
|
||||
{
|
||||
print_date_select($adh->datefin + (3600*24));
|
||||
$html->select_date($adh->datefin + (3600*24));
|
||||
}
|
||||
else
|
||||
{
|
||||
print_date_select();
|
||||
$html->select_date();
|
||||
}
|
||||
print "</td></tr>";
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/** \file htdocs/comm/addpropal.php
|
||||
/**
|
||||
\file htdocs/comm/addpropal.php
|
||||
\ingroup propal
|
||||
\brief Page d'ajout d'une proposition commmercial
|
||||
\version $Revision$
|
||||
|
|
@ -50,6 +51,9 @@ llxHeader();
|
|||
|
||||
print_titre($langs->trans("NewProp"));
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
* Creation d'une nouvelle propale
|
||||
|
|
@ -93,7 +97,7 @@ if ($_GET["action"] == 'create')
|
|||
print '</tr>';
|
||||
|
||||
print "<tr><td>".$langs->trans("Date")."</td><td>";
|
||||
print_date_select();
|
||||
$form->select_date();
|
||||
print "</td></tr>";
|
||||
|
||||
print '<tr><td>'.$langs->trans("Author").'</td><td>'.$user->fullname.'</td></tr>';
|
||||
|
|
|
|||
|
|
@ -209,31 +209,34 @@ if ($_socid > 0)
|
|||
print '<tr><td valign="top">';
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
print '<tr><td width="20%">'.$langs->trans("Name").'</td><td width="80%" colspan="2">';
|
||||
print '<tr><td width="20%">'.$langs->trans("Name").'</td><td width="80%" colspan="3">';
|
||||
print $objsoc->nom;
|
||||
print '</td><td align="center">'.$objsoc->code_client.'</td></tr>';
|
||||
print "<tr><td valign=\"top\">".$langs->trans("Address")."</td><td colspan=\"3\">".nl2br($objsoc->adresse);
|
||||
print '</td></tr>';
|
||||
|
||||
print '<br />'.$objsoc->cp." ".$objsoc->ville;
|
||||
print '<br />'.$objsoc->pays.'</td></tr>';
|
||||
print '<tr><td>';
|
||||
print $langs->trans('CustomerCode').'</td><td>';
|
||||
print $objsoc->code_client;
|
||||
if ($objsoc->check_codeclient() <> 0) print ' '.$langs->trans("WrongCustomerCode");
|
||||
print '</td><td>'.$langs->trans('Prefix').'</td><td>'.$objsoc->prefix_comm.'</td></tr>';
|
||||
|
||||
print "<tr><td valign=\"top\">".$langs->trans('Address')."</td><td colspan=\"3\">".nl2br($objsoc->adresse)."</td></tr>";
|
||||
|
||||
print '<tr><td>'.$langs->trans("Phone").'</td><td>'.dolibarr_print_phone($objsoc->tel).' </td><td>Fax</td><td>'.dolibarr_print_phone($objsoc->fax).' </td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Web")."</td><td colspan=\"3\"><a href=\"http://$objsoc->url\">$objsoc->url</a> </td></tr>";
|
||||
print '<tr><td>'.$langs->trans('Zip').'</td><td>'.$objsoc->cp."</td>";
|
||||
print '<td>'.$langs->trans('Town').'</td><td>'.$objsoc->ville."</td></tr>";
|
||||
|
||||
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">'.$objsoc->pays.'</td>';
|
||||
|
||||
print "<tr><td nowrap>".$langs->transcountry("ProfId1",$objsoc->pays_code)."</td><td><a href=\"http://www.societe.com/cgi-bin/recherche?rncs=$objsoc->siren\">$objsoc->siren</a> </td>";
|
||||
print '<td>'.$langs->trans("Prefix").'</td><td>';
|
||||
if ($objsoc->prefix_comm)
|
||||
{
|
||||
print $objsoc->prefix_comm;
|
||||
}
|
||||
else
|
||||
{
|
||||
print "[<a href=\"fiche.php?socid=$objsoc->id&action=attribute_prefix\">Attribuer</a>]";
|
||||
}
|
||||
print '<tr><td>'.$langs->trans('Phone').'</td><td>'.dolibarr_print_phone($objsoc->tel).'</td>';
|
||||
print '<td>'.$langs->trans('Fax').'</td><td>'.dolibarr_print_phone($objsoc->fax).'</td></tr>';
|
||||
|
||||
print "</td></tr>";
|
||||
print '<tr><td>'.$langs->trans("Web")."</td><td colspan=\"3\"><a href=\"http://$objsoc->url\">".$objsoc->url."</a> </td></tr>";
|
||||
|
||||
print "<tr><td nowrap>".$langs->transcountry("ProfId1",$objsoc->pays_code)."</td><td><a href=\"http://www.societe.com/cgi-bin/recherche?rncs=".$objsoc->siren."\">".$objsoc->siren."</a> </td>";
|
||||
print '<td>'.$langs->transcountry('ProfId2',$objsoc->pays_code).'</td><td>'.$objsoc->siret.'</td></tr>';
|
||||
|
||||
print '<tr><td>Forme juridique</td><td colspan="3">'.$objsoc->forme_juridique.'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Type").'</td><td>'.$objsoc->typent.'</td><td>'.$langs->trans("Effectif").'</td><td>'.$objsoc->effectif.'</td></tr>';
|
||||
|
||||
print "<tr><td>".$langs->trans("Type")."</td><td> $objsoc->typent</td><td>Effectif</td><td>$objsoc->effectif</td></tr>";
|
||||
print '<tr><td nowrap>';
|
||||
print $langs->trans("CustomerDiscount").'</td><td>'.$objsoc->remise_client." %</td>";
|
||||
print '<td colspan="2"><a href="remise.php?id='.$objsoc->id.'">';
|
||||
|
|
|
|||
|
|
@ -135,13 +135,13 @@ if ($socid > 0)
|
|||
print '<tr><td valign="top">';
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
print "<tr><td>".$langs->trans("Phone")."</td><td align=\"center\">".dolibarr_print_phone($societe->tel)." </td><td>fax</td><td align=\"center\">".dolibarr_print_phone($societe->fax)." </td></tr>";
|
||||
print "<tr><td>".$langs->trans("Phone")."</td><td align=\"center\">".dolibarr_print_phone($societe->tel)."</td><td>".$langs->trans("Fax")."</td><td align=\"center\">".dolibarr_print_phone($societe->fax)." </td></tr>";
|
||||
print '<tr><td valign="top">'.$langs->trans("Address").'</td><td colspan="3">'.nl2br($societe->address)."<br>$societe->cp $societe->ville</td></tr>";
|
||||
|
||||
print '<tr><td>Siret</td><td>'.$societe->siret.'</td>';
|
||||
print '<td>Capital</td><td>'.$societe->capital.'</td></tr>';
|
||||
|
||||
print "<tr><td>".$langs->trans("Type")."</td><td> $societe->typent</td><td>Effectif</td><td>$societe->effectif</td></tr>";
|
||||
print '<tr><td>'.$langs->trans("Type")."</td><td>".$societe->typent.'</td><td>'.$langs->trans("Staff").'</td><td>'.$societe->effectif.'</td></tr>';
|
||||
|
||||
if ($societe->url)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ if ($_GET["action"] == 'create')
|
|||
print '<textarea name="note" wrap="soft" cols="60" rows="8"></textarea></td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Date").' :</td><td>';
|
||||
$html->select_date()
|
||||
$html->select_date();
|
||||
print "</td></tr>";
|
||||
|
||||
print '<tr><td>'.$langs->trans("Ref").' :</td><td>Provisoire</td></tr>';
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@ if (!$user->rights->banque->modifier)
|
|||
|
||||
llxHeader();
|
||||
|
||||
$html=new Form($db);
|
||||
|
||||
|
||||
/*
|
||||
* Action ajout d'un virement
|
||||
|
|
@ -105,7 +107,7 @@ $result = $db->query($sql);
|
|||
if ($result)
|
||||
{
|
||||
$var=True;
|
||||
$num = $db->num_rows();
|
||||
$num = $db->num_rows($result);
|
||||
$i = 0; $total = 0;
|
||||
|
||||
while ($i < $num)
|
||||
|
|
@ -136,7 +138,7 @@ if ($result)
|
|||
print "</select></td>\n";
|
||||
|
||||
print "<td>";
|
||||
print_date_select();
|
||||
$html->select_date();
|
||||
print "</td>\n";
|
||||
print '<td><input name="label" type="text" size="40"></td>';
|
||||
print '<td><input name="amount" type="text" size="8"></td>';
|
||||
|
|
|
|||
|
|
@ -152,6 +152,8 @@ if ($_GET["action"] == 'set_encaisse')
|
|||
|
||||
llxHeader();
|
||||
|
||||
$html=new Form($db);
|
||||
|
||||
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
|
|
@ -169,7 +171,7 @@ if ($_GET["action"] == 'create') {
|
|||
print '<input type="hidden" name="action" value="add">';
|
||||
|
||||
print "<tr $bc[1]>".'<td>'.$langs->trans("Date").'</td><td>';
|
||||
print_date_select();
|
||||
$html->select_date();
|
||||
print '</td>';
|
||||
|
||||
print '<td rowspan="12" valign="top">'.$langs->trans("Comments").' :<br>';
|
||||
|
|
@ -255,7 +257,7 @@ if ($_GET["rowid"] && $_GET["action"] == 'edit')
|
|||
print '<input type="hidden" name="rowid" value="'.$don->id.'">';
|
||||
|
||||
print "<tr $bc[1]>".'<td>'.$langs->trans("Date").'</td><td>';
|
||||
print_date_select($don->date);
|
||||
$html->select_date($don->date);
|
||||
print '</td>';
|
||||
|
||||
print '<td rowspan="12" valign="top">'.$langs->trans("Comments").' :<br>';
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ if ($_GET["action"] == 'create')
|
|||
print '<textarea name="note" wrap="soft" cols="60" rows="5"></textarea></td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Date").' :</td><td>';
|
||||
print_date_select(time());
|
||||
$html->select_date();
|
||||
print '</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Ref").' :</td><td>Provisoire</td></tr>';
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
/**
|
||||
\file htdocs/compta/paiement.php
|
||||
\ingroup compta
|
||||
\brief Page de création d'un paiement
|
||||
|
|
@ -143,6 +143,9 @@ if ($user->societe_id > 0)
|
|||
|
||||
llxHeader();
|
||||
|
||||
$html=new Form($db);
|
||||
|
||||
|
||||
if ($_GET["action"] == 'create')
|
||||
{
|
||||
$facture = new Facture($db);
|
||||
|
|
@ -155,7 +158,7 @@ if ($_GET["action"] == 'create')
|
|||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
$num = $db->num_rows($result);
|
||||
if ($num)
|
||||
{
|
||||
$obj = $db->fetch_object($result);
|
||||
|
|
@ -176,7 +179,7 @@ if ($_GET["action"] == 'create')
|
|||
print "<input type=\"hidden\" name=\"societe\" value=\"$obj->nom\">";
|
||||
|
||||
print "<tr><td>".$langs->trans("Date")." :</td><td>";
|
||||
print_date_select();
|
||||
$html->select_date();
|
||||
print '</td>';
|
||||
print '<td>'.$langs->trans("Comments").'</td></tr>';
|
||||
|
||||
|
|
@ -187,7 +190,7 @@ if ($_GET["action"] == 'create')
|
|||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
$num = $db->num_rows($result);
|
||||
$i = 0;
|
||||
while ($i < $num)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -134,6 +134,9 @@ if ($user->societe_id > 0)
|
|||
|
||||
llxHeader();
|
||||
|
||||
$html=new Form($db);
|
||||
|
||||
|
||||
if ($fiche_erreur_message)
|
||||
{
|
||||
print "<div class=\"error\">$fiche_erreur_message</div><br>";
|
||||
|
|
@ -183,7 +186,7 @@ if ($_GET["action"] == 'create')
|
|||
print "<input type=\"hidden\" name=\"chid\" value=\"$chid\">";
|
||||
|
||||
print '<tr><td>'.$langs->trans("Date").' :</td><td>';
|
||||
print_date_select();
|
||||
$html->select_date();
|
||||
print "</td>";
|
||||
print '<td>'.$langs->trans("Comments").'</td></tr>';
|
||||
|
||||
|
|
@ -194,7 +197,7 @@ if ($_GET["action"] == 'create')
|
|||
$result = $db->query($sql);
|
||||
if ($result)
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
$num = $db->num_rows($result);
|
||||
$i = 0;
|
||||
while ($i < $num)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -251,13 +251,11 @@ if ($_GET["action"] == 'create')
|
|||
}
|
||||
print '</select></td></tr>';
|
||||
|
||||
print "<tr><td>Date :</td><td>";
|
||||
|
||||
print_date_select(time());
|
||||
|
||||
print '<tr><td>'.$langs->trans("Date").' :</td><td>';
|
||||
$html->select_date();
|
||||
print "</td></tr>";
|
||||
|
||||
print "<tr><td>Projet :</td><td>";
|
||||
print '<tr><td>'.$langs->trans("Project").' :</td><td>';
|
||||
$proj = new Project($db);
|
||||
$html->select_array("projetid",$proj->liste_array($soc->id),0,1);
|
||||
print "</td></tr>";
|
||||
|
|
|
|||
|
|
@ -258,6 +258,8 @@ if ($_GET["action"] == 'create')
|
|||
}
|
||||
|
||||
|
||||
$sel = new Form($db);
|
||||
|
||||
/*
|
||||
*
|
||||
* Mode update
|
||||
|
|
@ -286,11 +288,7 @@ if ($_GET["action"] == 'edit')
|
|||
|
||||
print '<table class="border" width="100%">';
|
||||
print "<tr><td>".$langs->trans("Date")."</td><td>";
|
||||
/*
|
||||
* set $reday, $remonth, $reyear
|
||||
*/
|
||||
print_date_select($fichinter->date);
|
||||
|
||||
$sel->select_date($fichinter->date);
|
||||
print "</select></td></tr>";
|
||||
|
||||
print '<tr><td>'.$langs->trans("Ref").'</td><td>'.$fichinter->ref.'</td></tr>';
|
||||
|
|
@ -300,7 +298,6 @@ if ($_GET["action"] == 'edit')
|
|||
// Projet associé
|
||||
print '<tr><td valign="top">'.$langs->trans("Project").'</td><td>';
|
||||
|
||||
$sel = new Form($db);
|
||||
$sel->select_array("projetidp",$listeprj,$fichinter->projet_id);
|
||||
|
||||
if (sizeof($listeprj) == 0)
|
||||
|
|
|
|||
|
|
@ -327,9 +327,7 @@ else
|
|||
print '<td valign="top">'.price($fac->total_ttc).'</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Date").'</td><td>';
|
||||
|
||||
print_date_select($fac->datep);
|
||||
|
||||
$html->select_date($fac->datep);
|
||||
print "</td></tr>";
|
||||
|
||||
$authorfullname=" ";
|
||||
|
|
|
|||
|
|
@ -23,16 +23,16 @@
|
|||
* $Source$
|
||||
*/
|
||||
|
||||
/*!
|
||||
\file htdocs/html.form.class.php
|
||||
\brief Fichier de la classe des fonctions prédéfinie de composants html
|
||||
\version $Revision$
|
||||
/**
|
||||
\file htdocs/html.form.class.php
|
||||
\brief Fichier de la classe des fonctions prédéfinie de composants html
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\class Form
|
||||
\brief Classe permettant la génération de composants html
|
||||
/**
|
||||
\class Form
|
||||
\brief Classe permettant la génération de composants html
|
||||
*/
|
||||
|
||||
class Form
|
||||
|
|
@ -40,8 +40,9 @@ class Form
|
|||
var $db;
|
||||
var $errorstr;
|
||||
|
||||
/*! \brief Constructeur
|
||||
\param DB handler d'accès base de donnée
|
||||
/**
|
||||
\brief Constructeur
|
||||
\param DB handler d'accès base de donnée
|
||||
*/
|
||||
|
||||
function Form($DB)
|
||||
|
|
@ -51,7 +52,7 @@ class Form
|
|||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne la liste déroulante des départements/province/cantons tout pays confondu ou pour un pays donné.
|
||||
* \remarks Dans le cas d'une liste tout pays confondus, l'affichage fait une rupture sur le pays.
|
||||
* \remarks La cle de la liste est le code (il peut y avoir plusieurs entrée pour
|
||||
|
|
@ -60,7 +61,7 @@ class Form
|
|||
* \param selected code forme juridique a présélectionné
|
||||
* \param pays_code 0=liste tous pays confondus, sinon code du pays à afficher
|
||||
*/
|
||||
|
||||
|
||||
function select_departement($selected='',$pays_code=0)
|
||||
{
|
||||
global $conf,$langs;
|
||||
|
|
@ -123,7 +124,7 @@ class Form
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne la liste déroulante des regions actives dont le pays est actif
|
||||
* \remarks La cle de la liste est le code (il peut y avoir plusieurs entrée pour
|
||||
* un code donnée mais dans ce cas, le champ pays et lang diffère).
|
||||
|
|
@ -179,7 +180,7 @@ class Form
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne la liste déroulante des pays actifs, dans la langue de l'utilisateur
|
||||
* \param selected code pays pré-sélectionné
|
||||
* \param htmlname nom de la liste deroulante
|
||||
|
|
@ -232,7 +233,7 @@ class Form
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne la liste déroulante des langues disponibles
|
||||
* \param
|
||||
*/
|
||||
|
|
@ -265,7 +266,7 @@ class Form
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne la liste déroulante des sociétés
|
||||
* \param
|
||||
*/
|
||||
|
|
@ -305,7 +306,7 @@ class Form
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne la liste déroulante des contacts d'une société donnée
|
||||
*
|
||||
*/
|
||||
|
|
@ -349,7 +350,7 @@ class Form
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne le nom d'un pays
|
||||
* \param id id du pays
|
||||
*/
|
||||
|
|
@ -377,7 +378,7 @@ class Form
|
|||
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne la liste déroulante des civilite actives
|
||||
* \param selected civilite pré-sélectionnée
|
||||
*/
|
||||
|
|
@ -423,7 +424,7 @@ class Form
|
|||
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Retourne la liste déroulante des formes juridiques tous pays confondu ou pour un pays donné.
|
||||
* \remarks Dans le cas d'une liste tous pays confondu, on affiche une rupture sur le pays
|
||||
* \param selected code forme juridique a présélectionné
|
||||
|
|
@ -490,7 +491,7 @@ class Form
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Affiche formulaire de demande de confirmation
|
||||
* \param page page
|
||||
* \param title title
|
||||
|
|
@ -517,7 +518,7 @@ class Form
|
|||
print "</form>\n";
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Selection du taux de tva
|
||||
*
|
||||
*/
|
||||
|
|
@ -565,7 +566,7 @@ class Form
|
|||
print '</select>';
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Affiche zone de selection de date
|
||||
* Liste deroulante pour les jours, mois, annee et eventuellement heurs et minutes
|
||||
* Les champs sont présélectionnées avec:
|
||||
|
|
@ -575,23 +576,25 @@ class Form
|
|||
*/
|
||||
function select_date($set_time='', $prefix='re', $h = 0, $m = 0, $empty=0)
|
||||
{
|
||||
global $langs;
|
||||
|
||||
if (! $set_time && ! $empty)
|
||||
{
|
||||
$set_time = time();
|
||||
}
|
||||
|
||||
$strmonth[1] = "Janvier";
|
||||
$strmonth[2] = "Février";
|
||||
$strmonth[3] = "Mars";
|
||||
$strmonth[4] = "Avril";
|
||||
$strmonth[5] = "Mai";
|
||||
$strmonth[6] = "Juin";
|
||||
$strmonth[7] = "Juillet";
|
||||
$strmonth[8] = "Août";
|
||||
$strmonth[9] = "Septembre";
|
||||
$strmonth[10] = "Octobre";
|
||||
$strmonth[11] = "Novembre";
|
||||
$strmonth[12] = "Décembre";
|
||||
$strmonth[1] = $langs->trans("January");
|
||||
$strmonth[2] = $langs->trans("February");
|
||||
$strmonth[3] = $langs->trans("March");
|
||||
$strmonth[4] = $langs->trans("April");
|
||||
$strmonth[5] = $langs->trans("May");
|
||||
$strmonth[6] = $langs->trans("June");
|
||||
$strmonth[7] = $langs->trans("July");
|
||||
$strmonth[8] = $langs->trans("August");
|
||||
$strmonth[9] = $langs->trans("September");
|
||||
$strmonth[10] = $langs->trans("October");
|
||||
$strmonth[11] = $langs->trans("November");
|
||||
$strmonth[12] = $langs->trans("December");
|
||||
|
||||
// Analyse de la date de préselection
|
||||
if (eregi('^([0-9]+)\-([0-9]+)\-([0-9]+)\s?([0-9]+)?:?([0-9]+)?',$set_time,$reg)) {
|
||||
|
|
@ -727,7 +730,7 @@ class Form
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Affiche liste déroulante
|
||||
*
|
||||
*/
|
||||
|
|
@ -776,8 +779,8 @@ class Form
|
|||
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche un select à partir d'un tableau
|
||||
/**
|
||||
\brief Affiche un select à partir d'un tableau
|
||||
\param name nom de la zone select
|
||||
\param array tableau de key+valeur
|
||||
\param id key présélectionnée
|
||||
|
|
@ -819,10 +822,11 @@ class Form
|
|||
print ">$value</option>\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
print "</select>";
|
||||
}
|
||||
/*
|
||||
|
||||
/**
|
||||
* \brief Renvoie la chaîne de caractère décrivant l'erreur
|
||||
*
|
||||
*/
|
||||
|
|
@ -833,8 +837,8 @@ class Form
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* \brief Selection de oui/non en caractere (renvoi yes/no)
|
||||
/**
|
||||
* \brief Selection de oui/non en chaine (renvoie yes/no)
|
||||
* \param name nom du select
|
||||
* \param value valeur présélectionnée
|
||||
* \param option 0 retourne yes/no, 1 retourne 1/0
|
||||
|
|
@ -866,8 +870,8 @@ class Form
|
|||
print '</select>'."\n";
|
||||
}
|
||||
|
||||
/*
|
||||
* \brief Selection de oui/non en chiffre (renvoi 1/0)
|
||||
/**
|
||||
* \brief Selection de oui/non en chiffre (renvoie 1/0)
|
||||
* \param name nom du select
|
||||
* \param value valeur présélectionnée
|
||||
*/
|
||||
|
|
@ -876,7 +880,7 @@ class Form
|
|||
$this->selectyesno($name,$value,1);
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* \brief Checkbox
|
||||
*
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -141,6 +141,13 @@ class MenuLeft {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Menu SOCIETES
|
||||
*/
|
||||
if ($mainmenu == 'companies') {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Menu COMMERCIAL
|
||||
*/
|
||||
|
|
@ -148,54 +155,48 @@ class MenuLeft {
|
|||
$langs->load("companies");
|
||||
|
||||
// Prospects
|
||||
$newmenu->add(DOL_URL_ROOT."/comm/prospect/prospects.php?leftmenu=prospects", $langs->trans("Prospects"));
|
||||
$newmenu->add(DOL_URL_ROOT."/comm/prospect/prospects.php?leftmenu=prospects", $langs->trans("Prospects"), 0, $user->rights->societe->lire);
|
||||
|
||||
if ($user->rights->societe->creer)
|
||||
{
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/soc.php?leftmenu=prospects&action=create&type=p", $langs->trans("MenuNewProspect"));
|
||||
}
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/comm/contact.php?leftmenu=prospects&type=p", $langs->trans("Contacts"));
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/soc.php?leftmenu=prospects&action=create&type=p", $langs->trans("MenuNewProspect"), 1, $user->rights->societe->creer);
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/comm/contact.php?leftmenu=prospects&type=p", $langs->trans("Contacts"), 1, $user->rights->societe->lire);
|
||||
|
||||
// Clients
|
||||
$newmenu->add(DOL_URL_ROOT."/comm/clients.php?leftmenu=customers", $langs->trans("Customers"));
|
||||
if ($user->rights->societe->creer)
|
||||
{
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/soc.php?leftmenu=prospects&action=create&type=c", $langs->trans("MenuNewCustomer"));
|
||||
}
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/comm/contact.php?leftmenu=prospects&type=c", $langs->trans("Contacts"));
|
||||
$newmenu->add(DOL_URL_ROOT."/comm/clients.php?leftmenu=customers", $langs->trans("Customers"), 0, $user->rights->societe->lire);
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/soc.php?leftmenu=prospects&action=create&type=c", $langs->trans("MenuNewCustomer"), 1, $user->rights->societe->creer);
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/comm/contact.php?leftmenu=prospects&type=c", $langs->trans("Contacts"), 1, $user->rights->societe->lire);
|
||||
|
||||
// Actions
|
||||
$newmenu->add(DOL_URL_ROOT."/comm/action/index.php?leftmenu=actions", $langs->trans("Actions"));
|
||||
if ($leftmenu=="actions") $newmenu->add_submenu(DOL_URL_ROOT."/comm/action/index.php?time=today", $langs->trans("Today"));
|
||||
if ($leftmenu=="actions") $newmenu->add_submenu(DOL_URL_ROOT."/comm/action/rapport/index.php", $langs->trans("Reporting"));
|
||||
$newmenu->add(DOL_URL_ROOT."/comm/action/index.php?leftmenu=actions", $langs->trans("Actions"), 0);
|
||||
if ($leftmenu=="actions") $newmenu->add_submenu(DOL_URL_ROOT."/comm/action/index.php?time=today", $langs->trans("Today"), 1);
|
||||
if ($leftmenu=="actions") $newmenu->add_submenu(DOL_URL_ROOT."/comm/action/rapport/index.php", $langs->trans("Reporting"), 1);
|
||||
|
||||
// Propal
|
||||
if ($conf->propal->enabled && $user->rights->propale->lire)
|
||||
if ($conf->propal->enabled)
|
||||
{
|
||||
$langs->load("propal");
|
||||
$newmenu->add(DOL_URL_ROOT."/comm/propal.php?leftmenu=propals", $langs->trans("Prop"));
|
||||
if ($leftmenu=="propals") $newmenu->add_submenu(DOL_URL_ROOT."/comm/propal.php?viewstatut=0", $langs->trans("PropalsDraft"));
|
||||
if ($leftmenu=="propals") $newmenu->add_submenu(DOL_URL_ROOT."/comm/propal.php?viewstatut=1", $langs->trans("PropalsOpened"));
|
||||
if ($leftmenu=="propals") $newmenu->add_submenu(DOL_URL_ROOT."/comm/propal/stats/", $langs->trans("Statistics"));
|
||||
$newmenu->add(DOL_URL_ROOT."/comm/propal.php?leftmenu=propals", $langs->trans("Prop"), 0 ,$user->rights->propale->lire);
|
||||
if ($leftmenu=="propals") $newmenu->add_submenu(DOL_URL_ROOT."/comm/propal.php?viewstatut=0", $langs->trans("PropalsDraft"), 1, $user->rights->propale->lire);
|
||||
if ($leftmenu=="propals") $newmenu->add_submenu(DOL_URL_ROOT."/comm/propal.php?viewstatut=1", $langs->trans("PropalsOpened"), 1, $user->rights->propale->lire);
|
||||
if ($leftmenu=="propals") $newmenu->add_submenu(DOL_URL_ROOT."/comm/propal/stats/", $langs->trans("Statistics"), 1, $user->rights->propale->lire);
|
||||
}
|
||||
|
||||
if ($conf->contrat->enabled)
|
||||
{
|
||||
$langs->load("contracts");
|
||||
$newmenu->add(DOL_URL_ROOT."/contrat/index.php?leftmenu=contracts", $langs->trans("Contracts"));
|
||||
if ($leftmenu=="contracts") $newmenu->add_submenu(DOL_URL_ROOT."/contrat/liste.php", $langs->trans("List"));
|
||||
if ($leftmenu=="contracts") $newmenu->add_submenu(DOL_URL_ROOT."/contrat/enservice.php", "En service");
|
||||
$newmenu->add(DOL_URL_ROOT."/contrat/index.php?leftmenu=contracts", $langs->trans("Contracts"), 0 ,$user->rights->contrat->lire);
|
||||
if ($leftmenu=="contracts") $newmenu->add_submenu(DOL_URL_ROOT."/contrat/liste.php", $langs->trans("List"), 1 ,$user->rights->contrat->lire);
|
||||
if ($leftmenu=="contracts") $newmenu->add_submenu(DOL_URL_ROOT."/contrat/enservice.php", "En service", 1 ,$user->rights->contrat->lire);
|
||||
}
|
||||
|
||||
if ($conf->commande->enabled )
|
||||
{
|
||||
$langs->load("orders");
|
||||
$newmenu->add(DOL_URL_ROOT."/commande/index.php?leftmenu=orders", $langs->trans("Orders"));
|
||||
if ($leftmenu=="orders") $newmenu->add_submenu(DOL_URL_ROOT."/commande/liste.php", $langs->trans("List"));
|
||||
$newmenu->add(DOL_URL_ROOT."/commande/index.php?leftmenu=orders", $langs->trans("Orders"), 0 ,$user->rights->commande->lire);
|
||||
if ($leftmenu=="orders") $newmenu->add_submenu(DOL_URL_ROOT."/commande/liste.php", $langs->trans("List"), 1 ,$user->rights->commande->lire);
|
||||
if ($conf->expedition->enabled) {
|
||||
if ($leftmenu=="orders") $newmenu->add(DOL_URL_ROOT."/expedition/", $langs->trans("Sendings"));
|
||||
}
|
||||
if ($leftmenu=="orders") $newmenu->add_submenu(DOL_URL_ROOT."/commande/stats/", $langs->trans("Statistics"));
|
||||
if ($leftmenu=="orders") $newmenu->add_submenu(DOL_URL_ROOT."/commande/stats/", $langs->trans("Statistics"), 1 ,$user->rights->commande->lire);
|
||||
}
|
||||
|
||||
if ($conf->fichinter->enabled )
|
||||
|
|
@ -353,33 +354,33 @@ class MenuLeft {
|
|||
|
||||
if ($conf->produit->enabled)
|
||||
{
|
||||
$newmenu->add(DOL_URL_ROOT."/product/index.php?type=0", $langs->trans("Products"));
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/liste.php?type=0", $langs->trans("List"));
|
||||
|
||||
if ($user->societe_id == 0 && $user->rights->produit->creer)
|
||||
$newmenu->add(DOL_URL_ROOT."/product/index.php?type=0", $langs->trans("Products"), 0, $user->rights->produit->lire);
|
||||
if ($user->societe_id == 0)
|
||||
{
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/fiche.php?action=create&type=0", $langs->trans("NewProduct"));
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/fiche.php?action=create&type=0", $langs->trans("NewProduct"), 1, $user->rights->produit->creer);
|
||||
}
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/liste.php?type=0", $langs->trans("List"), 1, $user->rights->produit->lire);
|
||||
}
|
||||
|
||||
if ($conf->service->enabled)
|
||||
{
|
||||
$newmenu->add(DOL_URL_ROOT."/product/index.php?type=1", $langs->trans("Services"));
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/liste.php?type=1", $langs->trans("List"));
|
||||
if ($user->societe_id == 0 && $user->rights->produit->creer)
|
||||
$newmenu->add(DOL_URL_ROOT."/product/index.php?type=1", $langs->trans("Services"), 0, $user->rights->produit->lire);
|
||||
if ($user->societe_id == 0)
|
||||
{
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/fiche.php?action=create&type=1", $langs->trans("NewService"));
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/fiche.php?action=create&type=1", $langs->trans("NewService"), 1, $user->rights->produit->creer);
|
||||
}
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/liste.php?type=1", $langs->trans("List"), 1, $user->rights->produit->lire);
|
||||
}
|
||||
|
||||
$newmenu->add(DOL_URL_ROOT."/product/stats/", $langs->trans("Statistics"));
|
||||
$newmenu->add(DOL_URL_ROOT."/product/stats/", $langs->trans("Statistics"), 0, $user->rights->produit->lire);
|
||||
if ($conf->propal->enabled)
|
||||
{
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/popuprop.php", $langs->trans("Popularity"));
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/popuprop.php", $langs->trans("Popularity"), 0, $user->rights->propale->lire);
|
||||
}
|
||||
|
||||
if ($conf->stock->enabled)
|
||||
{
|
||||
// \todo mettre droits pour module stock
|
||||
$newmenu->add(DOL_URL_ROOT."/product/stock/", $langs->trans("Stock"));
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/stock/fiche.php?action=create", $langs->trans("NewWarehouse"));
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/product/stock/mouvement.php", $langs->trans("Movements"));
|
||||
|
|
@ -471,6 +472,7 @@ class MenuLeft {
|
|||
}
|
||||
|
||||
|
||||
// Affichage du menu
|
||||
$alt=0;
|
||||
for ($i = 0 ; $i < sizeof($this->menu_array) ; $i++)
|
||||
{
|
||||
|
|
@ -487,13 +489,22 @@ class MenuLeft {
|
|||
}
|
||||
|
||||
if ($this->menu_array[$i]['level']==0) {
|
||||
print '<a class="vmenu" href="'.$this->menu_array[$i]['url'].'">'.$this->menu_array[$i]['titre'].'</a><br>';
|
||||
if ($this->menu_array[$i]['enabled'])
|
||||
print '<a class="vmenu" href="'.$this->menu_array[$i]['url'].'">'.$this->menu_array[$i]['titre'].'</a><br>';
|
||||
else
|
||||
print '<font class="vmenudisabled">'.$this->menu_array[$i]['titre'].'</font><br>';
|
||||
}
|
||||
if ($this->menu_array[$i]['level']==1) {
|
||||
print '<a class="vsmenu" href="'.$this->menu_array[$i]['url'].'">'.$this->menu_array[$i]['titre'].'</a><br>';
|
||||
if ($this->menu_array[$i]['enabled'])
|
||||
print '<a class="vsmenu" href="'.$this->menu_array[$i]['url'].'">'.$this->menu_array[$i]['titre'].'</a><br>';
|
||||
else
|
||||
print '<font class="vsmenudisabled">'.$this->menu_array[$i]['titre'].'</font><br>';
|
||||
}
|
||||
if ($this->menu_array[$i]['level']==2) {
|
||||
print ' <a class="vsmenu" href="'.$this->menu_array[$i]['url'].'">'.$this->menu_array[$i]['titre'].'</a><br>';
|
||||
if ($this->menu_array[$i]['enabled'])
|
||||
print ' <a class="vsmenu" href="'.$this->menu_array[$i]['url'].'">'.$this->menu_array[$i]['titre'].'</a><br>';
|
||||
else
|
||||
print ' <font class="vsmenudisabled">'.$this->menu_array[$i]['titre'].'</font><br>';
|
||||
}
|
||||
|
||||
if ($i == (sizeof($this->menu_array)-1) || $this->menu_array[$i+1]['level']==0) {
|
||||
|
|
|
|||
|
|
@ -127,8 +127,10 @@ class MenuTop {
|
|||
if ($conf->produit->enabled && $conf->service->enabled) { $chaine.="/"; }
|
||||
if ($conf->service->enabled) { $chaine.="Services"; }
|
||||
|
||||
print '<a '.$class.' href="'.DOL_URL_ROOT.'/product/index.php?mainmenu=products&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$chaine.'</a>';
|
||||
|
||||
if ($user->rights->produit->lire)
|
||||
print '<a '.$class.' href="'.DOL_URL_ROOT.'/product/index.php?mainmenu=products&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$chaine.'</a>';
|
||||
else
|
||||
print '<font class="tmenudisabled">'.$chaine.'</font>';
|
||||
}
|
||||
|
||||
// Supplier
|
||||
|
|
|
|||
|
|
@ -187,4 +187,16 @@ Late=Late
|
|||
Photo=Picture
|
||||
Photos=Pictures
|
||||
AddPhoto=Add picture
|
||||
CurrentLogin=Current login
|
||||
CurrentLogin=Current login
|
||||
January=January
|
||||
February=February
|
||||
March=March
|
||||
April=April
|
||||
May=May
|
||||
June=June
|
||||
July=July
|
||||
August=August
|
||||
September=September
|
||||
October=October
|
||||
November=November
|
||||
December=December
|
||||
|
|
|
|||
|
|
@ -188,4 +188,16 @@ Late=Retard
|
|||
Photo=Photo
|
||||
Photos=Photos
|
||||
AddPhoto=Ajouter photo
|
||||
CurrentLogin=Login courant
|
||||
CurrentLogin=Login courant
|
||||
January=Janvier
|
||||
February=Février
|
||||
March=Mars
|
||||
April=Avril
|
||||
May=Mai
|
||||
June=Juin
|
||||
July=Juillet
|
||||
August=Aout
|
||||
September=Septembre
|
||||
October=Octobre
|
||||
November=Novembre
|
||||
December=Decembre
|
||||
|
|
@ -1131,84 +1131,7 @@ function print_type_paiement_select($db,$nomselect,$value=-1)
|
|||
print "</select>\n";
|
||||
}
|
||||
|
||||
/**
|
||||
\brief Fonction servant a afficher les mois dans un liste déroulante
|
||||
\param set_time ("" par defaut)
|
||||
*/
|
||||
function print_date_select($set_time='')
|
||||
{
|
||||
if (! $set_time)
|
||||
{
|
||||
$set_time = time();
|
||||
}
|
||||
|
||||
$strmonth[1] = "Janvier";
|
||||
$strmonth[2] = "Février";
|
||||
$strmonth[3] = "Mars";
|
||||
$strmonth[4] = "Avril";
|
||||
$strmonth[5] = "Mai";
|
||||
$strmonth[6] = "Juin";
|
||||
$strmonth[7] = "Juillet";
|
||||
$strmonth[8] = "Août";
|
||||
$strmonth[9] = "Septembre";
|
||||
$strmonth[10] = "Octobre";
|
||||
$strmonth[11] = "Novembre";
|
||||
$strmonth[12] = "Décembre";
|
||||
|
||||
$smonth = 1; $endmonth = 12;
|
||||
$sday = 1; $endday = 31;
|
||||
|
||||
$cday = date("d", $set_time);
|
||||
$cmonth = date("n", $set_time);
|
||||
$syear = date("Y", $set_time);
|
||||
|
||||
print "<select name=\"reday\">";
|
||||
|
||||
for ($day = 1 ; $day <= $endday ; $day++)
|
||||
{
|
||||
if ($day == $cday)
|
||||
{
|
||||
print "<option value=\"$day\" selected>$day";
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<option value=\"$day\">$day";
|
||||
}
|
||||
}
|
||||
|
||||
print "</select>";
|
||||
|
||||
|
||||
print "<select name=\"remonth\">";
|
||||
for ($month = $smonth ; $month <= $endmonth ; $month++)
|
||||
{
|
||||
if ($month == $cmonth)
|
||||
{
|
||||
print "<option value=\"$month\" selected>" . $strmonth[$month];
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<option value=\"$month\">" . $strmonth[$month];
|
||||
}
|
||||
}
|
||||
print "</select>";
|
||||
|
||||
print "<select name=\"reyear\">";
|
||||
|
||||
for ($year = $syear - 2; $year < $syear + 5 ; $year++)
|
||||
{
|
||||
if ($year == $syear)
|
||||
{
|
||||
print "<option value=\"$year\" selected>$year";
|
||||
}
|
||||
else
|
||||
{
|
||||
print "<option value=\"$year\">$year";
|
||||
}
|
||||
}
|
||||
print "</select>\n";
|
||||
|
||||
}
|
||||
/**
|
||||
\brief Fonction servant a afficher les heures/minutes dans un liste déroulante
|
||||
\param prefix
|
||||
|
|
|
|||
|
|
@ -89,8 +89,11 @@ if ($_GET["action"] == 'edit')
|
|||
print $html->select_array("forme_juridique_id",$soc->forme_juridique_array(), $soc->forme_juridique_id,0,1);
|
||||
print '</td></tr>';
|
||||
|
||||
print '<tr><td>Effectif</td><td colspan="3">';
|
||||
print $html->select_array("effectif_id",$soc->effectif_array(), $soc->effectif_id);
|
||||
print '<tr><td>'.$langs->trans("Type").'</td><td>';
|
||||
$form->select_array("typent_id",$soc->typent_array(), $soc->typent_id);
|
||||
print '</td>';
|
||||
print '<td>'.$langs->trans("Staff").'</td><td>';
|
||||
$form->select_array("effectif_id",$soc->effectif_array(), $soc->effectif_id);
|
||||
print '</td></tr>';
|
||||
|
||||
print '<input type="hidden" name="tva_intra_code" value="'.$soc->tva_intra_code.'">';
|
||||
|
|
@ -126,7 +129,8 @@ else
|
|||
print '<td>Siren</td><td><a target="_blank" href="http://www.societe.com/cgi-bin/recherche?rncs='.$soc->siren.'">'.$soc->siren.'</a> </td></tr>';
|
||||
|
||||
print '<tr><td>Forme juridique</td><td colspan="3">'.$soc->forme_juridique.'</td></tr>';
|
||||
print '<tr><td>Effectif</td><td>'.$soc->effectif.'</td>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Staff").'</td><td>'.$soc->effectif.'</td>';
|
||||
print '<td>Création</td><td>'.strftime("%d %B %Y",$soc->date_creation).'</td></tr>';
|
||||
|
||||
print '<tr><td>Contact</td><td>'.$socdet->contact_nom.' '.$socdet->contact_email.'</td>';
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ function llxHeader($head = "") {
|
|||
|
||||
$menu = new Menu();
|
||||
|
||||
if ($conf->societe->enabled)
|
||||
if ($conf->societe->enabled && $user->rights->societe->lire)
|
||||
{
|
||||
$langs->load("companies");
|
||||
$menu->add(DOL_URL_ROOT."/societe.php", $langs->trans("Companies"));
|
||||
|
|
@ -46,7 +46,7 @@ function llxHeader($head = "") {
|
|||
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create", $langs->trans("MenuNewCompany"));
|
||||
}
|
||||
if(is_dir("societe/groupe"))
|
||||
$menu->add_submenu(DOL_URL_ROOT."/societe/groupe/index.php", $langs->trans("MenuSocGroup"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/societe/groupe/index.php", $langs->trans("MenuSocGroup"));
|
||||
$menu->add_submenu(DOL_URL_ROOT."/contact/index.php",$langs->trans("Contacts"));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ if ($action == 'create')
|
|||
$ga = new Groupart($db);
|
||||
|
||||
print "<tr><td>Date</td><td>";
|
||||
print_date_select();
|
||||
$htmls->select_date();
|
||||
print "</td></tr>";
|
||||
|
||||
print "<tr><td>Lieu</td><td>";
|
||||
|
|
|
|||
|
|
@ -167,6 +167,18 @@ a.tmenu:hover
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
font.tmenudisabled
|
||||
{
|
||||
color: #93a5aa;
|
||||
padding: 0em 1em;
|
||||
margin: 0em 0em 1.5em 0em;
|
||||
border: 1px solid #b3c5cc;
|
||||
font-weight:bold;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
/* Login */
|
||||
|
||||
a.login
|
||||
{
|
||||
position: absolute;
|
||||
|
|
@ -202,20 +214,22 @@ img.login
|
|||
* Barre de gauche
|
||||
*/
|
||||
|
||||
a.vmenu:link { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; }
|
||||
a.vmenu:visited { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; }
|
||||
a.vmenu:active { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; }
|
||||
a.vmenu:hover { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; }
|
||||
a.vmenu:link { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; }
|
||||
a.vmenu:visited { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; }
|
||||
a.vmenu:active { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; }
|
||||
a.vmenu:hover { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; }
|
||||
font.vmenudisabled { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: bold; color: #93a5aa; }
|
||||
|
||||
a.vsmenu:link { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #202020; margin: 1em 1em 1em 1em; }
|
||||
a.vsmenu:visited { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #202020; margin: 1em 1em 1em 1em; }
|
||||
a.vsmenu:active { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #202020; margin: 1em 1em 1em 1em; }
|
||||
a.vsmenu:hover { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #202020; margin: 1em 1em 1em 1em; }
|
||||
a.vsmenu:link { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #202020; margin: 1em 1em 1em 1em; }
|
||||
a.vsmenu:visited { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #202020; margin: 1em 1em 1em 1em; }
|
||||
a.vsmenu:active { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #202020; margin: 1em 1em 1em 1em; }
|
||||
a.vsmenu:hover { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #202020; margin: 1em 1em 1em 1em; }
|
||||
font.vsmenudisabled { font-size:12px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; color: #93a5aa; margin: 1em 1em 1em 1em; }
|
||||
|
||||
a.help:link { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; }
|
||||
a.help:visited { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; }
|
||||
a.help:active { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; }
|
||||
a.help:hover { font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; }
|
||||
a.help:link { font-size:11px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; }
|
||||
a.help:visited { font-size:11px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; }
|
||||
a.help:active { font-size:11px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; }
|
||||
a.help:hover { font-size:11px; font: helvetica, verdana, arial, sans-serif; text-align:left; font-weight: normal; }
|
||||
|
||||
div.blockvmenupair
|
||||
{
|
||||
|
|
@ -257,6 +271,7 @@ div.help
|
|||
}
|
||||
|
||||
|
||||
|
||||
.flat {
|
||||
font-family: arial,verdana,helvetica, sans-serif;
|
||||
font-size: 100%;
|
||||
|
|
@ -666,8 +681,8 @@ textarea
|
|||
|
||||
td.valeur
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
color: #001122;
|
||||
}
|
||||
|
||||
td.delete {
|
||||
background: red;
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ if ($_GET["id"])
|
|||
|
||||
if ($bk4u->uid == 0)
|
||||
{
|
||||
print "Pas de login";
|
||||
print $langs->trans("NoLogin");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -380,14 +380,14 @@ else
|
|||
print "</tr>\n";
|
||||
|
||||
print "<tr>".'<td width="25%" valign="top">'.$langs->trans("ContactCard").'</td>';
|
||||
print '<td>';
|
||||
print '<td class="valeur">';
|
||||
if ($fuser->contact_id)
|
||||
{
|
||||
print '<a href="../contact/fiche.php?id='.$fuser->contact_id.'">'.$langs->trans("ContactCard").'</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print $langs->trans("NoContactCard");
|
||||
print $langs->trans("ThisUserIsNot");
|
||||
}
|
||||
print '</td>';
|
||||
print "</tr>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user