mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: hide phones directory
This commit is contained in:
parent
79d7be01d1
commit
6ccd3bbc75
|
|
@ -379,7 +379,7 @@ else // Show
|
|||
print '<br>';
|
||||
|
||||
|
||||
// Liste des zone de recherche permanantes support<72>es
|
||||
// Liste des zone de recherches permanentes supportees
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("PermanentLeftSearchForm").'</td><td>'.$langs->trans("Activated").'</td><td> </td></tr>';
|
||||
$var=true;
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
|
|||
while (($subdir = readdir($handle))!==false)
|
||||
{
|
||||
if (is_dir($dirtheme."/".$subdir) && substr($subdir, 0, 1) <> '.'
|
||||
&& substr($subdir, 0, 3) <> 'CVS' && ! preg_match('/common/i',$subdir))
|
||||
&& substr($subdir, 0, 3) <> 'CVS' && ! preg_match('/common|phones/i',$subdir))
|
||||
{
|
||||
if ($i % $thumbsbyrow == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user