Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
98c7f516
Commit
98c7f516
authored
15 years ago
by
Remco Gerbrands
Browse files
Options
Downloads
Patches
Plain Diff
lang: english comments only
parent
50d314eb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/index.php
+21
-21
21 additions, 21 deletions
htdocs/index.php
with
21 additions
and
21 deletions
htdocs/index.php
+
21
−
21
View file @
98c7f516
...
@@ -96,7 +96,7 @@ print "</table>\n";
...
@@ -96,7 +96,7 @@ print "</table>\n";
/*
/*
*
Tableau de bord d'etats
Dolibarr (statisti
que
s)
*
Dashboard
Dolibarr
states
(statisti
c
s)
* Hidden for external users
* Hidden for external users
*/
*/
$langs
->
load
(
"commercial"
);
$langs
->
load
(
"commercial"
);
...
@@ -112,7 +112,7 @@ if ($user->societe_id == 0)
...
@@ -112,7 +112,7 @@ if ($user->societe_id == 0)
$var
=
true
;
$var
=
true
;
// Condition
a verifier pour affichage de chaque
li
g
ne d
u tableau de bo
rd
// Condition
to be checked for each display
line d
ashboa
rd
$conditions
=
array
(
$conditions
=
array
(
!
empty
(
$conf
->
societe
->
enabled
)
&&
$user
->
rights
->
societe
->
lire
,
!
empty
(
$conf
->
societe
->
enabled
)
&&
$user
->
rights
->
societe
->
lire
,
!
empty
(
$conf
->
societe
->
enabled
)
&&
$user
->
rights
->
societe
->
lire
,
!
empty
(
$conf
->
societe
->
enabled
)
&&
$user
->
rights
->
societe
->
lire
,
...
@@ -125,7 +125,7 @@ if ($user->societe_id == 0)
...
@@ -125,7 +125,7 @@ if ($user->societe_id == 0)
!
empty
(
$conf
->
facture
->
enabled
)
&&
$user
->
rights
->
facture
->
lire
,
!
empty
(
$conf
->
facture
->
enabled
)
&&
$user
->
rights
->
facture
->
lire
,
!
empty
(
$conf
->
telephonie
->
enabled
)
&&
$user
->
rights
->
telephonie
->
lire
,
!
empty
(
$conf
->
telephonie
->
enabled
)
&&
$user
->
rights
->
telephonie
->
lire
,
!
empty
(
$conf
->
societe
->
enabled
)
&&
$user
->
rights
->
contrat
->
activer
);
!
empty
(
$conf
->
societe
->
enabled
)
&&
$user
->
rights
->
contrat
->
activer
);
//
Fichier des classes qui contiennent la
method
e
load_state_board
pour chaque
li
g
ne
//
Class file containing the
method load_state_board
for each
line
$includes
=
array
(
DOL_DOCUMENT_ROOT
.
"/client.class.php"
,
$includes
=
array
(
DOL_DOCUMENT_ROOT
.
"/client.class.php"
,
DOL_DOCUMENT_ROOT
.
"/prospect.class.php"
,
DOL_DOCUMENT_ROOT
.
"/prospect.class.php"
,
DOL_DOCUMENT_ROOT
.
"/fourn/fournisseur.class.php"
,
DOL_DOCUMENT_ROOT
.
"/fourn/fournisseur.class.php"
,
...
@@ -137,7 +137,7 @@ if ($user->societe_id == 0)
...
@@ -137,7 +137,7 @@ if ($user->societe_id == 0)
DOL_DOCUMENT_ROOT
.
"/facture.class.php"
,
DOL_DOCUMENT_ROOT
.
"/facture.class.php"
,
DOL_DOCUMENT_ROOT
.
"/telephonie/lignetel.class.php"
,
DOL_DOCUMENT_ROOT
.
"/telephonie/lignetel.class.php"
,
DOL_DOCUMENT_ROOT
.
"/contrat/contrat.class.php"
);
DOL_DOCUMENT_ROOT
.
"/contrat/contrat.class.php"
);
// N
om des classes qui contiennent la
method
e
load_state_board
pour chaque
li
g
ne
// N
ame class containing the
method load_state_board
for each
line
$classes
=
array
(
'Client'
,
$classes
=
array
(
'Client'
,
'Prospect'
,
'Prospect'
,
'Fournisseur'
,
'Fournisseur'
,
...
@@ -149,7 +149,7 @@ if ($user->societe_id == 0)
...
@@ -149,7 +149,7 @@ if ($user->societe_id == 0)
'Facture'
,
'Facture'
,
'LigneTel'
,
'LigneTel'
,
'Contrat'
);
'Contrat'
);
// Cle
de tableau
ret
o
urne
par la
method
e
load_state_board
pour chaque
li
g
ne
// Cle
array
returne
d by the
method load_state_board
for each
line
$keys
=
array
(
'customers'
,
$keys
=
array
(
'customers'
,
'prospects'
,
'prospects'
,
'suppliers'
,
'suppliers'
,
...
@@ -161,7 +161,7 @@ if ($user->societe_id == 0)
...
@@ -161,7 +161,7 @@ if ($user->societe_id == 0)
'invoices'
,
'invoices'
,
'sign'
,
'sign'
,
'Contracts'
);
'Contracts'
);
// Icon
des
li
g
nes
du tableau de bord
//
Dashboard
Icon lines
$icons
=
array
(
'company'
,
$icons
=
array
(
'company'
,
'company'
,
'company'
,
'company'
,
'company'
,
...
@@ -185,7 +185,7 @@ if ($user->societe_id == 0)
...
@@ -185,7 +185,7 @@ if ($user->societe_id == 0)
"BillsCustomers"
,
"BillsCustomers"
,
"Lignes de telephonie suivis"
,
"Lignes de telephonie suivis"
,
"Contracts"
);
"Contracts"
);
//
Lien des
li
g
nes
du tableau de bord
//
Dashboard Link
lines
$links
=
array
(
DOL_URL_ROOT
.
'/comm/clients.php'
,
$links
=
array
(
DOL_URL_ROOT
.
'/comm/clients.php'
,
DOL_URL_ROOT
.
'/comm/prospect/prospects.php'
,
DOL_URL_ROOT
.
'/comm/prospect/prospects.php'
,
DOL_URL_ROOT
.
'/fourn/index.php'
,
DOL_URL_ROOT
.
'/fourn/index.php'
,
...
@@ -212,13 +212,13 @@ if ($user->societe_id == 0)
...
@@ -212,13 +212,13 @@ if ($user->societe_id == 0)
//print memory_get_usage()."<br>";
//print memory_get_usage()."<br>";
//
Boucle et affiche chaque
li
g
ne
du
table
au
//
Loop and displays each
line
of
table
foreach
(
$keys
as
$key
=>
$val
)
foreach
(
$keys
as
$key
=>
$val
)
{
{
if
(
$conditions
[
$key
])
if
(
$conditions
[
$key
])
{
{
$classe
=
$classes
[
$key
];
$classe
=
$classes
[
$key
];
//
Cherche dans
cache
si le
load_state_board
deja
reali
se
//
Search in
cache
if
load_state_board
is already
reali
zed
if
(
!
isset
(
$boardloaded
[
$classe
])
||
!
is_object
(
$boardloaded
[
$classe
]))
if
(
!
isset
(
$boardloaded
[
$classe
])
||
!
is_object
(
$boardloaded
[
$classe
]))
{
{
include_once
(
$includes
[
$key
]);
include_once
(
$includes
[
$key
]);
...
@@ -263,10 +263,10 @@ $nboflate=0;
...
@@ -263,10 +263,10 @@ $nboflate=0;
$var
=
true
;
$var
=
true
;
//
//
//
Ne pas
inclu
re
de sections
sans gestion de
permission
s
//
Do not
include sections
without management
permission
//
//
// N
bre
actions
a faire (en retard
)
// N
umber
actions
to do (late
)
if
(
$conf
->
agenda
->
enabled
&&
$user
->
rights
->
agenda
->
myactions
->
read
)
if
(
$conf
->
agenda
->
enabled
&&
$user
->
rights
->
agenda
->
myactions
->
read
)
{
{
include_once
(
DOL_DOCUMENT_ROOT
.
"/actioncomm.class.php"
);
include_once
(
DOL_DOCUMENT_ROOT
.
"/actioncomm.class.php"
);
...
@@ -292,7 +292,7 @@ if ($conf->agenda->enabled && $user->rights->agenda->myactions->read)
...
@@ -292,7 +292,7 @@ if ($conf->agenda->enabled && $user->rights->agenda->myactions->read)
print
"
\n
"
;
print
"
\n
"
;
}
}
// N
bre commandes clients a traiter
// N
umber customer orders a deal
if
(
$conf
->
commande
->
enabled
&&
$user
->
rights
->
commande
->
lire
)
if
(
$conf
->
commande
->
enabled
&&
$user
->
rights
->
commande
->
lire
)
{
{
include_once
(
DOL_DOCUMENT_ROOT
.
"/commande/commande.class.php"
);
include_once
(
DOL_DOCUMENT_ROOT
.
"/commande/commande.class.php"
);
...
@@ -316,7 +316,7 @@ if ($conf->commande->enabled && $user->rights->commande->lire)
...
@@ -316,7 +316,7 @@ if ($conf->commande->enabled && $user->rights->commande->lire)
print
"
\n
"
;
print
"
\n
"
;
}
}
// N
bre
propale
s
o
uvertes
(expire
es
)
// N
umber
propale o
pen
(expire
d
)
if
(
$conf
->
propal
->
enabled
&&
$user
->
rights
->
propale
->
lire
)
if
(
$conf
->
propal
->
enabled
&&
$user
->
rights
->
propale
->
lire
)
{
{
$langs
->
load
(
"propal"
);
$langs
->
load
(
"propal"
);
...
@@ -341,7 +341,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
...
@@ -341,7 +341,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
print
'</tr>'
;
print
'</tr>'
;
}
}
// N
bre
propale
s fermees signees (a facturer
)
// N
umber
propale
CLOSED signed (billed
)
if
(
$conf
->
propal
->
enabled
&&
$user
->
rights
->
propale
->
lire
)
if
(
$conf
->
propal
->
enabled
&&
$user
->
rights
->
propale
->
lire
)
{
{
$langs
->
load
(
"propal"
);
$langs
->
load
(
"propal"
);
...
@@ -367,7 +367,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
...
@@ -367,7 +367,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
print
"
\n
"
;
print
"
\n
"
;
}
}
// N
bre
services
a activer (en retar
d)
// N
umber
services
is enabled (delaye
d)
if
(
$conf
->
contrat
->
enabled
&&
$user
->
rights
->
contrat
->
lire
)
if
(
$conf
->
contrat
->
enabled
&&
$user
->
rights
->
contrat
->
lire
)
{
{
$langs
->
load
(
"contracts"
);
$langs
->
load
(
"contracts"
);
...
@@ -393,7 +393,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
...
@@ -393,7 +393,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
print
"
\n
"
;
print
"
\n
"
;
}
}
// N
br
e services
actifs
(expired)
// N
umber of activ
e services (expired)
if
(
$conf
->
contrat
->
enabled
&&
$user
->
rights
->
contrat
->
lire
)
if
(
$conf
->
contrat
->
enabled
&&
$user
->
rights
->
contrat
->
lire
)
{
{
$langs
->
load
(
"contracts"
);
$langs
->
load
(
"contracts"
);
...
@@ -419,7 +419,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
...
@@ -419,7 +419,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
print
"
\n
"
;
print
"
\n
"
;
}
}
// N
bre factures fournisseurs (a payer
)
// N
umber of supplier invoices (has paid
)
if
(
$conf
->
fournisseur
->
enabled
&&
$conf
->
facture
->
enabled
&&
$user
->
rights
->
facture
->
lire
)
if
(
$conf
->
fournisseur
->
enabled
&&
$conf
->
facture
->
enabled
&&
$user
->
rights
->
facture
->
lire
)
{
{
$langs
->
load
(
"bills"
);
$langs
->
load
(
"bills"
);
...
@@ -445,7 +445,7 @@ if ($conf->fournisseur->enabled && $conf->facture->enabled && $user->rights->fac
...
@@ -445,7 +445,7 @@ if ($conf->fournisseur->enabled && $conf->facture->enabled && $user->rights->fac
print
"
\n
"
;
print
"
\n
"
;
}
}
// N
bre factures clients (a payer
)
// N
umber invoices customers (has paid
)
if
(
$conf
->
facture
->
enabled
&&
$user
->
rights
->
facture
->
lire
)
if
(
$conf
->
facture
->
enabled
&&
$user
->
rights
->
facture
->
lire
)
{
{
$langs
->
load
(
"bills"
);
$langs
->
load
(
"bills"
);
...
@@ -471,7 +471,7 @@ if ($conf->facture->enabled && $user->rights->facture->lire)
...
@@ -471,7 +471,7 @@ if ($conf->facture->enabled && $user->rights->facture->lire)
print
"
\n
"
;
print
"
\n
"
;
}
}
// N
bre e
criture
s a rapproch
er
// N
umber S
cri
p
ture
clos
er
if
(
$conf
->
banque
->
enabled
&&
$user
->
rights
->
banque
->
lire
&&
!
$user
->
societe_id
)
if
(
$conf
->
banque
->
enabled
&&
$user
->
rights
->
banque
->
lire
&&
!
$user
->
societe_id
)
{
{
$langs
->
load
(
"banks"
);
$langs
->
load
(
"banks"
);
...
@@ -497,7 +497,7 @@ if ($conf->banque->enabled && $user->rights->banque->lire && ! $user->societe_id
...
@@ -497,7 +497,7 @@ if ($conf->banque->enabled && $user->rights->banque->lire && ! $user->societe_id
print
"
\n
"
;
print
"
\n
"
;
}
}
// N
bre e
criture
s a rapproch
er
// N
umber S
cri
p
ture
clos
er
if
(
$conf
->
banque
->
enabled
&&
$user
->
rights
->
banque
->
lire
&&
!
$user
->
societe_id
)
if
(
$conf
->
banque
->
enabled
&&
$user
->
rights
->
banque
->
lire
&&
!
$user
->
societe_id
)
{
{
$langs
->
load
(
"banks"
);
$langs
->
load
(
"banks"
);
...
@@ -523,7 +523,7 @@ if ($conf->banque->enabled && $user->rights->banque->lire && ! $user->societe_id
...
@@ -523,7 +523,7 @@ if ($conf->banque->enabled && $user->rights->banque->lire && ! $user->societe_id
print
"
\n
"
;
print
"
\n
"
;
}
}
//
Nbre adherent
valid
es
(a
ttente cotisation
)
//
Participant Number
valid (a
waiting assessment
)
if
(
$conf
->
adherent
->
enabled
&&
$user
->
rights
->
adherent
->
lire
&&
!
$user
->
societe_id
)
if
(
$conf
->
adherent
->
enabled
&&
$user
->
rights
->
adherent
->
lire
&&
!
$user
->
societe_id
)
{
{
$langs
->
load
(
"members"
);
$langs
->
load
(
"members"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment