diff options
| author | 2014-08-09 23:29:13 +0200 | |
|---|---|---|
| committer | 2014-08-09 23:29:13 +0200 | |
| commit | e7dba0ce7cfaf5e84687593a8b0d58d89fbff302 (patch) | |
| tree | 9c76a28e5994c02502e3293159507775653a3b1a /app/views/update/index.phtml | |
| parent | fce624218eb247d7174cdb186026174a8a6e5e8b (diff) | |
Add basic system of update
- Check on update.freshrss.org for new updates
- Download script
- Apply script
- Need translations and verifications
NOTE: current script on server indicates version 0.7.3 is an update
of 0.8-dev ==> IT'S ONLY FOR MY TESTS!
Script just does a backup of ./data actually...
See https://github.com/marienfressinaud/FreshRSS/issues/411
Diffstat (limited to 'app/views/update/index.phtml')
| -rw-r--r-- | app/views/update/index.phtml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/views/update/index.phtml b/app/views/update/index.phtml new file mode 100644 index 000000000..a1a872845 --- /dev/null +++ b/app/views/update/index.phtml @@ -0,0 +1,19 @@ +<?php $this->partial('aside_configure'); ?> + +<div class="post"> + <h1><?php echo _t('update_system'); ?></h1> + + <?php if (!empty($this->message)) { ?> + <p class="alert <?php echo $this->message['status'] === 'bad' ? 'alert-error' : 'alert-warn'; ?>"> + <span class="alert-head"><?php echo $this->message['title']; ?></span> + <?php echo $this->message['body']; ?> + </p> + <?php } ?> + + <?php if (empty($this->message) || $this->message['status'] !== 'good') { ?> + <p> + <a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('update_check'); ?></a> + <?php echo _i('help'); ?> <?php echo _t('update_last', $this->last_update_time); ?> + </p> + <?php } ?> +</div> |
