<?php $title = $description = $url = $urlTarget = $alternativeText = $noFollow = $postId = ''; $titleElementTag = $descriptionElementTag = SlideshowPluginSlideInserter::getElementTag(); if (isset($properties['title'])) { $title = trim(SlideshowPluginSecurity::htmlspecialchars_allow_exceptions($properties['title'])); } if (isset($properties['titleElementTagID'])) { $titleElementTag = SlideshowPluginSlideInserter::getElementTag($properties['titleElementTagID']); } if (isset($properties['description'])) { $description = trim(SlideshowPluginSecurity::htmlspecialchars_allow_exceptions($properties['description'])); } if (isset($properties['descriptionElementTagID'])) { $descriptionElementTag = SlideshowPluginSlideInserter::getElementTag($properties['descriptionElementTagID']); } if (isset($properties['url'])) { $url = htmlspecialchars($properties['url']); } if (isset($properties['urlTarget'])) { $urlTarget = htmlspecialchars($properties['urlTarget']); } if (isset($properties['alternativeText'])) { $alternativeText = htmlspecialchars($properties['alternativeText']); } if (isset($properties['noFollow'])) { $noFollow = ' rel="nofollow" '; } if (isset($properties['postId'])) { $postId = $properties['postId']; }
<?php $title = $description = $textColor = $color = $url = $target = ''; $titleElementTagID = $descriptionElementTagID = SlideshowPluginSlideInserter::getElementTag(); $noFollow = false; if (isset($properties['title'])) { $title = SlideshowPluginSecurity::htmlspecialchars_allow_exceptions($properties['title']); } if (isset($properties['titleElementTagID'])) { $titleElementTag = $properties['titleElementTagID']; } if (isset($properties['description'])) { $description = SlideshowPluginSecurity::htmlspecialchars_allow_exceptions($properties['description']); } if (isset($properties['descriptionElementTagID'])) { $descriptionElementTag = $properties['descriptionElementTagID']; } if (isset($properties['textColor'])) { $textColor = $properties['textColor']; } if (isset($properties['color'])) { $color = $properties['color']; } if (isset($properties['url'])) { $url = $properties['url']; } if (isset($properties['urlTarget'])) { $target = $properties['urlTarget']; } if (isset($properties['noFollow'])) { $noFollow = true;