Update template.php

This commit is contained in:
Fernando Méndez 2021-04-30 21:29:59 +02:00 committed by GitHub
parent ce80df9c55
commit 779f11d8d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,7 @@
//Print panel menu: //Print panel menu:
function print_panelMenu($panel){ function print_panelMenu($panel){
if($_SESSION["login"]){
$prefix = $this->prefix; $prefix = $this->prefix;
$menus = array("<a href='./'><li>Panel Principal</li></a>"); $menus = array("<a href='./'><li>Panel Principal</li></a>");
@ -213,6 +214,7 @@
</div> </div>
</div>\n"; </div>\n";
} }
}
//Print session MSG: //Print session MSG:
function print_msg() { function print_msg() {