Commit d5a4741d by pupi1985

Replaced all number_format in admin/admin-default.php

parent 9baeef7e
...@@ -1527,6 +1527,8 @@ ...@@ -1527,6 +1527,8 @@
switch ($adminsection) { switch ($adminsection) {
case 'users': case 'users':
require_once QA_INCLUDE_DIR . 'app/format.php';
if (!QA_FINAL_EXTERNAL_USERS) { if (!QA_FINAL_EXTERNAL_USERS) {
$userfields = qa_db_single_select(qa_db_userfields_selectspec()); $userfields = qa_db_single_select(qa_db_userfields_selectspec());
...@@ -1564,7 +1566,7 @@ ...@@ -1564,7 +1566,7 @@
foreach ($pointstitle as $points => $title) { foreach ($pointstitle as $points => $title) {
$listhtml .= '<li><b>'.$title.'</b> - '.(($points == 1) ? qa_lang_html_sub('main/1_point', '1', '1') $listhtml .= '<li><b>'.$title.'</b> - '.(($points == 1) ? qa_lang_html_sub('main/1_point', '1', '1')
: qa_lang_html_sub('main/x_points', qa_html(number_format($points)))); : qa_lang_html_sub('main/x_points', qa_html(qa_format_number($points))));
$listhtml .= strtr(qa_lang_html('admin/edit_title'), array( $listhtml .= strtr(qa_lang_html('admin/edit_title'), array(
'^1' => '<a href="'.qa_path_html('admin/usertitles', array('edit' => $points)).'">', '^1' => '<a href="'.qa_path_html('admin/usertitles', array('edit' => $points)).'">',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment