aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-08-11 19:02:27 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-08-11 19:02:27 +0200
commit94570aaf5a23dfc02bf1120d168ec30c2ab3f044 (patch)
tree7349e8c938792d7cf26515f9fa237f2685f95085 /app/views
parentbc71a577fe3154080df9949b394c7ae552773c7b (diff)
Improve system import/export
Miss checking presence of zip extension during import See https://github.com/marienfressinaud/FreshRSS/issues/494
Diffstat (limited to 'app/views')
-rw-r--r--app/views/importExport/index.phtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/importExport/index.phtml b/app/views/importExport/index.phtml
index e1458e916..35371faca 100644
--- a/app/views/importExport/index.phtml
+++ b/app/views/importExport/index.phtml
@@ -6,7 +6,9 @@
<form method="post" action="<?php echo _url('importExport', 'import'); ?>" enctype="multipart/form-data">
<legend><?php echo _t('import'); ?></legend>
<div class="form-group">
- <label class="group-name" for="file"><?php echo _t('file_to_import'); ?></label>
+ <label class="group-name" for="file">
+ <?php echo extension_loaded('zip') ? _t('file_to_import') : _t('file_to_import_no_zip'); ?>
+ </label>
<div class="group-controls">
<input type="file" name="file" id="file" />
</div>