diff --git a/addons/photoswipe/conf/info.xml b/addons/photoswipe/conf/info.xml index c48bf732f..23f71c504 100644 --- a/addons/photoswipe/conf/info.xml +++ b/addons/photoswipe/conf/info.xml @@ -20,4 +20,16 @@ Rhymix contributors Rhymix contributors - \ No newline at end of file + + + 파일이름 출력 설정 + 넘겨보기 실행시 하단에 파일이름을 출력할 것인지 여부를 선택합니다. + + 사용 안함 + + + 사용 + + + + diff --git a/addons/photoswipe/photoswipe.addon.php b/addons/photoswipe/photoswipe.addon.php index 4a1afbf86..fcacfbcc6 100644 --- a/addons/photoswipe/photoswipe.addon.php +++ b/addons/photoswipe/photoswipe.addon.php @@ -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 = ""; + } + else + { + $style_display = ''; + } + + Context::addHtmlFooter($style_display . $footer); } /* End of file photoswipe.addon.php */