1067 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Templatedatei für die Startseite/Konfiguration im Backend
|
|
|
5 |
* Normalerweise sollte hier nichts angepasst werden
|
|
|
6 |
*/
|
6488 |
daniel |
7 |
|
|
|
8 |
$wpsg_update_data = wpsg_get_update_data();
|
5370 |
daniel |
9 |
|
1067 |
daniel |
10 |
?>
|
|
|
11 |
|
5264 |
daniel |
12 |
<div class="wpsg_admin" id="wpsg-bs">
|
1067 |
daniel |
13 |
|
5382 |
daniel |
14 |
<nav class="navbar navbar-default">
|
5264 |
daniel |
15 |
<div class="container-fluid">
|
|
|
16 |
<div class="navbar-header">
|
|
|
17 |
<a class="navbar-brand" href="#"><?php echo __('wpShopGermany', 'wpsg'); ?></a>
|
|
|
18 |
</div>
|
5385 |
daniel |
19 |
<div class="collapse navbar-collapse">
|
5264 |
daniel |
20 |
<ul class="nav navbar-nav">
|
|
|
21 |
<li role="presentation" class="<?php echo (($this->view['actionName'] == "index")?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin"><?php echo __("Einstellungen", "wpsg"); ?></a></li>
|
|
|
22 |
<li role="presentation" class="<?php echo (($this->view['actionName'] == "module")?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module"><?php echo __("Module", "wpsg"); ?></a></li>
|
6488 |
daniel |
23 |
|
|
|
24 |
<?php if (current_user_can('wpsg_lizence') && wpsg_isSizedInt($wpsg_update_data['returnCode'])) { ?>
|
5264 |
daniel |
25 |
<li role="presentation" class="<?php echo (($this->view['actionName'] == "registrierung")?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=registrierung"><?php echo __("Lizenzverwaltung", "wpsg"); ?></a></li>
|
|
|
26 |
<?php } ?>
|
|
|
27 |
|
|
|
28 |
<li role="presentation" class="<?php echo (($this->view['actionName'] == 'news')?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=news">
|
|
|
29 |
<?php echo __('Aktuelles', 'wpsg'); ?>
|
5382 |
daniel |
30 |
<?php $wpsg_news_unread = wpsg_news::countUnreadNews(); if (wpsg_isSizedInt($wpsg_news_unread)) { ?>
|
6526 |
daniel |
31 |
<span class="badge" style="background-color:#D9534F;"><?php echo $wpsg_news_unread; ?></span>
|
5264 |
daniel |
32 |
<?php } ?>
|
|
|
33 |
</a></li>
|
|
|
34 |
</ul>
|
|
|
35 |
<ul class="nav navbar-nav navbar-right">
|
|
|
36 |
<li role="presentation" class="<?php echo (($this->view['actionName'] == "hilfe")?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=hilfe"><?php echo __("Hilfe", "wpsg"); ?></a></li>
|
|
|
37 |
<li role="presentation" class="<?php echo (($this->view['actionName'] == "ueber")?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=ueber"><?php echo __("Über", "wpsg"); ?></a></li>
|
|
|
38 |
</ul>
|
|
|
39 |
</div>
|
5385 |
daniel |
40 |
</div>
|
6407 |
daniel |
41 |
</nav>
|
6503 |
daniel |
42 |
|
1067 |
daniel |
43 |
<div class="wpsg_admin_wrap">
|
6503 |
daniel |
44 |
|
|
|
45 |
<div class="wpsg_msg_wrap"><hr class="wp-header-end wpsg-wp-header-end"/></div>
|
|
|
46 |
|
1663 |
daniel |
47 |
<?php if (wpsg_isSizedString($this->view['subTemplate'])) { ?>
|
1067 |
daniel |
48 |
<?php $this->render($this->view['subTemplate']); ?>
|
1663 |
daniel |
49 |
<?php } ?>
|
7529 |
daniel |
50 |
|
1067 |
daniel |
51 |
</div>
|
|
|
52 |
|
5439 |
daniel |
53 |
</div>
|