Compare commits
No commits in common. "5359f3a74c800f6b7f874ac1b9e0a78f80be31e3" and "e84517776dee0682163ada1ffaa755c35f6a48ca" have entirely different histories.
5359f3a74c
...
e84517776d
|
@ -20,13 +20,6 @@ $layoutAttributes = [
|
||||||
<?php $hasChildren = $page->hasPages() ?>
|
<?php $hasChildren = $page->hasPages() ?>
|
||||||
<?php $showChildren = $this->themeSetting('nav_show_levels'); ?>
|
<?php $showChildren = $this->themeSetting('nav_show_levels'); ?>
|
||||||
<?php if (!$hasChildren || ($showChildren == 0)): ?>
|
<?php if (!$hasChildren || ($showChildren == 0)): ?>
|
||||||
<?php
|
|
||||||
$substring = "collections";
|
|
||||||
$length = strlen($substring);
|
|
||||||
if ( substr_compare($page->getHref(), $substring, -$length) === 0 ) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<li<?php if ($page->isActive()) echo ' class="active"' ?>>
|
<li<?php if ($page->isActive()) echo ' class="active"' ?>>
|
||||||
<a
|
<a
|
||||||
class="nav-header"
|
class="nav-header"
|
||||||
|
|
|
@ -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="/">
|
<a href="http://arc-hive.zone">
|
||||||
<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,14 +29,7 @@ if ($img_src) {
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
<?php
|
$("#archive_page_title").html('<?= $site->title(); ?>');
|
||||||
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,20 +24,11 @@ if ($img_src) {
|
||||||
</style>
|
</style>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
<?php
|
$("#archive_page_title").html('<?= $site->title(); ?>');
|
||||||
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>
|
||||||
|
|
|
@ -8,6 +8,7 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
|
||||||
<?php
|
<?php
|
||||||
// set header images
|
// set header images
|
||||||
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
|
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
|
||||||
|
|
||||||
if ($img_src) {
|
if ($img_src) {
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
|
@ -26,14 +27,7 @@ if ($img_src) {
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
<?php
|
$("#archive_page_title").html('<?= $site->title(); ?>');
|
||||||
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>
|
||||||
|
|
||||||
<?php /*
|
<?php /*
|
||||||
|
|
Loading…
Reference in New Issue