"fixing" hidden stat panel notice

This commit is contained in:
real_nowhereman 2009-07-26 09:11:15 +00:00
parent eccfec41ee
commit d99a4e4f43
2 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,12 @@
return array(number_format((int)$num), $i); return array(number_format((int)$num), $i);
} }
function setup() {
global $lang;
$lang['admin']['entry']['stats'] = array();
$this->smarty->assign('warnings', '[Dev Notice] Panel lang strings are currently hardcoded.');
}
function main() { function main() {

View File

@ -1,5 +1,7 @@
<h2>{"Statistics"}</h2> <h2>{"Statistics"}</h2>
{include file='shared:errorlist.tpl'}
<h3>{"Entries"}</h3> <h3>{"Entries"}</h3>
{"<p>You have <strong>%s</strong> {"<p>You have <strong>%s</strong>
entries using <strong>%s</strong> characters entries using <strong>%s</strong> characters