* @brief Add-on to highlight an activated image. */ if($called_position == 'after_module_proc' && Context::getResponseMethod() == "HTML" && !isCrawler()) { Context::loadFile(array('./addons/photoswipe/PhotoSwipe/photoswipe.css', '', '', null), true); Context::loadFile(array('./addons/photoswipe/PhotoSwipe/default-skin/default-skin.css', '', '', null), true); Context::loadFile(array('./addons/photoswipe/PhotoSwipe/photoswipe.js', 'body', '', null), true); Context::loadFile(array('./addons/photoswipe/PhotoSwipe/photoswipe-ui-default.js', 'body', '', null), true); Context::loadFile(array('./addons/photoswipe/rx_photoswipe.js', 'body', '', null), true); $footer = FileHandler::readFile('./addons/photoswipe/PhotoSwipe/pswp.html'); Context::addHtmlFooter($footer); } /* End of file photoswipe.addon.php */ /* Location: ./addons/photoswipe/photoswipe.addon.php */