diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2017-09-20 11:47:12 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2017-09-20 11:47:12 +0000 |
| commit | 0211d21e5cd3e94e215d36db65cc64a44421dc4c (patch) | |
| tree | 8425b3fcc2c7a9cb0e0e967ca6c855dc8279c3f5 /views/admin/news.phtml | |
| parent | 131ddcaf915d7f0344a902a3f7b61c3ba15f15a3 (diff) | |
- Modulaktivierung ausblenden, wenn falscher Key
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6526 0d5edaf7-2b12-4e95-93f4-047927463d4b
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(); ?>
|
