Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitrix
AmiBX
Commits
2510d74a
Commit
2510d74a
authored
Mar 23, 2023
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix versions-2
parent
312ab74a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
main.css
template/css/main.css
+9
-1
header.php
template/header.php
+1
-0
AloVoiceConnector.php
vendor/alovoice/src/AloVoiceConnector.php
+2
-2
version
vendor/alovoice/src/version
+1
-1
No files found.
template/css/main.css
View file @
2510d74a
...
@@ -22,7 +22,15 @@
...
@@ -22,7 +22,15 @@
padding
:
0px
;
padding
:
0px
;
box-sizing
:
border-box
;
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
{
document
,
html
,
body
{
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
...
...
template/header.php
View file @
2510d74a
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
</head>
</head>
<body>
<body>
<div
class=
"topversion"
>
<?php
echo
$version
;
?>
</div>
<div
class=
"alvcontainer"
>
<div
class=
"alvcontainer"
>
<?php
if
(
!
empty
(
$arAlvSections
))
{
?>
<?php
if
(
!
empty
(
$arAlvSections
))
{
?>
<div
class=
"row menu_top"
>
<div
class=
"row menu_top"
>
...
...
vendor/alovoice/src/AloVoiceConnector.php
View file @
2510d74a
...
@@ -42,7 +42,7 @@ class AloVoiceConnector
...
@@ -42,7 +42,7 @@ class AloVoiceConnector
];
];
}
}
public
function
getVersion
(){
public
static
function
getVersion
(){
$verTxt
=
file_get_contents
(
'version'
);
$verTxt
=
file_get_contents
(
'version'
);
return
(
!
empty
(
$verTxt
))
?
$verTxt
:
'2.721'
;
return
(
!
empty
(
$verTxt
))
?
$verTxt
:
'2.721'
;
...
@@ -1257,7 +1257,7 @@ class AloVoiceConnector
...
@@ -1257,7 +1257,7 @@ class AloVoiceConnector
$wrap
=
false
;
$wrap
=
false
;
}
}
$version
=
self
::
getVersion
();
if
(
!
empty
(
$loadPage
)){
if
(
!
empty
(
$loadPage
)){
if
((
!
empty
(
$arResult
[
"page"
]))
&&
$arResult
[
"page"
]
==
'user_profile_menu'
){
if
((
!
empty
(
$arResult
[
"page"
]))
&&
$arResult
[
"page"
]
==
'user_profile_menu'
){
$arAlvSections
=
null
;
$arAlvSections
=
null
;
...
...
vendor/alovoice/src/version
View file @
2510d74a
2.71
6
2.71
7
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment