From c123a6d78c079297e266d1067abbd37b243c2dd7 Mon Sep 17 00:00:00 2001 From: BJRambo Date: Tue, 1 Jan 2019 18:34:54 +0900 Subject: [PATCH] =?UTF-8?q?#1107=20=EB=84=98=EA=B2=A8=EB=B3=B4=EB=8A=94=20?= =?UTF-8?q?=EC=82=AC=EC=A7=84=EC=98=B5=EC=85=98=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=ED=95=98=EB=8B=A8=20=EB=82=B4=EC=9A=A9=20=ED=91=9C=EC=8B=9C?= =?UTF-8?q?=EC=97=90=20=EB=8C=80=ED=95=9C=20=EC=B6=9C=EB=A0=A5=20=EC=98=B5?= =?UTF-8?q?=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/photoswipe/conf/info.xml | 14 +++++++++++++- addons/photoswipe/photoswipe.addon.php | 11 ++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) 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 */