diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-11-11 19:43:44 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-11-11 19:43:44 +0100 |
commit | 30c37a2ccbd4d358abbe2eaaf3d2fe9f9f987d01 (patch) | |
tree | 21746fcd545279a9fb048614cff39cd6d509588a /templates/part.shared.php | |
parent | 46a77e4d3432073e0e30c9e1546aef7ee7c216bb (diff) |
Use CRUDS consts as defined in https://github.com/owncloud/core/pull/356
Diffstat (limited to 'templates/part.shared.php')
-rw-r--r-- | templates/part.shared.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/part.shared.php b/templates/part.shared.php index 5e29d8c92..574e13457 100644 --- a/templates/part.shared.php +++ b/templates/part.shared.php @@ -39,7 +39,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 { @@ -52,15 +52,15 @@ foreach($items as $item) { echo '<div class="body">' . $item->getBody() . '</div>'; - echo '<div><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) . '"/></div>'; - + echo '<div><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) . '"/></div>'; + echo '<div class="bottom_utils">'; - echo '<ul class="secondary_item_utils">'; + echo '<ul class="secondary_item_utils">'; echo '<li class="keep_unread">' . $l->t('Keep unread') . '<input type="checkbox" /></li>'; echo '</ul>'; echo '</div>'; - + echo '</li>'; |