aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/archiving.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-17 16:23:07 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-17 16:24:21 +0200
commitce0984e102f5ce7d07277425595dad74193d4528 (patch)
tree0d4e736f13c9e3aa122348ffb06eed9b388b7c75 /app/views/configure/archiving.phtml
parent74be86d7e817bcccdc0052c54fefdc8379d9fe7f (diff)
Fix i18n
Diffstat (limited to 'app/views/configure/archiving.phtml')
-rw-r--r--app/views/configure/archiving.phtml19
1 files changed, 12 insertions, 7 deletions
diff --git a/app/views/configure/archiving.phtml b/app/views/configure/archiving.phtml
index 8f424c126..f469d343c 100644
--- a/app/views/configure/archiving.phtml
+++ b/app/views/configure/archiving.phtml
@@ -58,20 +58,25 @@
<legend><?php echo _t('advanced'); ?></legend>
<div class="form-group">
- <p class="group-name"><?php echo _t('current_user'); ?></p>
+ <label class="group-name"><?php echo _t('current_user'); ?></label>
<div class="group-controls">
- <p><?php echo _t('articles', formatNumber($this->nb_total)), ' — ', formatBytes($this->size_user); ?></p>
- <input type="hidden" name="optimiseDatabase" value="1" />
- <button type="submit" class="btn btn-important"><?php echo _t('optimize_bdd'); ?></button>
- <?php echo _i('help'); ?> <?php echo _t('optimize_todo_sometimes'); ?>
+ <?php echo _t('conf.users.articles_and_size', formatNumber($this->nb_total), formatBytes($this->size_user)); ?>
</div>
</div>
<?php if (FreshRSS_Auth::hasAccess('admin')) { ?>
<div class="form-group">
- <p class="group-name"><?php echo _t('users'); ?></p>
+ <label class="group-name"><?php echo _t('users'); ?></label>
<div class="group-controls">
- <p><?php echo formatBytes($this->size_total); ?></p>
+ <?php echo formatBytes($this->size_total); ?>
+ </div>
+ </div>
+
+ <div class="form-group form-actions">
+ <div class="group-controls">
+ <input type="hidden" name="optimiseDatabase" value="1" />
+ <button type="submit" class="btn btn-important"><?php echo _t('optimize_bdd'); ?></button>
+ <?php echo _i('help'); ?> <?php echo _t('optimize_todo_sometimes'); ?>
</div>
</div>
<?php } ?>