Browse Source

removed admin menu from user dropdawn menu in top view

Piotr Labudda 7 years ago
parent
commit
e9effe15e6
1 changed files with 10 additions and 6 deletions
  1. 10 6
      theme/view/top.php

+ 10 - 6
theme/view/top.php

@@ -15,7 +15,7 @@
 																<li><a href="/webcal" target="_blank"><i class="glyphicon glyphicon-calendar"></i> Kalendarz</a></li>
 																		<li>
 											<a href="/webmail">
-												<form action="https://bravecom.yellowgroup.pl/webmail/loginFromSE.php" method="post" target="_blank">
+												<form action="https://<?= V::get('HTTP_HOST', '', $_SERVER); ?>/webmail/loginFromSE.php" method="post" target="_blank">
 													<input type="hidden" name="_timezone" value="Europe/Berlin">
 													<input type="hidden" name="_token" value="">
 													<input type="hidden" name="_action" value="login">
@@ -41,6 +41,8 @@
 								<li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=UserMsgs" title="Wiadomości systemowe"><i class="glyphicon glyphicon-envelope"></i> Wiadomości</a></li>
 								<li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=Notify" title="Powiadomienia"><i class="glyphicon glyphicon-bell"></i> Powiadomienia</a></li>
 								<li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=Users&amp;_task=reloadPerms" title="Przeładuj uprawnienia"><i class="glyphicon glyphicon-refresh"></i> Przeładuj uprawnienia</a></li>
+<!--
+<?php if(0) : ?>
 								<li class="divider"></li>
 								<li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=Status" title="Status systemu"><i class="glyphicon glyphicon-cog"></i> Status systemu</a></li>
 								<li><p class="text-muted" style="padding:3px 20px;"><nobr>Pokaż testy pracownika:</nobr></p>
@@ -151,6 +153,8 @@
 
 						});
 		</script><input class="btn btn-xs btn-warning" type="submit" value="Wybierz">
+<?php endif; ?>
+-->
 		<script>
 						jQuery(document).ready(function() {
 							jQuery('#ProcesMenuLoginDropdownLink')
@@ -213,20 +217,20 @@
                         <div class="menu-item smad-heder-title"><span class="smad-line-red">|</span> BAZY DANYCH</div>
                         <div class="menu-item">
                             <ul>
-	                                                        
-	                            
-	                            
+
+
+
                                 <li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_KRS/BI_audit_KRS" title="KRS - Firmy" class="btn btn-success">KRS</a></li>
                                 <li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_KRS_person/BI_audit_KRS_person" title="KRS - Osoby" class="btn btn-success">KRS/p</a></li>
                                 <li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_taxpayer/BI_audit_taxpayer" title="VAT - Aktywni płatnicy" class="btn btn-success">VATp</a></li>
 
                                 <li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_CEIDG/BI_audit_CEIDG" title="CIDG" class="btn btn-success">CEIDG</a></li>
                                 <li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_RUM_UMOWY/BI_audit_ENERGA_RUM_UMOWY" title="RUM Umowy" class="btn btn-success">RUM/u</a></li>
-                                
+
                                 <li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_RUM_KONTRAHENCI/BI_audit_ENERGA_RUM_KONTRAHENCI" title="RUM Kontrahenci" class="btn btn-success">RUM/k</a></li>
 
                                 <li><a href="<?php echo Request::getPathUri(); ?>index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_FAKTURY/BI_audit_ENERGA_FAKTURY" title="Faktury - do imoportowania" class="btn btn-success">Faktury</a></li>
-                                
+
                                 <!--<li><a href="#" title="KSIĘGOWOŚĆ" class="btn btn-success">KSIĘGOWOŚĆ</a></li> -->
                             </ul>
                         </div>