| Index: mobile/android/chrome/content/aboutAdblockBrowser.xhtml |
| diff --git a/mobile/android/chrome/content/about.xhtml b/mobile/android/chrome/content/aboutAdblockBrowser.xhtml |
| similarity index 83% |
| copy from mobile/android/chrome/content/about.xhtml |
| copy to mobile/android/chrome/content/aboutAdblockBrowser.xhtml |
| index 89975eb9c7dd4ea5091379a136b3e2456b7ed1ad..d55b633f960def57e0c036332c3e3551976744b5 100644 |
| --- a/mobile/android/chrome/content/about.xhtml |
| +++ b/mobile/android/chrome/content/aboutAdblockBrowser.xhtml |
| @@ -17,18 +17,17 @@ |
| <head> |
| <meta name="viewport" content="width=480; initial-scale=.6667; user-scalable=no"/> |
| <title>&aboutPage.title;</title> |
| - <link rel="stylesheet" href="chrome://browser/skin/aboutPage.css" type="text/css"/> |
| + <link rel="stylesheet" href="chrome://browser/skin/aboutPageAdblockBrowser.css" type="text/css"/> |
| <link rel="icon" type="image/png" sizes="64x64" href="chrome://branding/content/favicon64.png" /> |
| </head> |
| <body dir="&locale.dir;"> |
| - <div id="header"> |
| - <div id="wordmark"></div> |
| + <div id="banner"> |
| + <div id="header"> |
| + <p id="wordmark">Adblock <b>Browser</b></p> |
| #expand <p id="version">__MOZ_APP_VERSION__</p> |
| - </div> |
| + </div> |
| - <div id="banner"> |
| - <div id="logo"/> |
| #ifdef MOZ_UPDATER |
| <div id="updateBox"> |
| <a id="updateLink" href="" onclick="checkForUpdates();">&aboutPage.checkForUpdates.link;</a> |
| @@ -55,12 +54,9 @@ |
| <ul id="aboutLinks"> |
| <div class="top-border"></div> |
| - <li><a id="faqURL">&aboutPage.faq.label;</a></li> |
| - <li><a id="supportURL">&aboutPage.support.label;</a></li> |
| - <li><a id="privacyURL">&aboutPage.privacyPolicy.label;</a></li> |
| - <li><a href="about:rights">&aboutPage.rights.label;</a></li> |
| - <li><a id="releaseNotesURL">&aboutPage.relNotes.label;</a></li> |
| - <li><a id="creditsURL">&aboutPage.credits.label;</a></li> |
| + <li><a href="https://adblockplus.org/en/faq">&aboutPage.faq.label;</a></li> |
| + <li><a href="https://adblockplus.org/en/privacy-policy">&aboutPage.privacyPolicy.label;</a></li> |
| + <li><a href="https://adblockplus.org/en/contributors">&aboutPage.credits.label;</a></li> |
| <li><a href="about:license">&aboutPage.license.label;</a></li> |
| <div class="bottom-border"></div> |
| </ul> |
| @@ -106,25 +102,6 @@ |
| // Pref is unset |
| } |
| - // get URLs from prefs |
| - try { |
| - let formatter = Cc["@mozilla.org/toolkit/URLFormatterService;1"].getService(Ci.nsIURLFormatter); |
| - |
| - let links = [ |
| - {id: "releaseNotesURL", pref: "app.releaseNotesURL"}, |
| - {id: "supportURL", pref: "app.support.baseURL"}, |
| - {id: "faqURL", pref: "app.faqURL"}, |
| - {id: "privacyURL", pref: "app.privacyURL"}, |
| - {id: "creditsURL", pref: "app.creditsURL"}, |
| - ]; |
| - |
| - links.forEach(function (link) { |
| - let url = formatter.formatURLPref(link.pref); |
| - let element = document.getElementById(link.id); |
| - element.setAttribute("href", url); |
| - }); |
| - } catch (ex) {} |
| - |
| #ifdef MOZ_UPDATER |
| let Updater = { |
| update: null, |