fix browser language behavior by preserving order. Also style fix to iphone page.

This commit is contained in:
KeyserSosa
2009-07-22 14:37:23 -07:00
parent cb4615e34f
commit 9b649bf6ea
2 changed files with 2 additions and 3 deletions

View File

@@ -299,7 +299,6 @@ def get_browser_langs():
if l not in seen_langs and l in g.languages:
browser_langs.append(l)
seen_langs.add(l)
browser_langs.sort()
return browser_langs
def set_host_lang():

View File

@@ -190,14 +190,14 @@ for a random, cool link.
</p>
<div style="margin-bottom: 40px;">
<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302732279&amp;mt=8"><img style="float:left; margin-right: 10px;margin-bottom: 10px;" src="iReddit-thumb.png"></a>
<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302732279&amp;mt=8"><img style="float:left; margin-right: 10px;margin-bottom: 10px; border: none" src="iReddit-thumb.png"></a>
<p>
Buy the iReddit app for just $.99 and you'll never see an ad on it. It comes with a ton of sound effects for your shaking pleasure and will let you aggregate up to 500 reddit subscriptions.
</p>
<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302732279&amp;mt=8"><img src="getapp.png" border="0"></a>
</div>
<div><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=321405188&mt=8"><img style="float:left; margin-right: 10px;margin-bottom: 10px;" src="iRedditFree-thumb.png"></a>
<div><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=321405188&mt=8"><img style="float:left; margin-right: 10px;margin-bottom: 10px; border: none" src="iRedditFree-thumb.png"></a>
<p>
Feeling hesitant? Try the free version of iReddit. You just get one sound effect, though it is cool, and you can aggregate only 100 of your reddit subscriptions.
</p>