diff options
-rw-r--r-- | site/app/config/bootstrap.php | 3 | ||||
-rw-r--r-- | site/app/config/constants.php | 1 | ||||
-rw-r--r-- | site/app/views/developers/addon_edit_properties.thtml | 2 | ||||
-rw-r--r-- | site/app/views/developers/addon_submit_choose.thtml | 10 | ||||
-rw-r--r-- | site/app/views/developers/dashboard.thtml | 2 | ||||
-rw-r--r-- | site/app/views/developers/uploader.thtml | 6 |
6 files changed, 14 insertions, 10 deletions
diff --git a/site/app/config/bootstrap.php b/site/app/config/bootstrap.php index c414330..9398d2b 100644 --- a/site/app/config/bootstrap.php +++ b/site/app/config/bootstrap.php @@ -274,6 +274,9 @@ $app_prettynames = array( ); define('APP_PRETTYNAME', $app_prettynames[APP_SHORTNAME]); +global $SITE_NAME; +define('SITE_NAME', ___('site_name')); + // Get rid of the temp vars unset($webpath, $buf, $lang, $language_config); diff --git a/site/app/config/constants.php b/site/app/config/constants.php index 134d71a..c84d630 100644 --- a/site/app/config/constants.php +++ b/site/app/config/constants.php @@ -39,6 +39,7 @@ * * ***** END LICENSE BLOCK ***** */ + /** * Site URL default */ diff --git a/site/app/views/developers/addon_edit_properties.thtml b/site/app/views/developers/addon_edit_properties.thtml index 9bce7f1..6850441 100644 --- a/site/app/views/developers/addon_edit_properties.thtml +++ b/site/app/views/developers/addon_edit_properties.thtml @@ -170,7 +170,7 @@ <label class="indented"><input type="checkbox" name="data[Addon][binary]" value="1" <?=($addon['Addon']['binary'] == 1 ? 'checked="checked"' : '')?> /> This add-on contains binary components</label> <h5>Add-on GUID</h5> - <p class="smallmargin">The GUID of your add-on is specified in its install.rdf and uniquely identifies it. You cannot change your GUID once it is listed on Mozilla Add-ons.</p> + <p class="smallmargin">The GUID of your add-on is specified in its install.rdf and uniquely identifies it. You cannot change your GUID once it is listed on <?=SITE_NAME?>.</p> <label class="indented"><tt><?=$addon['Addon']['guid']?></tt></label> <?php endif; ?> </div> diff --git a/site/app/views/developers/addon_submit_choose.thtml b/site/app/views/developers/addon_submit_choose.thtml index 20c647e..6f714eb 100644 --- a/site/app/views/developers/addon_submit_choose.thtml +++ b/site/app/views/developers/addon_submit_choose.thtml @@ -43,12 +43,12 @@ <div id="submission-area" class="rounded graybox"> <div id="listing-selection"> - <p>Thanks for your interest in submitting your add-on to Mozilla Add-ons. We offer two types of listings, explained below. Both options are completely free for you and your users, so please choose the best fit for your needs.</p> + <p>Thanks for your interest in submitting your add-on to <?=SITE_NAME?>. We offer two types of listings, explained below. Both options are completely free for you and your users, so please choose the best fit for your needs.</p> <br /> <div id="option-hosted" class="listing-option"> - <h4><a href="#" onclick="setListingType('hosted', this); return false;">Hosted Add-ons: Upload and distribute my add-on through Mozilla Add-ons</a></h4> + <h4><a href="#" onclick="setListingType('hosted', this); return false;">Hosted Add-ons: Upload and distribute my add-on through <?=SITE_NAME?></a></h4> <div class="step-selection"> - <p class="indented">Hosting your add-on on Mozilla Add-ons is the easiest way to handle distribution of your add-on. Your add-on will have a display page, appear in search and browse listings (including in the Firefox 3 Add-ons Manager), and we'll take care of the download and automatic update process. Add-ons hosted on the site must be reviewed by a Mozilla Add-ons Editor before they will appear publicly.</p> + <p class="indented">Hosting your add-on on <?=SITE_NAME?> is the easiest way to handle distribution of your add-on. Your add-on will have a display page, appear in search and browse listings (including in the Firefox 3 Add-ons Manager), and we'll take care of the download and automatic update process. Add-ons hosted on the site must be reviewed by a <?=SITE_NAME?> Editor before they will appear publicly.</p> <div class="action-button-container"><a href="#" onclick="setListingType('hosted'); return false;" class="action-button rounded" style="float: right;">Host My Add-on</a><div class="recommended-option">Recommended Option</div></div> </div> @@ -67,7 +67,7 @@ <div id="option-listed" class="listing-option"> <h4><a href="#" onclick="setListingType('listed', this); return false;">Listed Add-ons: Create a listing, but host and manage the add-on on my own site</a></h4> <div class="step-selection"> - <p class="indented">Listing your add-on allows you to publicize your creation in the official source for <?=APP_PRETTYNAME?> Add-ons, but lets you retain control of releases and file hosting. Add-ons that are only listed need not be be approved by a Mozilla Add-ons Editor, but users will be warned that this review has not occurred.</p> + <p class="indented">Listing your add-on allows you to publicize your creation in the official source for <?=APP_PRETTYNAME?> Add-ons, but lets you retain control of releases and file hosting. Add-ons that are only listed need not be be approved by a <?=SITE_NAME?> Editor, but users will be warned that this review has not occurred.</p> <div class="action-button-container" style="text-align: right;"><a href="#" onclick="setListingType('listed'); return false;" class="action-button rounded">List My Add-on</a></div> </div> @@ -193,4 +193,4 @@ </div></div><!-- /#addon-created --> </div><!-- /#content --> -<iframe id="upload-frame" name="upload-frame" src="" style="display: none;"></iframe>
\ No newline at end of file +<iframe id="upload-frame" name="upload-frame" src="" style="display: none;"></iframe> diff --git a/site/app/views/developers/dashboard.thtml b/site/app/views/developers/dashboard.thtml index 65d97f2..7fcaf10 100644 --- a/site/app/views/developers/dashboard.thtml +++ b/site/app/views/developers/dashboard.thtml @@ -105,7 +105,7 @@ else { echo '<div class="graybox rounded">'; echo '<h4>Welcome to the Developer Dashboard</h4>'; - echo '<p>You don\'t currently have any add-ons hosted on Mozilla Add-ons. To learn how the process works and submit your first add-on, click Get Started below.</p>'; + echo '<p>You don\'t currently have any add-ons hosted on '.SITE_NAME.'. To learn how the process works and submit your first add-on, click Get Started below.</p>'; echo '<div style="text-align: center;"><a href="'.$html->url('/developers/addon/submit').'" class="action-button rounded">Get Started</a></div>'; echo '</div>'; } diff --git a/site/app/views/developers/uploader.thtml b/site/app/views/developers/uploader.thtml index 282ff94..4b56711 100644 --- a/site/app/views/developers/uploader.thtml +++ b/site/app/views/developers/uploader.thtml @@ -64,14 +64,14 @@ <?php if ($type == 'new'): ?> <div id="step-intro"> <h3>How does it all work?</h3> - <p>Thanks for your interest in submitting your add-on to Mozilla Add-ons. Hosting your add-on on Mozilla Add-ons is the easiest way to handle distribution of your add-on. Here's what you'll get:</p> + <p>Thanks for your interest in submitting your add-on to <?=SITE_NAME?>. Hosting your add-on on <?=SITE_NAME?> is the easiest way to handle distribution of your add-on. Here's what you'll get:</p> <ul> <li>Each add-on will have a public display page with information you provide, such as a brief summary of the add-on's functionality, an optional longer description, and a showcase of preview screenshots of your add-on.</li> <li>Your add-on will appear in search and browse listings across the site, and even in the Add-ons Manager of Firefox 3.</li> <li>We'll take care of hosting all of your downloads and providing automatic updates to users when you upload a new version.</li> <li>You'll have access to a statistics dashboard with detailed information about your user base.</li> </ul> - <p>Add-ons hosted on the site must be reviewed by a Mozilla Add-ons Editor before they will have all of the features listed above. If you're ready to start the process and have your add-on package ready for upload, just click on "Get Started" below!</p> + <p>Add-ons hosted on the site must be reviewed by a <?=SITE_NAME?> Editor before they will have all of the features listed above. If you're ready to start the process and have your add-on package ready for upload, just click on "Get Started" below!</p> <div style="text-align: center;"><a href="#" onclick="upload.showAgreement(); return false;" class="action-button rounded">Get Started</a></div> </div> <!-- /#step-intro --> <div id="step-agreement"> @@ -159,4 +159,4 @@ </div><!-- /#content-main --> </div><!-- /#content --> -<iframe id="upload-frame" name="upload-frame" src="" onload="iframeLoaded();" style="display: none;"></iframe>
\ No newline at end of file +<iframe id="upload-frame" name="upload-frame" src="" onload="iframeLoaded();" style="display: none;"></iframe> |