switch( $dbSql->driver )
{
case 'mysql':
- $query = "SELECT JobId, Name, EndTime, JobStatus";
+ $query = "SELECT JobId, Name, EndTime, JobStatus ";
$query .= "FROM Job ";
$query .= "WHERE EndTime <= NOW() and UNIX_TIMESTAMP(EndTime) > UNIX_TIMESTAMP(NOW())-86400 and JobStatus!='T'";
break;
<!-- General information -->
<div class="box">
<p class="title">General informations</p>
- <table>
+ <table width="90%">
<tr>
- <td class="label">{t}Clients{/t}</td> <td>{$clientes_totales}</td>
+ <td class="label">{t}Clients{/t}</td> <td class="info">{$clientes_totales}</td>
</tr>
<tr>
- <td class="label">{t}Total bytes stored{/t}:</td> <td>{$bytes_stored}</td>
+ <td class="label">{t}Total bytes stored{/t}:</td> <td class="info">{$bytes_stored}</td>
</tr>
<tr>
- <td class="label">{t}Total files:{/t}</td> <td>{$files_totales}</td>
+ <td class="label">{t}Total files:{/t}</td> <td class="info">{$files_totales} file(s)</td>
</tr>
<tr>
- <td class="label">{t}Database size{/t}:</td> <td>{$database_size}</td>
+ <td class="label">{t}Database size{/t}:</td> <td class="info">{$database_size}</td>
</tr>
<tr>
<td colspan=2 align=center>
</td>
</tr>
-->
-{if $mode == "Lite" && $smarty.get.Full_popup != "yes"}
-<table width="100%">
+{* {if $mode == "Lite" && $smarty.get.Full_popup != "yes"} *}
+<table>
<tr>
- <td>
- <b>{t}Errors:{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$status}
- </td>
+ <td class="label">Failed jobs</td> <td class="info">{$jobserror}</td>
</tr>
-
<tr>
- <td>
- <b>{t}Terminated Jobs:{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$total_jobs}
- </td>
+ <td class="label">Completed jobs</td> <td class="info">{$total_jobs}</td>
</tr>
<tr>
- <td>
- <b>{t}Total time spent to do backup:{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$TotalElapsed}
- </td>
+ <td class="label">Backup elapsed time</td> <td class="info">{$totalElapsed}</td>
</tr>
-
<tr>
- <td>
- <b>{t}Bytes transferred last 24h{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$bytes_totales}
- </td>
+ <td class="label">Transferred bytes</td> <td class="info">{$bytes_totales}</td>
</tr>
<tr>
<td colspan=2 align=center>
<a href="javascript:OpenWin('index.php?Full_popup=yes','490','350')">{t}Show details{/t}</a>
</td>
</tr>
- </table>
+</table>
- {if $status != 0}
+{* {if $status != 0} *}
<table>
<tr>
<td colspan=2>
</td>
</tr>
</table>
- {/if}
+ {* {/if} *}
</div> <!-- end div box -->
<div class="box">
</tr>
</table>
</form>
-{else if #mode# == "Full" || $smarty.get.Full_popup == "yes"}
+{* {else if #mode# == "Full" || $smarty.get.Full_popup == "yes"} *}
<table>
<tr class="tbl_header1">
<td><b>{t}Elapsed time{/t}</b></td>
</td>
</tr>
</table>
-{/if}
+{* {/if} *}
</div>
<!-- end last_run_report.tpl -->
\ No newline at end of file