SMF Development > Fixed or Bogus Bugs
Period Instead of Comma
(1/1)
The Craw:
Not really a bug but the periods here should probably be replaced with commas to be consistent with SMF's regular concatenation standards.
~/Themes/default/Display.template.php
Lines: 741 through 748
--- Code: ---<?php
if ($context['show_spellchecking'])
echo '
<form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>
<script type="text/javascript" src="' . $settings['default_theme_url'] . '/scripts/spellcheck.js"></script>';
echo '
<script type="text/javascript" src="' . $settings['default_theme_url'] . '/scripts/topic.js"></script>
<script type="text/javascript"><!-- // --><![CDATA[';
?>
--- End code ---
emanuele:
Hello The Craw,
thanks for the report.
Yep, for the sake of consistency they should be commas.
emanuele:
commit 94a5f9d2a3f939899b26d6ff2ff3f1f0a20259da
Author: emanuele
Date: Fri Aug 17
A couple of dots changed to comma in output the template - Thanks The Craw for the report [Topic 464903]
Navigation
[0] Message Index
Go to full version