aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'TyrianTemplate.php')
-rw-r--r--TyrianTemplate.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/TyrianTemplate.php b/TyrianTemplate.php
index c515853..b20141b 100644
--- a/TyrianTemplate.php
+++ b/TyrianTemplate.php
@@ -282,7 +282,7 @@ class TyrianTemplate extends BaseTemplate {
<ul class="nav navbar-nav">
<?php
foreach ( $context_actions as $key => $tab ) {
- echo $this->makeListItem( $key, $tab );
+ echo $this->getSkin()->makeListItem( $key, $tab );
}
?>
</ul>
@@ -292,14 +292,14 @@ class TyrianTemplate extends BaseTemplate {
<ul class="nav navbar-nav navbar-right hidden-xs">
<?php
foreach ( $primary_actions as $key => $tab ) {
- echo $this->makeListItem( $key, $tab );
+ echo $this->getSkin()->makeListItem( $key, $tab );
}
?><li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">more <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<?php
foreach ( $secondary_actions as $key => $tab ) {
- echo $this->makeListItem( $key, $tab );
+ echo $this->getSkin()->makeListItem( $key, $tab );
}
?>
</ul>
@@ -328,7 +328,7 @@ class TyrianTemplate extends BaseTemplate {
$toolbox = array_merge( $toolbox, $this->data['sidebar']['TOOLBOX'] ?? [] );
}
foreach ( $toolbox as $key => $tbitem) {
- echo $this->makeListItem( $key, $tbitem );
+ echo $this->getSkin()->makeListItem( $key, $tbitem );
}
?>
</ul>
@@ -362,7 +362,7 @@ class TyrianTemplate extends BaseTemplate {
} else if ($key === 'notifications-notice') {
$notifications_notice_tool = $item;
} else {
- echo $this->makeListItem( $key, $item );
+ echo $this->getSkin()->makeListItem( $key, $item );
}
}
?>
@@ -371,15 +371,15 @@ class TyrianTemplate extends BaseTemplate {
<?php
if (isset($notifications_message_tool)) {
- echo $this->makeListItem('notifications-message', $notifications_message_tool);
+ echo $this->getSkin()->makeListItem('notifications-message', $notifications_message_tool);
}
if (isset($notifications_notice_tool)) {
- echo $this->makeListItem('notifications-notice', $notifications_notice_tool);
+ echo $this->getSkin()->makeListItem('notifications-notice', $notifications_notice_tool);
}
if (isset($notifications_alert_tool)) {
- echo $this->makeListItem('notifications-alert', $notifications_alert_tool);
+ echo $this->getSkin()->makeListItem('notifications-alert', $notifications_alert_tool);
}
}
@@ -393,7 +393,7 @@ class TyrianTemplate extends BaseTemplate {
<div class="pBody">
<ul>
<?php foreach ( $this->data['language_urls'] as $key => $langlink ) {
- echo $this->makeListItem( $key, $langlink );
+ echo $this->getSkin()->makeListItem( $key, $langlink );
}
?>
</ul>
@@ -433,7 +433,7 @@ EOT;
} elseif ( substr( $val['text'], 0, 7 ) === 'header:' ) {
echo '<li role="presentation" class="dropdown-header">' . htmlspecialchars( substr( $val['text'], 7 ) ) . '</li>';
} else {
- echo $this->makeListItem( $key, $val );
+ echo $this->getSkin()->makeListItem( $key, $val );
}
}
} else {