]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix history template, print_unescaped() needs to include closing tags
authorBjörn Schießle <schiessle@owncloud.com>
Tue, 14 May 2013 18:06:53 +0000 (20:06 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Tue, 14 May 2013 18:06:53 +0000 (20:06 +0200)
apps/files_versions/templates/history.php

index f7284439041e7762f50723fc87bbf5a7d77ae12b..3a6d5f0c9e7baaae22bf7d94be22553ff10546fe 100644 (file)
@@ -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 ) {