makes the site title a link to the site
This commit is contained in:
parent
25e93709d1
commit
5359f3a74c
|
@ -60,7 +60,7 @@ endif;
|
||||||
<a id="skipnav" href="#content"><?php echo $this->translate('Skip to main content'); ?></a>
|
<a id="skipnav" href="#content"><?php echo $this->translate('Skip to main content'); ?></a>
|
||||||
<?php echo $userBar; ?>
|
<?php echo $userBar; ?>
|
||||||
|
|
||||||
<a href="http://arc-hive.zone">
|
<a href="/">
|
||||||
<img class="archive-logo"
|
<img class="archive-logo"
|
||||||
src="<?= $this->assetUrl("img/arc-hive-logo.jpg") ?>"
|
src="<?= $this->assetUrl("img/arc-hive-logo.jpg") ?>"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -29,7 +29,14 @@ if ($img_src) {
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$("#archive_page_title").html('<?= $site->title(); ?>');
|
<?php
|
||||||
|
if ($this->site->title() != "Collections") {
|
||||||
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||||
|
} else {
|
||||||
|
$_html = $this->site->title();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,11 +24,20 @@ if ($img_src) {
|
||||||
</style>
|
</style>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$("#archive_page_title").html('<?= $site->title(); ?>');
|
<?php
|
||||||
|
if ($this->site->title() != "Collections") {
|
||||||
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||||
|
} else {
|
||||||
|
$_html = $this->site->title();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="resource-title">
|
<div class="resource-title">
|
||||||
<?php echo $this->pageTitle($media->displayTitle(), 2); ?>
|
<?php echo $this->pageTitle($media->displayTitle(), 2); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -25,8 +25,6 @@ if ($img_src) {
|
||||||
</style>
|
</style>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<?= $this->site->title() ?>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
<?php
|
<?php
|
||||||
if ($this->site->title() != "Collections") {
|
if ($this->site->title() != "Collections") {
|
||||||
|
|
Loading…
Reference in New Issue