aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-05-31 17:49:15 +0000
committerRomain d'Alverny <rda@mageia.org>2011-05-31 17:49:15 +0000
commit009659116bb6dc10b759c49af999833aa2fec77c (patch)
tree7dd20c8d26960392e2906f0883bcc8f3589bc103
parenteb64f8b57ccb0a72127b192fbae509c2df66b537 (diff)
downloadwww-009659116bb6dc10b759c49af999833aa2fec77c.tar
www-009659116bb6dc10b759c49af999833aa2fec77c.tar.gz
www-009659116bb6dc10b759c49af999833aa2fec77c.tar.bz2
www-009659116bb6dc10b759c49af999833aa2fec77c.tar.xz
www-009659116bb6dc10b759c49af999833aa2fec77c.zip
twitter btn + first layout for next/ page (not ready for i18n)
-rw-r--r--en/1/next/index.php84
-rw-r--r--en/downloads/dl_twitter.php23
2 files changed, 99 insertions, 8 deletions
diff --git a/en/1/next/index.php b/en/1/next/index.php
index 7281696fd..272bd63c0 100644
--- a/en/1/next/index.php
+++ b/en/1/next/index.php
@@ -1,6 +1,6 @@
<?php
$_t = array(
- 'page_title' => 'And next?',
+ 'page_title' => 'Mageia 1 &ndash; And next?',
'page_desc' => '',
'page_kw' => 'mageia, mandriva, upgrade, migrate',
'page_h1' => 'And next?'
@@ -29,15 +29,83 @@ $_t = array(
<?php include '../nav.php'; ?>
<div id="bd" role="main">
- <div class="yui-g">
- <div class="para">
- ...
- </div>
- </div>
<div class="yui-g bb1">
- <div class="yui-u first rb1">
- </div>
+ <div class="yui-u first"><div class="para">
+ <h2>Spread the word!</h2>
+ <p>blog, twitter, facebook, forum, other</p>
+ <p>link to press release template</p>
+ <p><?php include '../../downloads/dl_twitter.php'; echo dl_twitter($locale); ?></p>
+
+ </div><div class="para">
+ <h2>What will <strong>you</strong> do with it?</h2>
+ stories
+
+
+ </div><div class="para">
+ <h2>What will <strong>we</strong> do from there?</h2>
+
+ <p>You can <a href="/en/contribute/">join us</a>
+ and help us improve.</p>
+
+ <p>Mageia is still young. A lot has been achieved in the past 9 months,
+ and that's only the beginning.</p>
+
+ <p>We can design and build a better operating system platform
+ for computers and other new devices.</p>
+
+ <p>We can make this better for developers and users.</p>
+
+ <p>We can be a better place to nurture open source technologies
+ </p>
+
+ <h3>Brainstorm in the Summer for...</h3>
+
+ <h3>refined goals for 2012!</h3>
+
+
+ </div></div>
<div class="yui-u">
+ <div style="width: 350px; height: 350px;">
+ <script src="http://widgets.twimg.com/j/2/widget.js"></script>
+ <script>
+ new TWTR.Widget({
+ version: 2,
+ type: 'search',
+ search: 'mageia',
+ interval: 5000,
+ title: '',
+ subject: '',
+ width: 350,
+ height: 350,
+ theme: {
+ shell: {
+ background: '#ffffff',
+ color: '#8ec1da'
+ },
+ tweets: {
+ background: '#ffffff',
+ color: '#444444',
+ links: '#1985b5'
+ }
+ },
+ features: {
+ scrollbar: true,
+ loop: true,
+ live: true,
+ hashtags: true,
+ timestamp: true,
+ avatars: true,
+ toptweets: true,
+ behavior: 'default'
+ }
+ }).render().start();
+ </script>
+ </div>
+ <div class="likebox-frame">
+ <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FMageia%2F157247240967735&amp;width=320&amp;connections=15&amp;stream=false&amp;header=false&amp;height=350" scrolling="no" frameBorder="0" style="border:0; -webkit-box-shadow: 0 0 10px #aaa; overflow:hidden; width:320px; height:350px; frameborder:0;" allowTransparency="true"></iframe>
+ <br>
+ </div>
+ <br>
</div>
</div>
<?php include '../nav.php'; ?>
diff --git a/en/downloads/dl_twitter.php b/en/downloads/dl_twitter.php
new file mode 100644
index 000000000..7061c3e08
--- /dev/null
+++ b/en/downloads/dl_twitter.php
@@ -0,0 +1,23 @@
+<?php
+
+/**
+*/
+function dl_twitter($locale)
+{
+ $langs = array(
+ 'en' => 'I just downloaded Mageia 1, a new Linux distribution! Try it out!',
+ 'fr' => 'Je viens de télécharger Mageia 1, nouvelle distribution Linux. À vous d\'essayer !'
+ );
+ $s = <<<S
+<a
+ href="http://twitter.com/share"
+ class="twitter-share-button"
+ data-url="http://mageia.org/downloads/"
+ data-text="{$langs[$locale]}"
+ data-count="horizontal"
+ data-via="mageia_org"
+ data-lang="{$locale}">Tweet</a>
+<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
+S;
+ return $s;
+} \ No newline at end of file