summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/aboutRights.xhtml33
-rw-r--r--makeicecat3
2 files changed, 36 insertions, 0 deletions
diff --git a/data/aboutRights.xhtml b/data/aboutRights.xhtml
new file mode 100644
index 0000000..5435a11
--- /dev/null
+++ b/data/aboutRights.xhtml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html [
+ <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
+ %htmlDTD;
+ <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
+ %brandDTD;
+ <!ENTITY % aboutRightsDTD SYSTEM "chrome://global/locale/aboutRights.dtd">
+ %aboutRightsDTD;
+]>
+
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+ <title>&rights.pagetitle;</title>
+ <link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css"/>
+</head>
+
+<body id="your-rights" dir="&rights.locale-direction;" class="aboutPageWideContainer">
+
+<h1>&rights.intro-header;</h1>
+
+<p>&rights.intro;</p>
+
+<ul>
+ <li>&rights.intro-point1a;<a href="http://www.mozilla.org/MPL/">&rights.intro-point1b;</a>&rights.intro-point1c;</li>
+</ul>
+
+</body>
+</html>
diff --git a/makeicecat b/makeicecat
index d996c00..8d9032d 100644
--- a/makeicecat
+++ b/makeicecat
@@ -292,6 +292,9 @@ do
find -name aboutRights.dtd | xargs sed -i "s/ENTITY $STRING.*/ENTITY $STRING \"\">/"
done
+cp $DATA/aboutRights.xhtml toolkit/content/aboutRights.xhtml
+cp $DATA/aboutRights.xhtml toolkit/content/aboutRights-unbranded.xhtml
+
sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ href\=\"http\:\/\/www.gnu.org\/\"\>GNU\ Project<\/a>/g' browser/base/content/overrides/app-license.html
###############################################################################