From 30c37a2ccbd4d358abbe2eaaf3d2fe9f9f987d01 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sun, 11 Nov 2012 19:43:44 +0100 Subject: Use CRUDS consts as defined in https://github.com/owncloud/core/pull/356 --- templates/part.items.php | 8 ++++---- templates/part.shared.php | 12 ++++++------ 2 files changed, 10 insertions(+), 10 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 '
'; echo ''; echo '
'; - + echo ''; 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 '
' . $item->getBody() . '
'; - echo '
'; - + echo '
'; + echo '
'; - echo '
    '; + echo '
      '; echo '
    • ' . $l->t('Keep unread') . '
    • '; echo '
    '; echo '
'; - + echo ''; -- cgit v1.2.3