Subversion Repositories wpShopGermany4

Rev

Rev 5436 | Rev 6407 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1067 daniel 1
<?php
2
 
3
	/**
4
	 * Templatedatei für die Startseite/Konfiguration im Backend
5
	 * Normalerweise sollte hier nichts angepasst werden
6
	 */
5370 daniel 7
 
1067 daniel 8
?>
9
 
5264 daniel 10
<div class="wpsg_admin" id="wpsg-bs">
1067 daniel 11
 
5382 daniel 12
	<nav class="navbar navbar-default">
5264 daniel 13
		<div class="container-fluid">
14
			<div class="navbar-header">
15
				<a class="navbar-brand" href="#"><?php echo __('wpShopGermany', 'wpsg'); ?></a>
16
			</div>
5385 daniel 17
			<div class="collapse navbar-collapse">
5264 daniel 18
				<ul class="nav navbar-nav">
19
			 		<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>
20
					<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&amp;action=module"><?php echo __("Module", "wpsg"); ?></a></li>
21
 
22
					<?php if (current_user_can('wpsg_lizence') && $this->hasMod('wpsg_mod_core')) { ?>
23
					<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&amp;action=registrierung"><?php echo __("Lizenzverwaltung", "wpsg"); ?></a></li>
24
					<?php } ?>
25
 
26
					<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">
27
						<?php echo __('Aktuelles', 'wpsg'); ?>
5382 daniel 28
						<?php $wpsg_news_unread = wpsg_news::countUnreadNews(); if (wpsg_isSizedInt($wpsg_news_unread)) { ?>
29
						<span class="badge" style="background-color:#D9534F;"><?php echo sizeof($wpsg_news_unread); ?></span>
5264 daniel 30
						<?php } ?>
31
					</a></li>
32
				</ul>
33
				<ul class="nav navbar-nav navbar-right">
34
					<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&amp;action=hilfe"><?php echo __("Hilfe", "wpsg"); ?></a></li>
35
					<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&amp;action=ueber"><?php echo __("Über", "wpsg"); ?></a></li>
36
			 	</ul>
37
			</div>
5385 daniel 38
		</div>
5264 daniel 39
	</nav>
1847 daniel 40
 
41
	<?php echo $this->writeBackendMessage(); ?>
5264 daniel 42
 
1067 daniel 43
	<div class="wpsg_admin_wrap">
1663 daniel 44
		<?php if (wpsg_isSizedString($this->view['subTemplate'])) { ?>
1067 daniel 45
		<?php $this->render($this->view['subTemplate']); ?>
1663 daniel 46
		<?php } ?>
1067 daniel 47
	</div>
48
 
5439 daniel 49
</div>