summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/index.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-03-07 21:50:55 +0100
committerBart Visscher <bartv@thisnet.nl>2012-03-07 21:50:55 +0100
commit340320625e8da301e4c03752143db6d4837ca545 (patch)
tree5e3352e35325c43c47de7526de422d23554d4202 /apps/contacts/templates/index.php
parent9908adb320171c0a12fa7d78964b5ddc3527f9fd (diff)
downloadnextcloud-server-340320625e8da301e4c03752143db6d4837ca545.tar.gz
nextcloud-server-340320625e8da301e4c03752143db6d4837ca545.zip
Contacts: Add UI for categories
Diffstat (limited to 'apps/contacts/templates/index.php')
-rw-r--r--apps/contacts/templates/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php
index e81597f23d6..efd797e25cb 100644
--- a/apps/contacts/templates/index.php
+++ b/apps/contacts/templates/index.php
@@ -1,5 +1,6 @@
<script type='text/javascript'>
var totalurl = '<?php echo OC_Helper::linkToAbsolute('contacts', 'carddav.php'); ?>/addressbooks';
+ var categories = <?php echo json_encode($_['categories']); ?>;
</script>
<div id="controls">
<form>