Improve upgrade : display the real database name and user_login : search by dos_id

This commit is contained in:
Dany De Bontridder 2015-12-14 17:36:09 +01:00
parent 5d97a2c30e
commit 79addae3ef
2 changed files with 4 additions and 4 deletions

View file

@ -163,7 +163,7 @@ echo '</div>';
echo _('Cherche').HtmlInput::infobulle(23);
?>
<?php
echo HtmlInput::filter_table("folder", '1,2',1);
echo HtmlInput::filter_table("folder", '0,1,2',1);
?>
</span>
<?php

View file

@ -62,9 +62,9 @@ if ($sb === "upg_all" && (!defined('MULTI')||(defined('MULTI')&&MULTI==1)))
for ($e=0; $e<$MaxDossier; $e++)
{
$db_row=Database::fetch_array($Resdossier, $e);
echo "<h3>Patching ".$db_row['dos_name'].'</h3>';
$name=$rep->format_name($db_row['dos_id'], 'dos');
echo "<h3>Patching ".$name.':'.$db_row['dos_name'].'</h3>';
if ($rep->exist_database($name)>0)
{
@ -88,8 +88,8 @@ if ($sb === "upg_all" && (!defined('MULTI')||(defined('MULTI')&&MULTI==1)))
for ($e=0; $e<$MaxDossier; $e++)
{
$db_row=Database::fetch_array($Resdossier, $e);
echo "<h3>Patching ".$db_row['mod_name']."</h3>";
$name=$rep->format_name($db_row['mod_id'], 'mod');
echo "<h3>Patching ".$name.":".$db_row['mod_name']."</h3>";
if ($rep->exist_database($name)>0)
{