1
0
mirror of https://github.com/typecho/typecho.git synced 2025-05-05 17:02:00 +02:00

finish backup description

This commit is contained in:
joyqi 2017-08-17 13:00:26 +08:00
parent f2ba3071fd
commit a5c3e5aca7

@ -56,6 +56,7 @@ $backupFiles = Typecho_Widget::widget('Widget_Backup')->listFiles();
<?php if (empty($backupFiles)): ?>
<p class="description"><?php _e('将备份文件手动上传至服务器的 %s 目录下后, 这里会出现文件选项', __TYPECHO_BACKUP_DIR__); ?></p>
<?php else: ?>
<label class="typecho-label" for="backup-select-file"><?php _e('选择一个备份文件恢复数据'); ?></label>
<select name="file" id="backup-select-file">
<?php foreach ($backupFiles as $file): ?>
<option value="<?php echo $file; ?>"><?php echo $file; ?></option>