diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-03-07 16:39:56 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-03-07 16:39:56 +0100 |
commit | 75323b86d157c48031b9ac8c151e4a41577a1481 (patch) | |
tree | 6e047d81b17a4bcbd15e9799ef8c5209c96a0ea5 /apps/contacts/index.php | |
parent | faf6055baa224fbf4248a70d28ae4416c9c7eb1c (diff) | |
download | nextcloud-server-75323b86d157c48031b9ac8c151e4a41577a1481.tar.gz nextcloud-server-75323b86d157c48031b9ac8c151e4a41577a1481.zip |
Contacts: UI updates and ajax methods for categories.
Diffstat (limited to 'apps/contacts/index.php')
-rw-r--r-- | apps/contacts/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/contacts/index.php b/apps/contacts/index.php index 0a21ddd04b6..a7817d35e58 100644 --- a/apps/contacts/index.php +++ b/apps/contacts/index.php @@ -34,6 +34,7 @@ if(!is_null($id)) { } $property_types = OC_Contacts_App::getAddPropertyOptions(); $phone_types = OC_Contacts_App::getTypesOfProperty('TEL'); +$categories = OC_Contacts_App::$categories->categories(); $upload_max_filesize = OC_Helper::computerFileSize(ini_get('upload_max_filesize')); $post_max_size = OC_Helper::computerFileSize(ini_get('post_max_size')); @@ -59,6 +60,7 @@ $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize); $tmpl->assign('uploadMaxHumanFilesize', OC_Helper::humanFileSize($maxUploadFilesize)); $tmpl->assign('property_types',$property_types); $tmpl->assign('phone_types',$phone_types); +$tmpl->assign('categories',$categories); $tmpl->assign('addressbooks', $addressbooks); $tmpl->assign('contacts', $contacts); $tmpl->assign('details', $details ); |