summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-11-11 19:43:44 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-11-11 19:43:44 +0100
commit30c37a2ccbd4d358abbe2eaaf3d2fe9f9f987d01 (patch)
tree21746fcd545279a9fb048614cff39cd6d509588a /templates/part.items.php
parent46a77e4d3432073e0e30c9e1546aef7ee7c216bb (diff)
Use CRUDS consts as defined in https://github.com/owncloud/core/pull/356
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 062cb557e..fcb2b12d8 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -38,7 +38,7 @@ foreach($items as $item) {
} else {
$feedTitle = '';
}
-
+
if(($item->getAuthor() !== null) && (trim($item->getAuthor()) !== '')) {
$author = $l->t('by') . ' ' . htmlspecialchars($item->getAuthor(), ENT_QUOTES, 'UTF-8');
} else {
@@ -53,12 +53,12 @@ foreach($items as $item) {
echo '<div class="bottom_utils">';
echo '<ul class="secondary_item_utils">';
- 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="share_link"><a class="share" data-item-type="news_item" data-item="' . $item->getId() . '" title="' . $l->t('Share') .
+ '" data-possible-permissions="' . (OCP\PERMISSION_READ | OCP\PERMISSION_SHARE) . '" href="#">' . $l->t('Share') . '</a></li>';
echo '<li class="keep_unread">' . $l->t('Keep unread') . '<input type="checkbox" /></li>';
echo '</ul>';
echo '</div>';
-
+
echo '</li>';