diff options
l--------- | pt-br/1 (renamed from pt/1) | 0 | ||||
-rw-r--r-- | pt-br/about/2010-sept-announcement.html (renamed from pt/about/2010-sept-announcement.html) | 0 | ||||
-rw-r--r-- | pt-br/about/code-of-conduct/index.php (renamed from pt/about/code-of-conduct/index.php) | 0 | ||||
-rw-r--r-- | pt-br/about/values/index.php (renamed from pt/about/values/index.php) | 0 | ||||
l--------- | pt-br/contribute (renamed from pt/contribute) | 0 | ||||
-rw-r--r-- | pt-br/donate/index.php (renamed from pt/donate/index.php) | 0 | ||||
l--------- | pt-br/downloads (renamed from pt/downloads) | 0 | ||||
-rw-r--r-- | pt-br/faq/index.php (renamed from pt/faq/index.php) | 0 | ||||
l--------- | pt-br/index.php (renamed from pt/index.php) | 0 | ||||
l--------- | pt-br/support (renamed from pt/support) | 0 | ||||
-rw-r--r-- | release_counter.php | 8 |
11 files changed, 6 insertions, 2 deletions
diff --git a/pt/about/2010-sept-announcement.html b/pt-br/about/2010-sept-announcement.html index dc45e692b..dc45e692b 100644 --- a/pt/about/2010-sept-announcement.html +++ b/pt-br/about/2010-sept-announcement.html diff --git a/pt/about/code-of-conduct/index.php b/pt-br/about/code-of-conduct/index.php index 6151269f1..6151269f1 100644 --- a/pt/about/code-of-conduct/index.php +++ b/pt-br/about/code-of-conduct/index.php diff --git a/pt/about/values/index.php b/pt-br/about/values/index.php index 01596eb60..01596eb60 100644 --- a/pt/about/values/index.php +++ b/pt-br/about/values/index.php diff --git a/pt/contribute b/pt-br/contribute index 37e0bd007..37e0bd007 120000 --- a/pt/contribute +++ b/pt-br/contribute diff --git a/pt/donate/index.php b/pt-br/donate/index.php index 34806e925..34806e925 100644 --- a/pt/donate/index.php +++ b/pt-br/donate/index.php diff --git a/pt/downloads b/pt-br/downloads index c5107b29e..c5107b29e 120000 --- a/pt/downloads +++ b/pt-br/downloads diff --git a/pt/faq/index.php b/pt-br/faq/index.php index 4d638014d..4d638014d 100644 --- a/pt/faq/index.php +++ b/pt-br/faq/index.php diff --git a/pt/index.php b/pt-br/index.php index 1d75bdfc3..1d75bdfc3 120000 --- a/pt/index.php +++ b/pt-br/index.php diff --git a/pt/support b/pt-br/support index 4f8c3bbaa..4f8c3bbaa 120000 --- a/pt/support +++ b/pt-br/support diff --git a/release_counter.php b/release_counter.php index f5e3874dc..5e182db60 100644 --- a/release_counter.php +++ b/release_counter.php @@ -5,7 +5,7 @@ if (isset($_GET['l'])) { $locale = $_GET['l']; } -else { +elseif (!isset($locale)) { $path = explode('/', $_SERVER['REQUEST_URI']); $locale = $path[1]; if (strlen($locale) > 5) @@ -30,9 +30,11 @@ $release_ts = strtotime('2011/06/01 23:30:00'); $now_ts = time(); $diff = $release_ts - $now_ts; $s = ''; +$diff = 0; -if ($diff < 0) { +if ($diff <= 0) { // todo (rda) + $s = '<h2><a href="/en/1/">Mageia 1 is here</a></h2>'; } else { $diff = floor($diff / 3600 / 24); @@ -58,6 +60,8 @@ div#mgacount { } #mgacount h2 { padding: 0.6em; font-size: 220%; color: #fff; font-weight: normal; margin-bottom: 0; } #mgacount h2 span { font-size: 45%; vertical-align: 30%; margin: 0 1em; } +#mgacount h2 a, +#mgacount h2 a:visited { color: #fff; } </style> <div id="mgacount">{$s}</div> S; |