$savemsg=sprintf(gettext('Successfully reverted to timestamp %s with description "%s".'),date(gettext("n/j/y H:i:s"),$_POST['id']),$revision['description']);
}else{
$savemsg=gettext("Unable to revert to the selected configuration.");
$savemsg=sprintf(gettext('Deleted backup with timestamp %s and description "%s".'),date(gettext("n/j/y H:i:s"),$revision['time']),$revision['description']);
}else{
$savemsg=gettext("Unable to delete the selected configuration.");
$savemsg=sprintf(gettext('Successfully reverted to timestamp %s with description "%s".'),date(gettext("n/j/y H:i:s"),$_POST['newver']),$revision['description']);
}else{
$savemsg=gettext("Unable to revert to the selected configuration.");
$savemsg=sprintf(gettext('Deleted backup with timestamp %s and description "%s".'),date(gettext("n/j/y H:i:s"),$_POST['rmver']),$revision['description']);
}else{
$savemsg=gettext("Unable to delete the selected configuration.");
<?=gettext("NOTE: Be aware of how much space is consumed by backups before adjusting this value. Current space used by backups: ");?><?=exec("/usr/bin/du -sh /conf/backup | /usr/bin/awk '{print $1;}'")?>
<?=gettext("To view the differences between an older configuration and a newer configuration, select the older configuration using the left column of radio options and select the newer configuration in the right column, then press the button.");?>
<ahref="diag_confbak.php?newver=<?=$version['time'];?>"class="btn btn-default btn-xs"title="<?=gettext("Revert to this configuration");?>"><spanclass="glyphicon glyphicon-log-in"></span></a>
<ahref="diag_confbak.php?rmver=<?=$version['time'];?>"class="btn btn-default btn-xs"title="<?=gettext("Remove this backup");?>"><spanclass="glyphicon glyphicon-remove"></span></a>
<ahref="diag_confbak.php?getcfg=<?=$version['time'];?>"class="btn btn-default btn-xs"title="<?=gettext("Download this backup");?>"><spanclass="glyphicon glyphicon-download"></span></a>
<?=gettext("NOTE: Be aware of how much space is consumed by backups before adjusting this value. Current space used by backups: ");?><?=exec("/usr/bin/du -sh /conf/backup | /usr/bin/awk '{print $1;}'")?>
<?=gettext("To view the differences between an older configuration and a newer configuration, select the older configuration using the left column of radio options and select the newer configuration in the right column, then press the button.");?>
<adata-id="<?=$version['time'];?>"href="#"class="act_revert btn btn-default btn-xs"data-toggle="tooltip"data-placement="left"title="<?=gettext("Revert to this configuration");?>">
<spanclass="glyphicon glyphicon-log-in"></span>
</a>
<adata-id="<?=$version['time'];?>"href="#"class="act_delete btn btn-default btn-xs"data-toggle="tooltip"data-placement="left"title="<?=gettext("Remove this backup");?>">
<spanclass="glyphicon glyphicon-remove"></span>
</a>
<ahref="diag_confbak.php?getcfg=<?=$version['time'];?>"class="btn btn-default btn-xs"title="<?=gettext("Download this backup");?>">