|
http://us.battle.net/account/_images/game-space/S2.jpg
http://us.battle.net/account/_images/game-boxes/en-US/S2.jpg
http://us.battle.net/account/_images/game-boxes/en-GB/S2.jpg
some xml styles for the (pre)beta on bnet 2.0
<s:str id=“msg.S2”>
<h4 class=“clr2”>StarCraft 2 Beta added!</h4>Click the box image to download the beta client.</s:str>
<str id=“S2”>StarCraft II® [Pre-Beta]</str>
->Some random strings.
<xsl:variable name=“promoId”>
−
<xsl:choose>
<xsl:when test=”/page/bna:account and contains($gamesList,‘WOW’)”>bnet-home</xsl:when>
<xsl:when test=”/page/bna:account and not(contains($gamesList,‘WOW’))”>merge</xsl:when>
<xsl:when test=”/page/@promo=‘wowconv’”>wowconv</xsl:when>
<xsl:when test=”/page/@promo=‘sc2beta’”>sc2beta</xsl:when>
<xsl:otherwise>bnet</xsl:otherwise>
</xsl:choose>
</xsl:variable>
- > special account flag detection..note sc2beta
−
<xsl:when test=”$whichPromo = ‘sc2beta’”>
<xsl:call-template name=“promoSc2beta”/>
</xsl:when>
−
-> selects a template
<xsl:template name=“promoSc2beta”>
−
<div class=“promo-spacing”>
−
<h1 class=“clr2”>
<xsl:value-of select=”$loc/promo/str[@id=‘sc2.beta.headline’]”/>
</h1>
−
<div class=“promo-text clr0”>
<xsl:value-of select=”$loc/promo/str[@id=‘sc2.beta.body’]”/>
</div>
−
<div class=“glassbtn”>
−
<a href=“wow-account-conversion.xml”>
−
<em>
<xsl:value-of select=”$loc/buttons/str[@id=‘beta.opt.in’]”/>
</em>
</a>
</div>
</div>
</xsl:template>
Strings that refers to->
<str id=“sc2.beta.headline”>Opt in to the StarCraft 2 Beta</str>
<str id=“sc2.beta.body”>By opting in, you will enter this Battle.net account in the running to participate in the StarCraft 2 beta test.</str> |
|