aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-11 19:07:51 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-11 19:07:51 +0200
commit2b22c538c8cafafedb057947ff90abb5d219c903 (patch)
tree1082ac159bceb05207b36be26e0e4b53bcdf8bcb /settings
parent6d68b7620cd38fda23d2d5dec73a80818035c38d (diff)
downloadnextcloud-server-2b22c538c8cafafedb057947ff90abb5d219c903.tar.gz
nextcloud-server-2b22c538c8cafafedb057947ff90abb5d219c903.zip
Make some apps compatible
Diffstat (limited to 'settings')
-rw-r--r--settings/admin.php2
-rw-r--r--settings/apps.php2
-rw-r--r--settings/templates/admin.php2
-rw-r--r--settings/templates/help.php6
4 files changed, 6 insertions, 6 deletions
diff --git a/settings/admin.php b/settings/admin.php
index a997bad4e3c..fed0fe9ff87 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -22,7 +22,7 @@ function compareEntries($a,$b){
}
usort($entries, 'compareEntries');
-$tmpl->assign('loglevel',OC_Config::getValue( "loglevel", 2 ));
+$tmpl->assign('loglevel',OC_Config::getValue( "loglevel", 2 ), false);
$tmpl->assign('entries',$entries);
$tmpl->assign('forms',array());
foreach($forms as $form){
diff --git a/settings/apps.php b/settings/apps.php
index 7908e6cc18b..f85b28158f5 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -92,7 +92,7 @@ usort($apps, 'app_sort');
$tmpl = new OC_Template( "settings", "apps", "user" );
-$tmpl->assign('apps',$apps);
+$tmpl->assign('apps',$apps, false);
$tmpl->printPage();
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index d167f2780ef..38c6042c82a 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -29,7 +29,7 @@ $levels=array('Debug','Info','Warning','Error','Fatal');
<?php echo $entry->app;?>
</td>
<td>
- <?php echo htmlentities($entry->message);?>
+ <?php echo $entry->message;?>
</td>
<td>
<?php echo OC_Util::formatDate($entry->time);?>
diff --git a/settings/templates/help.php b/settings/templates/help.php
index cf61207e601..a53ec76d681 100644
--- a/settings/templates/help.php
+++ b/settings/templates/help.php
@@ -26,9 +26,9 @@
<?php foreach($_["kbe"] as $kb): ?>
<div class="helpblock">
<?php if($kb["preview1"] <> "") { echo('<img class="preview" src="'.$kb["preview1"].'" />'); } ?>
- <?php if($kb['detailpage']<>'') echo('<p><a target="_blank" href="'.$kb['detailpage'].'"><strong>'.htmlentities($kb["name"]).'</strong></a></p>');?>
- <p><?php echo htmlentities($kb['description']);?></p>
- <?php if($kb['answer']<>'') echo('<p><strong>'.$l->t('Answer').':</strong><p>'.htmlentities($kb['answer']).'</p>');?>
+ <?php if($kb['detailpage']<>'') echo('<p><a target="_blank" href="'.$kb['detailpage'].'"><strong>'.$kb["name"].'</strong></a></p>');?>
+ <p><?php echo $kb['description'];?></p>
+ <?php if($kb['answer']<>'') echo('<p><strong>'.$l->t('Answer').':</strong><p>'.$kb['answer'].'</p>');?>
</div>
<?php endforeach;
endif?>