Skip to content
Permalink
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
MrOxizen committed Dec 5, 2022
1 parent 29475f6 commit 4ba784e
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 103 deletions.
2 changes: 1 addition & 1 deletion Modules/Lightbox/Render/Effects1.php
Expand Up @@ -135,7 +135,7 @@ public function default_render($style, $child, $admin) {
<button class="oxi_addons__button">
<?php $this->text_render($value['oxi_image_light_box_button_text']); ?>
</button>
</div>
</div>
<?php
}
} elseif (array_key_exists('oxi_image_light_box_clickable', $style) && $style['oxi_image_light_box_clickable'] == 'image') {
Expand Down
24 changes: 12 additions & 12 deletions Modules/Lightbox/Render/Effects2.php
Expand Up @@ -45,23 +45,23 @@ public function default_render($style, $child, $admin) {
?>
<div class="oxi_addons__light_box_style_2 oxi_addons__light_box <?php $this->column_render('oxi-image-hover-col', $style) ?> <?php
echo ($admin == "admin" ? 'oxi-addons-admin-edit-list' : '');
?>">
<div class="oxi_addons__light_box_parent">
?>">
<div class="oxi_addons__light_box_parent">
<?php
if ($this->custom_media_render('oxi_image_light_box_image', $value) != '') {
?>
<div class="oxi_addons__light_box_item lightbox_key_<?php echo (int) $key; ?>" <?php
<div class="oxi_addons__light_box_item lightbox_key_<?php echo (int) $key; ?>" <?php
if (array_key_exists('oxi_image_light_box_clickable', $style) && $style['oxi_image_light_box_clickable'] == 'image'):
echo ' style="width: 100%" ';
endif;
?>>
<?php
?>>
<?php
if (array_key_exists('oxi_image_light_box_clickable', $style) && $style['oxi_image_light_box_clickable'] == 'button') {
if (array_key_exists('oxi_image_light_box_button_text', $value) && $value['oxi_image_light_box_button_text'] != '') {
?>
<div class="oxi_addons__button_main">
<button class="oxi_addons__button">
<?php $this->text_render($value['oxi_image_light_box_button_text']) ?>
<?php $this->text_render($value['oxi_image_light_box_button_text']) ?>
</button>
</div>
<?php
Expand Down Expand Up @@ -92,14 +92,14 @@ public function default_render($style, $child, $admin) {
</div>
<?php
}
?>
?>
</div>
<?php
if ($admin == 'admin') :
$this->oxi_addons_admin_edit_delete_clone($val['id']);
endif;
?>
</div>
</div>
<?php
}
}
Expand Down Expand Up @@ -134,9 +134,9 @@ public function inline_public_jquery() {
mainClass: "' . $this->WRAPPER . '",
callbacks: {
beforeChange: function() {
this.items[0].src = this.items[0].src + "?=" + Math.random();
this.items[0].src = this.items[0].src + "?=" + Math.random();
}
},
},
closeBtnInside: true,
closeOnContentClick: true,
tLoading: "",
Expand All @@ -161,11 +161,11 @@ public function inline_public_css() {
z-index: ' . ($style['oxi_image_light_z_ind'] + 3) . ';
}
.oxi-image-hover-wrapper-' . $this->oxiid . ' .Oxipopup-image-holder .Oxipopup-close,
.oxi-image-hover-wrapper-' . $this->oxiid . ' .Oxipopup-image-holder .Oxipopup-close,
.oxi-image-hover-wrapper-' . $this->oxiid . ' .Oxipopup-iframe-holder .Oxipopup-close{
color: ' . $style['oxi_image_light_cls_clr'] . ';
}
.oxi-image-hover-wrapper-' . $this->oxiid . ' .Oxipopup-preloader{
background: ' . $style['oxi_image_light_pre_clr'] . ';
}';
Expand Down

0 comments on commit 4ba784e

Please sign in to comment.