Commit 2510d74a authored by Kulya's avatar Kulya 😊

Fix versions-2

parent 312ab74a
......@@ -22,7 +22,15 @@
padding: 0px;
box-sizing: border-box;
}
.topversion{
position: absolute;
top: 0;
right: 2px;
color: #b8b8b8;
font-size: 10px;
z-index: 999999;
font-style: italic;
}
document, html, body {
height: 100%;
width:100%;
......
......@@ -36,6 +36,7 @@
</head>
<body>
<div class="topversion"><?php echo $version; ?></div>
<div class="alvcontainer">
<?php if(!empty($arAlvSections)) { ?>
<div class="row menu_top">
......
......@@ -42,7 +42,7 @@ class AloVoiceConnector
];
}
public function getVersion(){
public static function getVersion(){
$verTxt = file_get_contents('version');
return (!empty($verTxt)) ? $verTxt : '2.721';
......@@ -1257,7 +1257,7 @@ class AloVoiceConnector
$wrap=false;
}
$version = self::getVersion();
if(!empty($loadPage)){
if((!empty($arResult["page"])) && $arResult["page"] == 'user_profile_menu'){
$arAlvSections = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment