forked from ZwiiCMS-Team/ZwiiCMS
warning stristr deprecated
This commit is contained in:
parent
fc2fbf2103
commit
695abf314a
@ -13,7 +13,7 @@
|
|||||||
<div class="colPicture">
|
<div class="colPicture">
|
||||||
<a
|
<a
|
||||||
href="<?php echo helper::baseUrl(false) . $picture; ?>"
|
href="<?php echo helper::baseUrl(false) . $picture; ?>"
|
||||||
<?php if ( stristr($picture,$this->getdata(['module',$this->getUrl(0),$this->getUrl(1),'config','homePicture'])) ) {
|
<?php if ( $picture === $this->getdata(['module',$this->getUrl(0),$this->getUrl(1),'config','homePicture']) ) {
|
||||||
echo 'id="homePicture"'; } ?>
|
echo 'id="homePicture"'; } ?>
|
||||||
class="galleryGalleryPicture"
|
class="galleryGalleryPicture"
|
||||||
style="background-image:url('<?php echo helper::baseUrl(false) . $module::$thumbs[$picture]; ?>')"
|
style="background-image:url('<?php echo helper::baseUrl(false) . $module::$thumbs[$picture]; ?>')"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user