MyBB Community Forums

Full Version: Drop colons from stats.lang.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to suggest to remove the colons from the language definition and rather include it directly in the stats template. This will help people styling the stats page.

eg. $l['posts'] = "Posts:";  -> $l['posts'] = "Posts";

As you can see below the colons are not wanted.

[Image: untitled.png]
You can easily edit lang files in ACP
IMO language files are much easier for the layman to edit than an HTML template with embedded PHP in it. Much simpler to change the $l['posts'] value to reflect what you want than it is to find where to add/remove code in the template file itself. Particularly when you're trying to explain to someone how to change it, as there's no issues with line numbers not matching or formatting breaking from improperly placed characters.