Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Farning <dfarning@gmail.com>2009-02-20 23:36:57 (GMT)
committer David Farning <dfarning@gmail.com>2009-02-20 23:48:50 (GMT)
commit3434f32b9580fe37a1839bf2ddb91bd056ad6417 (patch)
tree9bfbd4f4d98934de26378656fd18f106f950c7de
parentfbdffbf6c82dd7859b39373880cb424ea4335951 (diff)
Replace hardcoded a.m.o with SITE_URL This patch replaces the string http://addons.mozilla.org with the existing SITE_URL in all .thtml files
-rw-r--r--site/app/views/editors/email/nominated/public_plain.thtml4
-rw-r--r--site/app/views/editors/email/nominated/sandbox_plain.thtml2
-rw-r--r--site/app/views/editors/email/pending/public_plain.thtml2
-rw-r--r--site/app/views/editors/email/pending/sandbox_plain.thtml2
-rw-r--r--site/app/views/editors/email/superreview_plain.thtml4
-rw-r--r--site/app/views/facebook/faq.thtml4
-rw-r--r--site/app/views/facebook/import.thtml2
-rw-r--r--site/app/views/facebook/install.thtml2
-rw-r--r--site/app/views/facebook/outage.thtml2
9 files changed, 12 insertions, 12 deletions
diff --git a/site/app/views/editors/email/nominated/public_plain.thtml b/site/app/views/editors/email/nominated/public_plain.thtml
index ed804e5..86072da 100644
--- a/site/app/views/editors/email/nominated/public_plain.thtml
+++ b/site/app/views/editors/email/nominated/public_plain.thtml
@@ -2,7 +2,7 @@ Congratulations! Your nominated add-on, <?=$info['name']?>, has been reviewed by
Your most recent version (<?=$info['version']?>) has also been made public.
-You can view your public add-on now at: http://addons.mozilla.org/addon/<?=$info['id']?>
+You can view your public add-on now at: <?=SITE_URL?>/addon/<?=$info['id']?>
Review Information:
@@ -14,4 +14,4 @@ Comments: <?=nl2br($info['comments'])?>
If you have questions about this review, please e-mail amo-editors@mozilla.org or join #addons on irc.mozilla.org.
<?=SITE_NAME?>
-http://addons.mozilla.org
+<?=SITE_URL?>
diff --git a/site/app/views/editors/email/nominated/sandbox_plain.thtml b/site/app/views/editors/email/nominated/sandbox_plain.thtml
index 044210b..fe86809 100644
--- a/site/app/views/editors/email/nominated/sandbox_plain.thtml
+++ b/site/app/views/editors/email/nominated/sandbox_plain.thtml
@@ -9,4 +9,4 @@ Comments: <?=nl2br($info['comments'])?>
If you have questions about this review, please e-mail amo-editors@mozilla.org or join #addons on irc.mozilla.org.
<?=SITE_NAME?>
-http://addons.mozilla.org
+<?=SITE_URL?>
diff --git a/site/app/views/editors/email/pending/public_plain.thtml b/site/app/views/editors/email/pending/public_plain.thtml
index e5b5267..19b5157 100644
--- a/site/app/views/editors/email/pending/public_plain.thtml
+++ b/site/app/views/editors/email/pending/public_plain.thtml
@@ -17,4 +17,4 @@ Comments: <?=nl2br($info['comments'])?>
If you have questions about this review, please e-mail amo-editors@mozilla.org or join #addons on irc.mozilla.org.
<?=SITE_NAME?>
-http://addons.mozilla.org
+<?=SITE_URL?>
diff --git a/site/app/views/editors/email/pending/sandbox_plain.thtml b/site/app/views/editors/email/pending/sandbox_plain.thtml
index 2214173..8a08d33 100644
--- a/site/app/views/editors/email/pending/sandbox_plain.thtml
+++ b/site/app/views/editors/email/pending/sandbox_plain.thtml
@@ -12,4 +12,4 @@ Comments: <?=nl2br($info['comments'])?>
If you have questions about this review, please e-mail amo-editors@mozilla.org or join #addons on irc.mozilla.org.
<?=SITE_NAME?>
-http://addons.mozilla.org
+<?=SITE_URL?>
diff --git a/site/app/views/editors/email/superreview_plain.thtml b/site/app/views/editors/email/superreview_plain.thtml
index 227adca..6a5ac65 100644
--- a/site/app/views/editors/email/superreview_plain.thtml
+++ b/site/app/views/editors/email/superreview_plain.thtml
@@ -4,7 +4,7 @@ An editor has requested super-review of the following add-on due to security, co
Please open your plethora of knowledge and wield your mighty administrative sword of decision making in the general vicinity of:
-<?=$info['name']?> - http://addons.mozilla.org/addon/<?=$info['id']?>
+<?=$info['name']?> - <?=SITE_URL?>/addon/<?=$info['id']?>
Review Information:
@@ -16,4 +16,4 @@ Comments: <?=nl2br($info['comments'])?>
Love,
<?=SITE_NAME?>
-http://addons.mozilla.org
+<?=SITE_URL?>
diff --git a/site/app/views/facebook/faq.thtml b/site/app/views/facebook/faq.thtml
index 80b7157..55b1cad 100644
--- a/site/app/views/facebook/faq.thtml
+++ b/site/app/views/facebook/faq.thtml
@@ -110,8 +110,8 @@
<div class="entry">
<div class="question">Where can I find more information about Firefox extensions and themes?</div>
- <div class="answer">You can submit and learn more about creating add-ons for Firefox at <a href="http://addons.mozilla.org">Mozilla Add-ons</a>.
- Submitting your add-on in the <a href="http://addons.mozilla.org/developers">Developer Control Panel</a> there will enable it to be listed in Rock Your Firefox.</div>
+ <div class="answer">You can submit and learn more about creating add-ons for Firefox at <a href="<?=SITE_URL?>">Mozilla Add-ons</a>.
+ Submitting your add-on in the <a href="<?=SITE_URL?>/developers">Developer Control Panel</a> there will enable it to be listed in Rock Your Firefox.</div>
</div>
<div class="entry">
diff --git a/site/app/views/facebook/import.thtml b/site/app/views/facebook/import.thtml
index 298e1bd..08143f5 100644
--- a/site/app/views/facebook/import.thtml
+++ b/site/app/views/facebook/import.thtml
@@ -165,7 +165,7 @@ if ($action == 'results') {
<div class="frame">
<h1>Detect Installed Add-ons</h1>
<p>Select the add-ons below that you'd like to add to your list of favorite add-ons.<br><a href="#" onClick="document.getElementById('missing-addons').style.display=''; this.style.display='none';">Why are some of my add-ons missing?</a></p>
- <p id="missing-addons" style="display: none;">If some of your installed add-ons aren't detected, it's probably because they are not hosted on <a href="http://addons.mozilla.org">Mozilla Add-ons</a>. Only add-ons hosted on <a href="http://addons.mozilla.org">Mozilla Add-ons</a> can be detected and listed in Rock Your Firefox.</p>
+ <p id="missing-addons" style="display: none;">If some of your installed add-ons aren't detected, it's probably because they are not hosted on <a href="<?=SITE_URL?>">Mozilla Add-ons</a>. Only add-ons hosted on <a href="<?=SITE_URL?>">Mozilla Add-ons</a> can be detected and listed in Rock Your Firefox.</p>
<form action="<?=SITE_URL.$html->url('/facebookinstall/import/'.$fbUserSession.'/favorites')?>" method="post" id="form">
<table id="addons" width="100%">
<tr><td width="50%" valign="top">
diff --git a/site/app/views/facebook/install.thtml b/site/app/views/facebook/install.thtml
index 3a01bef..cb0398e 100644
--- a/site/app/views/facebook/install.thtml
+++ b/site/app/views/facebook/install.thtml
@@ -57,7 +57,7 @@ function install() {
InstallTrigger.install(params, goBack);
}
else {
- window.location = 'http://addons.mozilla.org';
+ window.location = '<?=SITE_URL?>';
}
}
diff --git a/site/app/views/facebook/outage.thtml b/site/app/views/facebook/outage.thtml
index ac1b3f7..7daeefb 100644
--- a/site/app/views/facebook/outage.thtml
+++ b/site/app/views/facebook/outage.thtml
@@ -74,6 +74,6 @@
</div>
<div class="outage-alternative">
In the meantime, check out all the other great ways that you can listen to music, check the weather, upload photos, block stuff you don't like,
- and do whatever you like to do best on the web with <a href="http://addons.mozilla.org">Firefox Add-ons</a>.
+ and do whatever you like to do best on the web with <a href="<?=SITE_URL?>">Firefox Add-ons</a>.
</div>
</div> \ No newline at end of file