mozilla

Compare Revisions

Template:MozillaOnly

Change Revisions

Revision 437107:

Revision 437107 by Sheppy on

Revision 437109:

Revision 437109 by Sheppy on

Title:
Template:MozillaOnly
Template:MozillaOnly
Slug:
Template:MozillaOnly
Template:MozillaOnly
Content:

Revision 437107
Revision 437109
n9//  $1  Mozilla product (Optional)n9//  $1  Product name (optional)
n11// The "product" (parameter $1) is one of:n
12//
13//  "firefox", "firefoxos", "gecko", "thunderbird"...
14//
15// The "product" may be used to customize the appearance of the b
>anner in some way. 
n17var mozillaOnlyStr;n12var mozillaOnly;
18var explanationStr;13var message;
19var lang = env.locale;
20var message = $0 || NULL;
n23// No Gecko logo, so...n16var lang = env.locale;
24 
25if (product == "gecko") {
26    product = "firefox";
27}
n31        mozillaOnlyStr = "Mozilla-specific API";n20        mozillaOnly = $1 + "-specific API" || "Mozilla-specific A
 >PI";
32        explanationStr = "This API is only available in Gecko-bas21        message = $0 || "This API is only available in Gecko-base
>ed software, including Firefox and Firefox OS.";>d software, including Firefox and Firefox OS.";
n45          <%-mozillaOnlyStr%>n34          <%-mozillaOnly%>
t48          <%-explanationStr%>t37          <%-message%>

Back to History