Subversion Repositories wpShopGermany4

Rev

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

<?php

        /**
         * Templatedatei für die Startseite/Konfiguration im Backend
         * Normalerweise sollte hier nichts angepasst werden
         */
 
?>

<div class="wpsg_admin" id="wpsg-bs">

        <nav class="navbar navbar-default">
                <div class="container-fluid">
                        <div class="navbar-header">
                                <a class="navbar-brand" href="#"><?php echo __('wpShopGermany', 'wpsg'); ?></a>
                        </div>
                        <div class="collapse navbar-collapse">
                                <ul class="nav navbar-nav">
                                        <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>
                                        <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>
                                                
                                        <?php if (current_user_can('wpsg_lizence') && $this->hasMod('wpsg_mod_core')) { ?>                      
                                        <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>
                                        <?php } ?>
                                        
                                        <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">
                                                <?php echo __('Aktuelles', 'wpsg'); ?>
                                                <?php $wpsg_news_unread = wpsg_news::countUnreadNews(); if (wpsg_isSizedInt($wpsg_news_unread)) { ?>
                                                <span class="badge" style="background-color:#D9534F;"><?php echo sizeof($wpsg_news_unread); ?></span>
                                                <?php } ?>                      
                                        </a></li>
                                </ul>
                                <ul class="nav navbar-nav navbar-right">                                
                                        <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>
                                        <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>
                                </ul>
                        </div>
                </div>          
        </nav> 
        
        <?php echo $this->writeBackendMessage(); ?>
                                
        <div class="wpsg_admin_wrap">
                <?php if (wpsg_isSizedString($this->view['subTemplate'])) { ?>
                <?php $this->render($this->view['subTemplate']); ?>
                <?php } ?>
        </div>
        
</div>