Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
www
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
finnv
www
Commits
c281d47c
Commit
c281d47c
authored
Dec 09, 2022
by
Olga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавила аттрибут ленивой загрузки
parent
5b0d513b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
template.php
...p/components/bitrix/news.list/front-partners/template.php
+1
-1
indexblocks.php
indexblocks.php
+1
-1
index.php
services/index.php
+3
-3
No files found.
bitrix/templates/aspro-scorp/components/bitrix/news.list/front-partners/template.php
View file @
c281d47c
...
...
@@ -41,7 +41,7 @@ if($arResult['ITEMS']){
<li
class=
"col-md-
<?=
$colmd
?>
col-sm-
<?=
$colsm
?>
"
>
<div
class=
"item"
id=
"
<?=
$this
->
GetEditAreaId
(
$arItem
[
'ID'
]);
?>
"
>
<?
if
(
$bDetailLink
)
:?><
a
href
=
"<?=
$arItem['DETAIL_PAGE_URL']
?>"
><?
endif
;
?>
<img
class=
"img-responsive"
src=
"
<?=
$imageSrc
?>
"
alt=
"
<?=
(
$bImage
?
$arItem
[
'PREVIEW_PICTURE'
][
'ALT'
]
:
$arItem
[
'NAME'
])
?>
"
title=
"
<?=
(
$bImage
?
$arItem
[
'PREVIEW_PICTURE'
][
'TITLE'
]
:
$arItem
[
'NAME'
])
?>
"
/>
<img
loading=
"lazy"
class=
"img-responsive"
src=
"
<?=
$imageSrc
?>
"
alt=
"
<?=
(
$bImage
?
$arItem
[
'PREVIEW_PICTURE'
][
'ALT'
]
:
$arItem
[
'NAME'
])
?>
"
title=
"
<?=
(
$bImage
?
$arItem
[
'PREVIEW_PICTURE'
][
'TITLE'
]
:
$arItem
[
'NAME'
])
?>
"
/>
<?
if
(
$bDetailLink
)
:?></
a
><?
endif
;
?>
</div>
</li>
...
...
indexblocks.php
View file @
c281d47c
...
...
@@ -78,7 +78,7 @@
<p>
Спасибо всем, кто ведет бизнес вместе с нами уже много лет и добро пожаловать тем, кто только сегодня узнал про нас!
</p>
</div>
<div
class=
"col-lg-3 col-md-12 col-sm-12 col-xs-12 align-middle"
><img
src=
"/images/dir2.jpg"
alt=
""
style=
"width: 100%"
></div>
<div
class=
"col-lg-3 col-md-12 col-sm-12 col-xs-12 align-middle"
><img
loading=
"lazy"
src=
"/images/dir2.jpg"
alt=
""
style=
"width: 100%"
></div>
</div>
</div>
</div>
...
...
services/index.php
View file @
c281d47c
...
...
@@ -41,7 +41,7 @@ $APPLICATION->SetTitle("Услуги");
"CACHE_TYPE"
=>
"A"
,
"CACHE_TIME"
=>
"100000"
,
"CACHE_FILTER"
=>
"N"
,
"CACHE_GROUPS"
=>
"
Y
"
,
"CACHE_GROUPS"
=>
"
N
"
,
"SET_TITLE"
=>
"Y"
,
"SET_STATUS_404"
=>
"Y"
,
"INCLUDE_IBLOCK_INTO_CHAIN"
=>
"N"
,
...
...
@@ -132,8 +132,8 @@ $APPLICATION->SetTitle("Услуги");
<?
$captcha
=
(
in_array
(
$arTheme
[
'USE_CAPTCHA_FORM'
][
'VALUE'
],
array
(
'HIDDEN'
,
'IMAGE'
,
'RECAPTCHA'
))
?
$arTheme
[
'USE_CAPTCHA_FORM'
][
'VALUE'
]
:
'N'
);
?>
<?
$processing
=
(
$arTheme
[
'DISPLAY_PROCESSING_NOTE'
][
'VALUE'
]
===
'Y'
?
'Y'
:
'N'
);
?><?
$processing_checked
=
(
$arTheme
[
'PROCESSING_NOTE_CHECKED'
][
'VALUE'
]
===
'Y'
?
'Y'
:
'N'
);
?>
<?
$APPLICATION
->
IncludeComponent
(
"aspro:form.scorp"
,
"contacts"
,
"aspro:form.scorp"
,
"contacts"
,
array
(
"IBLOCK_TYPE"
=>
"aspro_scorp_form"
,
"IBLOCK_ID"
=>
"21"
,
...
...
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