Bug 1430861 - Port bug 1418131 to TB: Add security software section to about:support. r=jorgk
This commit is contained in:
Родитель
32aa0ac875
Коммит
8e11fbbd2a
|
@ -235,6 +235,18 @@ var snapshotFormatters = {
|
||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
securitySoftware: function securitySoftware(data) {
|
||||||
|
if (!AppConstants.isPlatformAndVersionAtLeast("win", "6.2")) {
|
||||||
|
$("security-software-title").hidden = true;
|
||||||
|
$("security-software-table").hidden = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$("security-software-antivirus").textContent = data.registeredAntiVirus;
|
||||||
|
$("security-software-antispyware").textContent = data.registeredAntiSpyware;
|
||||||
|
$("security-software-firewall").textContent = data.registeredFirewall;
|
||||||
|
},
|
||||||
|
|
||||||
/* Not used by TB
|
/* Not used by TB
|
||||||
features: function features(data) {
|
features: function features(data) {
|
||||||
$.append($("features-tbody"), data.map(function(feature) {
|
$.append($("features-tbody"), data.map(function(feature) {
|
||||||
|
|
|
@ -464,6 +464,53 @@
|
||||||
|
|
||||||
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
|
||||||
|
<h2 class="major-section" id="security-software-title">
|
||||||
|
&aboutSupport.securitySoftwareTitle;
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<table id="security-software-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
&aboutSupport.securitySoftwareType;
|
||||||
|
</th>
|
||||||
|
<th>
|
||||||
|
&aboutSupport.securitySoftwareName;
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th class="column">
|
||||||
|
&aboutSupport.securitySoftwareAntivirus;
|
||||||
|
</th>
|
||||||
|
|
||||||
|
<td id="security-software-antivirus">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<th class="column">
|
||||||
|
&aboutSupport.securitySoftwareAntiSpyware;
|
||||||
|
</th>
|
||||||
|
|
||||||
|
<td id="security-software-antispyware">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<th class="column">
|
||||||
|
&aboutSupport.securitySoftwareFirewall;
|
||||||
|
</th>
|
||||||
|
|
||||||
|
<td id="security-software-firewall">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||||
|
|
||||||
<h2 class="major-section">
|
<h2 class="major-section">
|
||||||
&aboutSupport.graphicsTitle;
|
&aboutSupport.graphicsTitle;
|
||||||
</h2>
|
</h2>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче