aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-09 19:34:10 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-10 01:24:40 +0200
commit34ac2ea1ba7f05b34ae3070cf4ec0a211692c05a (patch)
tree5dd034fe0aab5c8b4ddb2c078d95679d25495d07
parent861c37925598a9bf5c5ae255b7b781c8b1e5b477 (diff)
downloadnextcloud-server-34ac2ea1ba7f05b34ae3070cf4ec0a211692c05a.tar.gz
nextcloud-server-34ac2ea1ba7f05b34ae3070cf4ec0a211692c05a.zip
Don't escape assigned values.
-rw-r--r--apps/contacts/index.php18
1 files changed, 8 insertions, 10 deletions
diff --git a/apps/contacts/index.php b/apps/contacts/index.php
index 70d594e71bc..c1e33252f56 100644
--- a/apps/contacts/index.php
+++ b/apps/contacts/index.php
@@ -18,8 +18,6 @@ $has_contacts = (count(OC_Contacts_VCard::all($ids, 0, 1)) > 0 ? true : false);
if($contacts === false) {
OCP\Util::writeLog('contacts','index.html: No contacts found.',OCP\Util::DEBUG);
}
-error_log('activeIds: '.print_r($activeIds, true));
-error_log('has_contacts: '.$has_contacts);
// Load the files we need
OCP\App::setActiveNavigationEntry( 'contacts_index' );
@@ -53,12 +51,12 @@ OCP\Util::addStyle('contacts','jquery.Jcrop');
OCP\Util::addStyle('contacts','contacts');
$tmpl = new OCP\Template( "contacts", "index", "user" );
-$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
-$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
-$tmpl->assign('property_types', $property_types);
-$tmpl->assign('phone_types', $phone_types);
-$tmpl->assign('email_types', $email_types);
-$tmpl->assign('categories', $categories);
-$tmpl->assign('has_contacts',$has_contacts);
-$tmpl->assign('id',$id);
+$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize, false);
+$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize), false);
+$tmpl->assign('property_types', $property_types, false);
+$tmpl->assign('phone_types', $phone_types, false);
+$tmpl->assign('email_types', $email_types, false);
+$tmpl->assign('categories', $categories, false);
+$tmpl->assign('has_contacts', $has_contacts, false);
+$tmpl->assign('id',$id, false);
$tmpl->printPage();