Second half of charset implementation, add to db schema, make viewable in report and query.
git-svn-id: svn://10.0.0.236/trunk@215808 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d71527abf0
commit
414abeb46c
@ -128,6 +128,7 @@ $config['fields']['report_buildconfig'] = 'Build Config';
|
||||
$config['fields']['report_platform'] = 'Platform';
|
||||
$config['fields']['report_oscpu'] = 'OSCPU';
|
||||
$config['fields']['report_language'] = 'Language';
|
||||
$config['fields']['report_charset'] = 'Charset';
|
||||
$config['fields']['report_file_date'] = 'File Date';
|
||||
$config['fields']['report_email'] = 'Email';
|
||||
$config['fields']['report_ip'] = 'IP';
|
||||
|
||||
@ -109,6 +109,7 @@ $content->assign('report_buildconfig', $reportQuery->fields['report_buildcon
|
||||
$content->assign('report_platform', $reportQuery->fields['report_platform']);
|
||||
$content->assign('report_oscpu', $reportQuery->fields['report_oscpu']);
|
||||
$content->assign('report_language', $reportQuery->fields['report_language']);
|
||||
$content->assign('report_charset', $reportQuery->fields['report_charset']);
|
||||
$content->assign('report_file_date', $reportQuery->fields['report_file_date']);
|
||||
$content->assign('report_email', $reportQuery->fields['report_email']);
|
||||
$content->assign('report_ip', $reportQuery->fields['report_ip']);
|
||||
|
||||
@ -18,6 +18,7 @@ class query
|
||||
'report_id',
|
||||
'report_buildconfig',
|
||||
'report_description',
|
||||
'report_charset',
|
||||
/* 'report_email',
|
||||
'report_ip',
|
||||
*/ 'report_host_id',
|
||||
@ -38,7 +39,8 @@ class query
|
||||
'report_gecko',
|
||||
'report_buildconfig',
|
||||
'report_product',
|
||||
'report_file_date'
|
||||
'report_file_date',
|
||||
'report_charset'
|
||||
);
|
||||
|
||||
var $orderbyChecked = false; // If we are ordering, used by continuity params
|
||||
@ -283,7 +285,7 @@ class query
|
||||
$sql_where = 'WHERE ';
|
||||
|
||||
$host_join_str = 'host.host_id = report_host_id AND '; // this is a var to help them remain consistant for when it's deleted
|
||||
|
||||
|
||||
$sql_where .= $host_join_str;
|
||||
|
||||
foreach($this->where as $where_child){
|
||||
|
||||
@ -45,6 +45,7 @@ CREATE TABLE "report" (
|
||||
"report_problem_type" varchar(5) collate utf8_unicode_ci NOT NULL default '0',
|
||||
"report_description" text collate utf8_unicode_ci NOT NULL,
|
||||
"report_behind_login" int(11) NOT NULL default '0',
|
||||
"report_charset" varchar(25) collate utf8_unicode_ci NOT NULL default '',
|
||||
"report_useragent" varchar(255) collate utf8_unicode_ci NOT NULL default '',
|
||||
"report_platform" varchar(20) collate utf8_unicode_ci NOT NULL default '',
|
||||
"report_oscpu" varchar(100) collate utf8_unicode_ci NOT NULL default '',
|
||||
|
||||
@ -77,6 +77,10 @@ function show(aItem){
|
||||
<div class="title">Language:</div>
|
||||
<div class="data">{$report_language}</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="title">Character Set:</div>
|
||||
<div class="data">{$report_charset} </div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="title">User Agent:</div>
|
||||
<div class="data">{$report_useragent}</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user