From c949a65aaba4725b0aa913948d4c4bfd370d02e6 Mon Sep 17 00:00:00 2001 From: Satoru Date: Thu, 22 Sep 2022 20:19:56 +0900 Subject: [PATCH] feat: add ia link --- config/theme.ini | 2 +- misc/msgfmt.sh | 2 -- view/common/helper/iiif-viewers.phtml | 15 +++++++++++++-- 3 files changed, 14 insertions(+), 5 deletions(-) delete mode 100644 misc/msgfmt.sh diff --git a/config/theme.ini b/config/theme.ini index d357cbd..69f7b2d 100644 --- a/config/theme.ini +++ b/config/theme.ini @@ -1,6 +1,6 @@ [info] name = "Bootstrap 5" -version = "1.0.0" +version = "1.0.1" author = "Satoru Nakamura" description = "Omeka S theme based on bootstrap 5 - https://getbootstrap.com/" theme_link = "https://github.com/ldasjp8/Omeka-S-theme-Bootstrap5" diff --git a/misc/msgfmt.sh b/misc/msgfmt.sh deleted file mode 100644 index ee4edf2..0000000 --- a/misc/msgfmt.sh +++ /dev/null @@ -1,2 +0,0 @@ -cd ../language -msgfmt ja.po -o ja.mo diff --git a/view/common/helper/iiif-viewers.phtml b/view/common/helper/iiif-viewers.phtml index 1e1623d..c3c5472 100755 --- a/view/common/helper/iiif-viewers.phtml +++ b/view/common/helper/iiif-viewers.phtml @@ -39,9 +39,13 @@ $curationViewerIconId = $config["setting"]['iiifviewers_curation_viewer_icon']; // src属性取得 $curationViewerAttr = getIconAttr($this, $curationViewerIconId, $iconAttr); // Tifyアイコン -$tifyIconId = $config["setting"]['iiifviewers_tify_icon']; +// $tifyIconId = $config["setting"]['iiifviewers_tify_icon']; // src属性取得 -$tifyAttr = getIconAttr($this, $tifyIconId, $iconAttr); +// $tifyAttr = getIconAttr($this, $tifyIconId, $iconAttr); +// IAアイコン +$iaIconId = $config["setting"]['iiifviewers_ia_icon']; +// src属性取得 +$iaAttr = getIconAttr($this, $iaIconId, $iconAttr); ?>
@@ -71,10 +75,17 @@ $tifyAttr = getIconAttr($this, $tifyIconId, $iconAttr); href="" title="IIIF Curation Viewer" target="_blank"> /> + + + " + title="Image Annotator" target="_blank"> /> +
\ No newline at end of file