Bug 366814 - "Link in about: should be urlformatted localized pref" [p=Aqualon r=bsmedberg]

This commit is contained in:
reed@reedloden.com 2007-08-13 23:13:04 -07:00
Родитель a318ab04a7
Коммит d423bfdb56
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -60,7 +60,7 @@
<body dir="&locale.dir;">
<div id="aboutPageContainer">
<div id="aboutLogoContainer">
<a href="http://www.mozilla.org/">
<a id="vendorURL" href="http://www.mozilla.org/">
<img src="about:logo" alt="&brandShortName;"/>
#expand <p id="version">&about.version; __MOZ_APP_VERSION__</p>
</a>
@ -79,8 +79,12 @@
var releaseNotesURL = formatter.formatURLPref("app.releaseNotesURL");
var relnotes = document.getElementById("releaseNotesURL");
relnotes.setAttribute("href", releaseNotesURL);
var vendorURL = formatter.formatURLPref("app.vendorURL");
var vendor = document.getElementById("vendorURL");
vendor.setAttribute("href", vendorURL);
}
catch (ex) { /* no release notes URL for you without bug 349985 being fixed */ }
catch (ex) { /* no release notes and vendor URL for you without bug 349985 being fixed */ }
var ua = navigator.userAgent;
if (ua) {