Add database size
This commit is contained in:
parent
0c268708ff
commit
641339e72a
1 changed files with 3 additions and 3 deletions
|
|
@ -174,7 +174,7 @@ if ( $sa == 'list' )
|
|||
$template="";
|
||||
echo JS_CONFIRM;
|
||||
echo '<TABLE class="result" style="border-collapse:separate;border-spacing:4">';
|
||||
$r=th('ID').th('Nom du dossier ').th('Taille').th('Description').th('Nom base de données');
|
||||
$r=th('ID').th('Nom du dossier ').th('Description').th('Taille').th('Nom base de données');
|
||||
$r=tr($r);
|
||||
echo $r;
|
||||
// show all dossiers
|
||||
|
|
@ -193,9 +193,9 @@ if ( $sa == 'list' )
|
|||
$str_name=domaine.'dossier'.$Dossier['dos_id'];
|
||||
$size=$cn->get_value("select pg_database_size($1)/(1024*1024)::float",
|
||||
array($str_name));
|
||||
echo "<TD><I> ".h($Dossier['dos_description'])."</I></td>";
|
||||
echo td(nbm($size)."MB");
|
||||
echo "<TD><I> ".h($Dossier['dos_description'])."</I>
|
||||
</TD>";
|
||||
|
||||
echo td($str_name);
|
||||
echo "<TD>";
|
||||
echo td(HtmlInput::button_anchor(_('Effacer'),'?action=dossier_mgt&sa=del&d='.$Dossier['dos_id']));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue