mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Set data-owner in addressbook list.
This commit is contained in:
parent
742f175872
commit
35ce5f1afb
@ -10,7 +10,10 @@
|
||||
<dd class="addressbooks-settings hidden">
|
||||
<table>
|
||||
<?php foreach($_['addressbooks'] as $addressbook) { ?>
|
||||
<tr class="addressbook" data-id="<?php echo $addressbook['id'] ?>" data-uri="<?php echo $addressbook['uri'] ?>">
|
||||
<tr class="addressbook" data-id="<?php echo $addressbook['id'] ?>"
|
||||
data-uri="<?php echo $addressbook['uri'] ?>"
|
||||
data-owner="<?php echo $addressbook['userid'] ?>"
|
||||
>
|
||||
<td class="active">
|
||||
<?php if($addressbook['permissions'] & OCP\Share::PERMISSION_UPDATE) { ?>
|
||||
<input type="checkbox" <?php echo (($addressbook['active']) == '1' ? ' checked="checked"' : ''); ?> />
|
||||
|
Loading…
x
Reference in New Issue
Block a user