diff options
Diffstat (limited to 'views/admin/news.phtml')
| -rw-r--r-- | views/admin/news.phtml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/views/admin/news.phtml b/views/admin/news.phtml index 25fdcf9..e08aea3 100644 --- a/views/admin/news.phtml +++ b/views/admin/news.phtml @@ -15,13 +15,10 @@ <?php
$temp = '<a target="_blank" onclick="setTimeout(function() { location.href = location.href; }, 1000); return true;" href="'.WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=news&read='.rawurlencode($news['id']).'&noheader=1">'.wpsg_hspc(wpsg_formatTimestamp($news['date'], true).' - '.$news['title']).'</a>';
- echo wpsg_drawForm_AdminboxStart(__($temp, 'wpsg'));
+ echo wpsg_drawForm_AdminboxStart(__($temp, 'wpsg'), '', array('panel-body-class' => ((wpsg_news::isRead($news['id']))?'bg-success':'bg-info')));
?>
-
- <div class="markRead">
- <?php echo __('gelesen', 'wpsg'); ?> <img src="<?php echo $this->getRessourceURL('gfx/tick.png'); ?>" title="<?php echo __('gelesen', 'wpsg'); ?>" alt="<?php echo __('gelesen', 'wpsg'); ?>" />
- </div>
+
<div class="wpsg_news_content"><?php echo wpsg_news::prepareContent($news); ?></div>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
