diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-10-30 23:51:52 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-10-30 23:51:52 +0100 |
commit | a7723e0b25ea2509cc260fb05d8265496fe21aed (patch) | |
tree | 6f84c28cec5b50f23a9bcba0d640b0c64c3ca27e /templates/part.items.php | |
parent | 47401d8f6574ebbc09453ebfe6ca7be7bbee9be5 (diff) |
split share class
Diffstat (limited to 'templates/part.items.php')
-rw-r--r-- | templates/part.items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php index 45a45a876..062cb557e 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -53,7 +53,7 @@ foreach($items as $item) { echo '<div class="bottom_utils">'; echo '<ul class="secondary_item_utils">'; - echo '<li class="share"><a data-item-type="news_item" data-item="' . $item->getId() . '" title="' . $l->t('Share') . + echo '<li class="share_link"><a class="share" data-item-type="news_item" data-item="' . $item->getId() . '" title="' . $l->t('Share') . '" data-possible-permissions="' . (OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_SHARE) . '" href="#">' . $l->t('Share') . '</a></li>'; echo '<li class="keep_unread">' . $l->t('Keep unread') . '<input type="checkbox" /></li>'; echo '</ul>'; |