mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Remove sanitization parameter from assign
This commit is contained in:
parent
bf7e180638
commit
1002f0a42d
16
index.php
16
index.php
@ -57,14 +57,14 @@ OCP\Util::addStyle('contacts', 'jquery.Jcrop');
|
||||
OCP\Util::addStyle('contacts', 'contacts');
|
||||
|
||||
$tmpl = new OCP\Template( "contacts", "contacts", "user" );
|
||||
$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize, false);
|
||||
$tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
|
||||
$tmpl->assign('uploadMaxHumanFilesize',
|
||||
OCP\Util::humanFileSize($maxUploadFilesize), false);
|
||||
$tmpl->assign('addressbooks', OCA\Contacts\Addressbook::all(OCP\USER::getUser()), false);
|
||||
$tmpl->assign('phone_types', $phone_types, false);
|
||||
$tmpl->assign('email_types', $email_types, false);
|
||||
$tmpl->assign('adr_types', $adr_types, false);
|
||||
$tmpl->assign('impp_types', $impp_types, false);
|
||||
$tmpl->assign('categories', $categories, false);
|
||||
$tmpl->assign('im_protocols', $im_protocols, false);
|
||||
$tmpl->assign('addressbooks', OCA\Contacts\Addressbook::all(OCP\USER::getUser()));
|
||||
$tmpl->assign('phone_types', $phone_types);
|
||||
$tmpl->assign('email_types', $email_types);
|
||||
$tmpl->assign('adr_types', $adr_types);
|
||||
$tmpl->assign('impp_types', $impp_types);
|
||||
$tmpl->assign('categories', $categories);
|
||||
$tmpl->assign('im_protocols', $im_protocols);
|
||||
$tmpl->printPage();
|
||||
|
Loading…
Reference in New Issue
Block a user