|
@@ -410,7 +410,8 @@ function template_topic_legend()
|
|
<img src="' . $settings['images_url'] . '/icons/quick_sticky.png" alt="" class="centericon" /> ' . $txt['sticky_topic'] . '<br />
|
|
<img src="' . $settings['images_url'] . '/icons/quick_sticky.png" alt="" class="centericon" /> ' . $txt['sticky_topic'] . '<br />
|
|
</p>';
|
|
</p>';
|
|
|
|
|
|
- echo '
|
|
|
|
|
|
+ if (!empty($context['jump_to']))
|
|
|
|
+ echo '
|
|
<script type="text/javascript"><!-- // --><![CDATA[
|
|
<script type="text/javascript"><!-- // --><![CDATA[
|
|
if (typeof(window.XMLHttpRequest) != "undefined")
|
|
if (typeof(window.XMLHttpRequest) != "undefined")
|
|
aJumpTo[aJumpTo.length] = new JumpTo({
|
|
aJumpTo[aJumpTo.length] = new JumpTo({
|
|
@@ -425,7 +426,9 @@ function template_topic_legend()
|
|
sCatPrefix: "",
|
|
sCatPrefix: "",
|
|
sGoButtonLabel: "', $txt['quick_mod_go'], '"
|
|
sGoButtonLabel: "', $txt['quick_mod_go'], '"
|
|
});
|
|
});
|
|
- // ]]></script>
|
|
|
|
|
|
+ // ]]></script>';
|
|
|
|
+
|
|
|
|
+ echo '
|
|
<br class="clear" />
|
|
<br class="clear" />
|
|
</div>
|
|
</div>
|
|
</div>';
|
|
</div>';
|