Skip to content

Commit

Permalink
feat: add ia link
Browse files Browse the repository at this point in the history
  • Loading branch information
Satoru committed Sep 22, 2022
1 parent 50a52ea commit c949a65
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/theme.ini
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 0 additions & 2 deletions misc/msgfmt.sh

This file was deleted.

15 changes: 13 additions & 2 deletions view/common/helper/iiif-viewers.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -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);

?>
<div>
Expand Down Expand Up @@ -71,10 +75,17 @@ $tifyAttr = getIconAttr($this, $tifyIconId, $iconAttr);
href="<?php echo $config["setting"]["iiifviewers_curation_viewer"].$manifest; ?>"
title="IIIF Curation Viewer" target="_blank"><img style="height: 24px" <?php echo $curationViewerAttr; ?> /></a>
<?php endif; ?>
<!--
<?php if ($config["setting"]["iiifviewers_tify"]): ?>
<a style="margin-left : 10px;"
href="<?php echo $config["setting"]["iiifviewers_tify"].$manifest; ?>"
title="TIFY" target="_blank"><img style="height: 24px" <?php echo $tifyAttr; ?> /></a>
<?php endif; ?>
-->
<?php if ($config["setting"]["iiifviewers_ia"]): ?>
<a style="margin-left : 10px;"
href="<?php echo $config["setting"]["iiifviewers_ia"].$manifest; ?>"
title="Image Annotator" target="_blank"><img style="height: 24px" <?php echo $iaAttr; ?> /></a>
<?php endif; ?>
</div>
</div>

0 comments on commit c949a65

Please sign in to comment.