Skip to content
Snippets Groups Projects
Unverified Commit eff0bca1 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #5121 from JediKev/i18n/kb-category-and-js

i18n: KnowledgeBase Category and JS
parents 618c2e15 bce8296e
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
</div>
<?php
if (($lang = Internationalization::getCurrentLanguage()) && $lang != 'en_US') { ?>
<script type="text/javascript" src="ajax.php/i18n/<?php
<script type="text/javascript" src="<?php echo ROOT_PATH; ?>ajax.php/i18n/<?php
echo $lang; ?>/js"></script>
<?php } ?>
<script type="text/javascript">
......
......@@ -41,7 +41,7 @@
<li><i></i>
<div style="margin-left:45px">
<h4><?php echo sprintf('<a href="faq.php?cid=%d">%s %s</a>',
$C->getId(), Format::htmlchars($C->getFullName()),
$C->getId(), Format::htmlchars($C->getLocalName()),
$count ? "({$count})": ''
); ?></h4>
<div class="faded" style="margin:10px 0">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment