Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update the production site #52

Merged
merged 5 commits into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2013
  1. @abev66

    Update MWC block content part.

    abev66 authored
  2. @abev66
  3. @abev66

    Fix format for MWC block.

    abev66 authored
Commits on Mar 29, 2013
  1. @bobchao

    Add Universal Analytics

    bobchao authored
    add universal analytics code
  2. @bobchao

    Fix the A/B test code

    bobchao authored
This page is out of date. Refresh to see the latest.
View
55 htdocs/contribute/index.shtml
@@ -1,4 +1,31 @@
-<!--#include virtual="/inc/meta.html" -->
+<!DOCTYPE html>
+<html lang="zh-tw">
+<head>
+ <meta charset="utf-8">
+ <meta property="fb:page_id" content="109362359103769" />
+ <link rel="icon" href="/images/mozilla-16.png" type="image/png">
+ <link rel="home" title="Home" href="http://www.moztw.org/">
+ <meta name="keywords" content="web browser mozilla firefox netscape thunderbird localization l10n chinese taiwan traditional zh-TW 中文 正體中文 繁體中文 本地化 在地化 中文化 翻譯 瀏覽器 www 自由軟體 開放源碼 開放原始碼 free 自由">
+ <link rel="stylesheet" href="/css/print.css" media="print">
+ <link rel="stylesheet" href="/css/base/content.css" media="all">
+ <link rel="stylesheet" href="/css/cavendish/content.css" title="Cavendish" media="all">
+ <link rel="stylesheet" href="/css/base/template.css" media="screen">
+ <link rel="stylesheet" href="/css/cavendish/template.css" title="Cavendish" media="screen">
+ <link rel="alternate" type="application/xml" title="RSS" href="/xmlnews.rdf">
+ <style type='text/css'>
+ <!--
+ @import url(/css/moztw.css);
+ -->
+ </style>
+
+<!-- IE 6 PNG Fix from: http://www.twinhelix.com/css/iepngfix/ -->
+<!--[if IE 6]>
+<script type="text/javascript" src="/inc/iepngfix_tilebg.js"></script>
+<style type="text/css">
+img, div, a { behavior: url(/inc/iepngfix.htc) }
+</style>
+<![endif]-->
+
<!-- Google Analytics Content Experiment code -->
<script>function utmx_section(){}function utmx(){}(function(){var
k='64147182-1',d=document,l=d.location,c=d.cookie;
@@ -13,6 +40,32 @@ valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
'" type="text/javascript" charset="utf-8"><\/sc'+'ript>')})();
</script><script>utmx('url','A/B');</script>
<!-- End of Google Analytics Content Experiment code -->
+
+<!-- Google Analytic -->
+<script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-1035080-1']);
+ _gaq.push(['_setDomainName', 'moztw.org']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+
+ //Universal Analytics Code
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-1035080-15', 'moztw.org');
+ ga('send', 'pageview');
+</script>
+<!-- We need to place the A/B Test code before GTUC, so here we don't include the common "meta.html". Once the experiement finished, we should remove the ABTest code and put back the include file. -->
+<!-- include virtual="/inc/meta.html"-->
<title>參與我們 - MozTW</title>
<style type="text/css">
<!--
View
10 htdocs/inc/meta.html
@@ -38,4 +38,14 @@
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
+
+
+ //Universal Analytics Code
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-1035080-15', 'moztw.org');
+ ga('send', 'pageview');
</script>
View
9 htdocs/index.shtml
@@ -231,6 +231,13 @@
margin-bottom: 0.5em;
position: absolute;
}
+
+#front-feature .mwc-box h2 span {
+ font-weight: normal;
+ font-size: 18px;
+ display: block;
+}
+
#front-feature .mwc-box .mwc-intro {
font-size: 24px;
line-height: 1.5em;
@@ -355,7 +362,7 @@
</div>
<div class="mwc-box">
- <h2>一年之前,Mozilla 承諾將開放網路推上行動裝置的舞台。現在我們帶著成果回來了!</h2>
+ <h2>Firefox OS 來了!<span>開放的行動裝置平台在世界行動通訊大會上首次亮相,帶領下一群數十億智慧型手機使用者進入網路!</span></h2>
<div class="mwc-intro">
<p>立即進入<br>Mozilla MWC 網站</p>
</div>
Something went wrong with that request. Please try again.