#1107 넘겨보는 사진옵션에서 하단 내용 표시에 대한 출력 옵션 추가

This commit is contained in:
BJRambo 2019-01-01 18:34:54 +09:00
parent 7e80ab2c62
commit c123a6d78c
2 changed files with 23 additions and 2 deletions

View file

@ -21,7 +21,16 @@ if($called_position == 'after_module_proc' && Context::getResponseMethod() == "H
Context::loadFile(array('./addons/photoswipe/rx_photoswipe.js', 'body', '', null), true);
$footer = FileHandler::readFile('./addons/photoswipe/PhotoSwipe/pswp.html');
Context::addHtmlFooter($footer);
if(isset($addon_info->display_name))
{
$style_display = "<style>.pswp__caption__center { display:{$addon_info->display_name} }</style>";
}
else
{
$style_display = '<style>.pswp__caption__center { display:block }</style>';
}
Context::addHtmlFooter($style_display . $footer);
}
/* End of file photoswipe.addon.php */