Work on tool for performance advice.
This commit is contained in:
parent
fee1682671
commit
752bc0ccff
1
htdocs/.gitignore
vendored
1
htdocs/.gitignore
vendored
@ -7,3 +7,4 @@
|
|||||||
/google
|
/google
|
||||||
/skincoloreditor
|
/skincoloreditor
|
||||||
/pos
|
/pos
|
||||||
|
/ultimatepdf
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -403,7 +403,7 @@ if ($conf->db->type == 'mysql' || $conf->db->type == 'mysqli')
|
|||||||
|
|
||||||
// Product search
|
// Product search
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '<strong>'.$langs->trans("ProductSearch").'</strong>: ';
|
print '<strong>'.$langs->trans("SearchOptim").'</strong>: ';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
$tab = array();
|
$tab = array();
|
||||||
$sql = "SELECT COUNT(*) as nb";
|
$sql = "SELECT COUNT(*) as nb";
|
||||||
@ -434,15 +434,23 @@ if ($resql)
|
|||||||
|
|
||||||
// Browser
|
// Browser
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '<strong>'.$langs->trans("Browser").'</strong>: ';
|
print '<strong>'.$langs->trans("Browser").'</strong>:<br>';
|
||||||
var_dump($conf->browser);
|
if (! in_array($conf->browser->name, array('chrome','opera','safari','firefox')))
|
||||||
|
{
|
||||||
|
print img_picto('','warning.png').' '.$langs->trans("BrowserIsKO",$conf->browser->name);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print img_picto('','tick.png').' '.$langs->trans("BrowserIsOK",$conf->browser->name);
|
||||||
|
}
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
// Database statistics update
|
// Database statistics update
|
||||||
|
/*
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '<strong>'.$langs->trans("DatabaseStatistics").'</strong>: ';
|
print '<strong>'.$langs->trans("DatabaseStatistics").'</strong>: ';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
|
|||||||
@ -986,7 +986,10 @@ YouUseBestDriver=You use driver %s that is best driver available currently.
|
|||||||
YouDoNotUseBestDriver=You use drive %s but driver %s is recommanded.
|
YouDoNotUseBestDriver=You use drive %s but driver %s is recommanded.
|
||||||
SearchProduct=Optimisation recherche produits
|
SearchProduct=Optimisation recherche produits
|
||||||
NbOfProductIsLowerThanNoPb=You have only %s products/services into database. This does not required any particular optimization.
|
NbOfProductIsLowerThanNoPb=You have only %s products/services into database. This does not required any particular optimization.
|
||||||
|
SearchOptim=Search optimization
|
||||||
|
YouHaveXProductUseSearchOptim=You have %s product into database. You should add the constant PRODUCT_DONOTSEARCH_ANYWHERE to 1 into Home-Setup-Other, you limit the search to the beginning of strings making possible for database to use index and you should get an immediate response.
|
||||||
|
BrowserIsOK=You are using the web browser %s. This browser is ok for security and performance.
|
||||||
|
BrowserIsKO=You are using the web browser %s. This browser is known to be a bad choice for security, performance and reliability. We recommand you to use Firefox, Chrome, Opera or Safari.
|
||||||
##### Module password generation
|
##### Module password generation
|
||||||
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase.
|
PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase.
|
||||||
PasswordGenerationNone=Do not suggest any generated password. Password must be type in manually.
|
PasswordGenerationNone=Do not suggest any generated password. Password must be type in manually.
|
||||||
|
|||||||
@ -1002,6 +1002,10 @@ TestNotPossibleWithCurrentBrowsers=Détection automatique non possible
|
|||||||
YouUseBestDriver=Vous utilisez le driver %s qui est le driver recommandé actuellement.
|
YouUseBestDriver=Vous utilisez le driver %s qui est le driver recommandé actuellement.
|
||||||
YouDoNotUseBestDriver=Vous utilisez le driver %s mais le driver %s est recommandé.
|
YouDoNotUseBestDriver=Vous utilisez le driver %s mais le driver %s est recommandé.
|
||||||
NbOfProductIsLowerThanNoPb=Vous n'avez que %s produits/services en base. Ceci ne requiert pas d'optimisation particulière.
|
NbOfProductIsLowerThanNoPb=Vous n'avez que %s produits/services en base. Ceci ne requiert pas d'optimisation particulière.
|
||||||
|
SearchOptim=Optimization des recherches
|
||||||
|
YouHaveXProductUseSearchOptim=Vous avez %s produits/services en base. Il est recommandé d'ajouter la constante PRODUCT_DONOTSEARCH_ANYWHERE à 1 dans Accueil-Configuration-Divers, vous limiterez ainsi la recherche au début de la chaine rendant possible l'utilisation de l'index et obtiendrez une réponse immédiate.
|
||||||
|
BrowserIsOK=Vous utilisez le navigateur %s. Ce navigateur est réputé optimisé pour la sécurité et performance.
|
||||||
|
BrowserIsKO=Vous utilisez le navigateur %s. Ce navigateur est déconseillé pour des raisons de sécurité, performance et qualité des pages restituées. Nous vous recommandons d'utiliser Firefox, Chrome, Opera ou Safari.
|
||||||
##### Module password generation
|
##### Module password generation
|
||||||
PasswordGenerationStandard=Renvoie un mot de passe généré selon l'algorithme interne de Dolibarr : 8 caractères, chiffres et caractères en minuscules mélangés.
|
PasswordGenerationStandard=Renvoie un mot de passe généré selon l'algorithme interne de Dolibarr : 8 caractères, chiffres et caractères en minuscules mélangés.
|
||||||
PasswordGenerationNone=Ne propose pas de mots de passe générés. Le mot de passe est à saisir manuellement.
|
PasswordGenerationNone=Ne propose pas de mots de passe générés. Le mot de passe est à saisir manuellement.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user