diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-05-14 20:06:53 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-05-14 21:22:30 +0200 |
commit | 96ff19a703774744f0d3176600e33ca5e250dbf2 (patch) | |
tree | c10327288c10b3201676755a8d5730524e4a6ecb /apps/files_versions | |
parent | 418503a4ad4c2c7710c04bdb67d8080dbb936d35 (diff) | |
download | nextcloud-server-96ff19a703774744f0d3176600e33ca5e250dbf2.tar.gz nextcloud-server-96ff19a703774744f0d3176600e33ca5e250dbf2.zip |
fix history template, print_unescaped() needs to include closing tags
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/templates/history.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_versions/templates/history.php b/apps/files_versions/templates/history.php index f7284439041..3a6d5f0c9e7 100644 --- a/apps/files_versions/templates/history.php +++ b/apps/files_versions/templates/history.php @@ -5,18 +5,18 @@ if( isset( $_['message'] ) ) { - if( isset($_['path'] ) ) print_unescaped('<strong>File: '.OC_Util::sanitizeHTML($_['path'])).'</strong><br>'; - print_unescaped('<strong>'.OC_Util::sanitizeHTML($_['message']) ).'</strong><br>'; + if( isset($_['path'] ) ) print_unescaped('<strong>File: '.OC_Util::sanitizeHTML($_['path']).'</strong><br>'); + print_unescaped('<strong>'.OC_Util::sanitizeHTML($_['message']) .'</strong><br>'); }else{ if( isset( $_['outcome_stat'] ) ) { - print_unescaped( '<div id="feedback-messages" class="'.OC_Util::sanitizeHTML($_['outcome_stat']).'"><h3>'.OC_Util::sanitizeHTML($_['outcome_msg']) ).'</h3></div><br>'; + print_unescaped( '<div id="feedback-messages" class="'.OC_Util::sanitizeHTML($_['outcome_stat']).'"><h3>'.OC_Util::sanitizeHTML($_['outcome_msg']).'</h3></div><br>'); } - print_unescaped( '<strong>Versions of '.OC_Util::sanitizeHTML($_['path']) ).'</strong><br>'; + print_unescaped( '<strong>Versions of '.OC_Util::sanitizeHTML($_['path']).'</strong><br>'); print_unescaped('<p><em>'.OC_Util::sanitizeHTML($l->t('Revert a file to a previous version by clicking on its revert button')).'</em></p><br />'); foreach ( $_['versions'] as $v ) { |