diff options
Diffstat (limited to 'plugins/DBStats/templates/DBStats.tpl')
-rw-r--r-- | plugins/DBStats/templates/DBStats.tpl | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/plugins/DBStats/templates/DBStats.tpl b/plugins/DBStats/templates/DBStats.tpl index e82e095683..2a65c22fc7 100644 --- a/plugins/DBStats/templates/DBStats.tpl +++ b/plugins/DBStats/templates/DBStats.tpl @@ -1,43 +1,43 @@ -{assign var=showSitesSelection value=false}
-{assign var=showPeriodSelection value=false}
-{include file="CoreAdminHome/templates/header.tpl"}
-{include file="CoreAdminHome/templates/menu.tpl"}
-<div style="max-width:980px;">
-
-<h2>{'DBStats_DatabaseUsage'|translate}</h2>
-{assign var=totalSize value=$tablesStatus.Total.Total_length}
-<p>{'DBStats_MainDescription'|translate:$totalSize}</p>
-<table class="adminTable">
- <thead>
- <th>{'DBStats_Table'|translate}</th>
- <th>{'DBStats_RowNumber'|translate}</th>
- <th>{'DBStats_DataSize'|translate}</th>
- <th>{'DBStats_IndexSize'|translate}</th>
- <th>{'DBStats_TotalSize'|translate}</th>
- </thead>
- <tbody id="tables">
- {foreach from=$tablesStatus key=index item=table}
- <tr {if $table.Name == 'Total'}class="active" style="font-weight:bold;"{/if}>
- <td>
- {$table.Name}
- </td>
- <td>
- {$table.Rows}
- </td>
- <td>
- {$table.Data_length}b
- </td>
- <td>
- {$table.Index_length}b
- </td>
- <td>
- {$table.Total_length}b
- </td>
- </tr>
- {/foreach}
- </tbody>
-</table>
-
-</div>
-
-{include file="CoreAdminHome/templates/footer.tpl"}
\ No newline at end of file +{assign var=showSitesSelection value=false} +{assign var=showPeriodSelection value=false} +{include file="CoreAdminHome/templates/header.tpl"} +{include file="CoreAdminHome/templates/menu.tpl"} +<div style="max-width:980px;"> + +<h2>{'DBStats_DatabaseUsage'|translate}</h2> +{assign var=totalSize value=$tablesStatus.Total.Total_length} +<p>{'DBStats_MainDescription'|translate:$totalSize}</p> +<table class="adminTable"> + <thead> + <th>{'DBStats_Table'|translate}</th> + <th>{'DBStats_RowNumber'|translate}</th> + <th>{'DBStats_DataSize'|translate}</th> + <th>{'DBStats_IndexSize'|translate}</th> + <th>{'DBStats_TotalSize'|translate}</th> + </thead> + <tbody id="tables"> + {foreach from=$tablesStatus key=index item=table} + <tr {if $table.Name == 'Total'}class="active" style="font-weight:bold;"{/if}> + <td> + {$table.Name} + </td> + <td> + {$table.Rows} + </td> + <td> + {$table.Data_length}b + </td> + <td> + {$table.Index_length}b + </td> + <td> + {$table.Total_length}b + </td> + </tr> + {/foreach} + </tbody> +</table> + +</div> + +{include file="CoreAdminHome/templates/footer.tpl"} |