AAI - hamburger menu poprava (prikaz samo za AAI)
This commit is contained in:
parent
b3c447c3b3
commit
378c01772a
@ -128,62 +128,64 @@ class DisplayController{
|
||||
}
|
||||
if(isAAI()){
|
||||
echo ' <img src="'.$site_url.'/public/img/logo/1ka_namestitev.svg">';
|
||||
echo ' <img src="'.$site_url.'/public/img/logo/Arnes.svg" style="margin-left:30px;">';
|
||||
echo ' <img src="'.$site_url.'/public/img/logo/Arnes.svg"">';
|
||||
}
|
||||
echo ' </a>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
if(isAAI()){
|
||||
|
||||
echo '<div class="mobile">';
|
||||
echo ' <div id="nav-icon3">';
|
||||
echo ' <span></span> ';
|
||||
echo ' <span></span> ';
|
||||
echo ' <span></span> ';
|
||||
echo ' <span></span> ';
|
||||
|
||||
echo '<div class="mobile">';
|
||||
echo ' <div id="nav-icon3">';
|
||||
echo ' <span></span> ';
|
||||
echo ' <span></span> ';
|
||||
echo ' <span></span> ';
|
||||
echo ' <span></span> ';
|
||||
|
||||
// echo '<div id="links">' ;
|
||||
// echo '<a href="#news">News</a>';
|
||||
// echo ' <a href="#contact">Contact</a>';
|
||||
// echo ' <a href="#about">About</a> ';
|
||||
// echo '</div>';
|
||||
echo ' </div>';
|
||||
// echo '<div id="links">' ;
|
||||
// echo '<a href="#news">News</a>';
|
||||
// echo ' <a href="#contact">Contact</a>';
|
||||
// echo ' <a href="#about">About</a> ';
|
||||
// echo '</div>';
|
||||
echo ' </div>';
|
||||
|
||||
echo '<div id="links" class="links">' ;
|
||||
// GDPR zahtevek je prisoten samo na virtualkah in na lastno zahtevo
|
||||
echo '<span class="menu_item '.($this->stran == 'gdpr' ? 'active' : '').'">';
|
||||
echo ' <a href="index.php?a=gdpr">'.$lang['srv_gdpr_drupal_tab'].'</a>';
|
||||
echo '</span>';
|
||||
echo '<div id="links" class="links">' ;
|
||||
// GDPR zahtevek je prisoten samo na virtualkah in na lastno zahtevo
|
||||
echo '<span class="menu_item '.($this->stran == 'gdpr' ? 'active' : '').'">';
|
||||
echo ' <a href="index.php?a=gdpr">'.$lang['srv_gdpr_drupal_tab'].'</a>';
|
||||
echo '</span>';
|
||||
|
||||
|
||||
// Preklop jezika
|
||||
echo '<span class="menu_item lang_switch">';
|
||||
$params = '?' . (isset($_GET['a']) ? 'a='.$_GET['a'].'&' : '') . (isset($_GET['b']) ? 'b='.$_GET['b'].'&' : '');
|
||||
if($this->lang_id == 1){
|
||||
echo ' <a href="'.$site_url.$this->root.'index.php'.$params.'lang_id=2">';
|
||||
echo ' <div class="flag eng">'.$lang['lang_flag'].' </div> ';
|
||||
|
||||
echo ' </a>';
|
||||
}
|
||||
else{
|
||||
echo ' <a href="'.$site_url.$this->root.'index.php'.$params.'lang_id=1">';
|
||||
echo ' <div class="flag eng">'.$lang['lang_flag'].' </div> ';
|
||||
|
||||
echo ' </a>';
|
||||
}
|
||||
echo '</span>';
|
||||
// Preklop jezika
|
||||
echo '<span class="menu_item lang_switch">';
|
||||
$params = '?' . (isset($_GET['a']) ? 'a='.$_GET['a'].'&' : '') . (isset($_GET['b']) ? 'b='.$_GET['b'].'&' : '');
|
||||
if($this->lang_id == 1){
|
||||
echo ' <a href="'.$site_url.$this->root.'index.php'.$params.'lang_id=2">';
|
||||
echo ' <div class="flag eng">'.$lang['lang_flag'].' </div> ';
|
||||
|
||||
echo ' </a>';
|
||||
}
|
||||
else{
|
||||
echo ' <a href="'.$site_url.$this->root.'index.php'.$params.'lang_id=1">';
|
||||
echo ' <div class="flag eng">'.$lang['lang_flag'].' </div> ';
|
||||
|
||||
echo ' </a>';
|
||||
}
|
||||
echo '</span>';
|
||||
|
||||
// AAI PRIJAVA
|
||||
echo '<span class="menu_item ">';
|
||||
echo '<a id="header-btn" href="https://idp.uni-lj.si/simplesaml/module.php/core/loginuserpassorg.php?AuthState=_37d7b155b8685940ef2887cd2c204e1cd9f46213e8%3Ahttps%3A%2F%2Fidp.uni-lj.si%2Fsimplesaml%2Fsaml2%2Fidp%2FSSOService.php%3Fspentityid%3Dhttps%253A%252F%252F1ka.arnes.si%252Fsp%252F202005292157%26RelayState%3Dcookie%253A1650096713_0820%26cookieTime%3D1650096713c>">'.$lang['AAI_prijava'].' </a> ';
|
||||
echo '</span>';
|
||||
// AAI PRIJAVA
|
||||
echo '<span class="menu_item ">';
|
||||
echo '<a id="header-btn" href="https://idp.uni-lj.si/simplesaml/module.php/core/loginuserpassorg.php?AuthState=_37d7b155b8685940ef2887cd2c204e1cd9f46213e8%3Ahttps%3A%2F%2Fidp.uni-lj.si%2Fsimplesaml%2Fsaml2%2Fidp%2FSSOService.php%3Fspentityid%3Dhttps%253A%252F%252F1ka.arnes.si%252Fsp%252F202005292157%26RelayState%3Dcookie%253A1650096713_0820%26cookieTime%3D1650096713c>">'.$lang['AAI_prijava'].' </a> ';
|
||||
echo '</span>';
|
||||
|
||||
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
|
||||
echo '<script type="text/javascript" src="frontend/simple/script/nav-mobile.js"></script> ';
|
||||
|
||||
echo '<script type="text/javascript" src="frontend/simple/script/nav-mobile.js"></script> ';
|
||||
}
|
||||
// Navigacija
|
||||
echo '<nav class=nav-desktop>';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user