diff options
author | Björn Schießle <bjoern@schiessle.org> | 2013-05-14 12:18:16 -0700 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2013-05-14 12:18:16 -0700 |
commit | 408aed31750b9104e90170cf85888e7525da8ece (patch) | |
tree | c4732ffed526d711bf59bfd70d716de524a38ef0 | |
parent | 256e53ba68caaeb81bcfd5fd8e4c3944cc3c23ec (diff) | |
parent | 1282c33db4e7f395d03a47b9e42e39c0936878e8 (diff) | |
download | nextcloud-server-408aed31750b9104e90170cf85888e7525da8ece.tar.gz nextcloud-server-408aed31750b9104e90170cf85888e7525da8ece.zip |
Merge pull request #3350 from owncloud/fix_history_template
fix history template, print_unescaped() needs to include closing tags
-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 ) { |