/[web]/www/trunk/en/5/download_index.php
ViewVC logotype

Contents of /www/trunk/en/5/download_index.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3166 - (show annotations) (download)
Sat Mar 22 16:08:55 2014 UTC (10 years, 1 month ago) by leuhmanu
File size: 13555 byte(s)
MGA5 lang file (gettext)
1 <?php
2
3 $name = 'Mageia';
4 $version = '5';
5 $release = 'alpha1';
6
7 define('HLANG', true);
8
9 require '../../langs.php';
10 $dictionary = read_translation_file($locale, cauldron);
11 require '../downloads/get/lib.php';
12
13 function get_mageia_image_file_name($name, $version, $release, $variant = null, $arch, $medium, $ext)
14 {
15 $va = empty($variant) ? $arch : $variant . '-' . $arch;
16 $re = empty($release) ? $va : $release . '-' . $va;
17
18 return implode('-', array($name, $version, $re, $medium)) . $ext;
19 }
20
21 function dl_link($name, $version, $release, $variant = null, $arch = 'i586', $medium, $torrent = false, $unavailabletorrent = false)
22 {
23 switch ($arch) {
24 case "i586":
25 $bit = _r('32bit');
26 break;
27 case "x86_64":
28 $bit = _r('64bit');
29 break;
30 case "dual":
31 $bit = _r('dualarch');
32 break;
33 default:
34 $bit = '';
35 break;
36 }
37
38 echo _r('forthcoming');
39
40 /*echo $torrent && $unavailabletorrent ? sprintf(_t('forthcoming')) : sprintf('<a rel="nofollow" href="../downloads/get/?q=%s%s" title="%s">%s</a>',
41 get_mageia_image_file_name($name, $version, $release, $variant, $arch, $medium, '.iso'),
42 $torrent ? '&amp;torrent=1' : '',
43 implode(' ', array($name, $version, $release, $variant, $arch, $medium)),
44 $bit
45 ); */
46 }
47
48 ?>
49
50 <!DOCTYPE html>
51 <html dir="ltr" lang="<?php echo $locale; ?>">
52 <head>
53 <meta charset="utf-8">
54 <title><?php echo sprintf(_g('Download').' '. '%s %s %s', $name, $version, $release)?></title>
55 <meta name="description" content="<?php _g('Download Mageia 4 DVD, CD, LiveCD, network install ISO images.') ?>">
56 <meta name="keywords" content="<?php _g('mageia, mageia 4, linux, free, download, iso, torrent, vm, http, ftp, rsync, bittorrent')?>">
57 <meta name="robots" content="index,nofollow,nosnippet">
58 <link rel="canonical" href="/<?php echo $locale.'/'.$verion;?>/">
59 <link rel="stylesheet" href="/g/style/all.css">
60 <?php include '../../analytics.php'; ?>
61 <style>
62 .unstable-release-warning {
63 padding: 1em 1em 1em 2.2em;
64 margin: 0;
65 background: #cc0000;
66 color: white;
67 text-align: center;
68 }
69 </style>
70 </head>
71 <body class="release downloads">
72 <?php echo $hsnav; ?>
73 <h1 id="mgnavt"><?php echo sprintf(_g('Download') . ' <strong>%s %s %s</strong>',$name, $version, $release)?></h1>
74 <?php include '../'.$version.'/nav.php'; ?>
75 <p class="unstable-release-warning"><?php _g('Be careful! This is a alpha, unstable release.');
76 //_g('Be careful! This is a beta, unstable release.');
77 //_g('It is only intended for developer use. <strong>DO NOT USE THIS IN PRODUCTION OR FOR OFFICIAL REVIEW.</strong>');
78 //_g('This is a Release Candidate. Release Candidate software is software that has graduated Beta testing, and should be a release-ready product suitable for advanced users and reviewers. However, beginning users and critical-applications users may wish to wait for the final release planned for December 2014.'); _g('Release Candidate is intended to identify any remaining bugs or missing packages.'); ?></p>
79 <div id="doc4" class="yui-t7">
80 <div id="bd" role="main">
81 <div class="yui-ge bb1">
82 <div class="yui-u first rb1">
83 <div class="para" id="classical">
84 <h2><?php _g('Classical Installation Flavours')?></h2>
85 <table class="fr-table dlt2">
86 <thead>
87 <tr>
88 <th><?php _g('Format');?></th>
89 <th class="size"><?php _g('size');?></th>
90 <th><?php _g('link');?></th>
91 <th><?php _g('BitTorrent');?></th>
92 </tr>
93 </thead>
94 <tbody>
95 <tr>
96 <th class="name" style="width:60%">DVD 32bit<br>DVD 64bit<br>
97 <span class="dlinfo"><?php _g('Desktop'); ?>: GNOME, KDE, XFCE, Mate, Cinnamon, LXDE, ...</span></th>
98 <td class="size">3.9GB</td>
99 <td>
100 <?php dl_link($name,$version,$release,null,'i586','DVD',false);
101 echo '<br>';
102 dl_link($name,$version,$release,null,'x86_64','DVD',false);
103 echo '</td><td>';
104 dl_link($name,$version,$release,null,'i586','DVD',true);
105 echo '<br>';
106 dl_link($name,$version,$release,null,'x86_64','DVD',true);?>
107 </td>
108 </tr>
109 <tr>
110 <th class="name">DVD dualarch<br>
111 <span class="dlinfo"><?php _g('Desktop'); ?>: XFCE</span></th>
112 <td class="size">1GB</td>
113 <td>
114 <?php dl_link($name,$version,$release,null,'dual','DVD',false);?>
115 </td><td>
116 <?php dl_link($name,$version,$release,null,'dual','DVD',true);?>
117 </td>
118 </tr>
119 </tbody>
120 </table>
121
122 <p class="dlinfo"><?php _g('Notes:'); ?></p>
123 <ul class="dlinfo hl">
124 <li>
125 <?php _g('Up to 167 locales are supported:'); ?>
126 Deutsch, English, español, français, italiano, português, svenska, nederlands,
127 polski, dansk, Русский
128 <?php _g('and so much more!'); ?>
129 <a href="https://wiki.mageia.org/en/Available_locales" hreflang="en"><?php _g('See the comprehensive list')?></a>.</li>
130 <li><?php
131 _g('These DVD and CD ISOs contains Free Software and some proprietary drivers.');
132 _g('You will be asked of which kind of Software you want to install.');
133 ?></li>
134 <li><?php _g('The dualarch DVD contains only a minimal list of packages.')?></li>
135 </ul>
136 </div>
137
138 <div class="para" id="live">
139 <h2><?php _g('LiveCDs and LiveDVDs');?></h2>
140 <p class="dlinfo"><?php _g('Use LiveCDs and LiveDVDs for fresh new installs ONLY.');?>
141 <span class="warn"><?php _g('DO NOT use these LiveCDs or LiveDVDs to upgrade from from the
142 prior Mageia release!'); ?></span>
143 <?php _g('Use above DVD or CD and see <a href="%s" hreflang="en">upgrade guide</a>.', array($upgradeguide));?></p>
144 <table class="fr-table dlt2">
145 <thead>
146 <tr>
147 <th><?php _g('Desktop');?></th>
148 <th class="size"><?php _g('size');?></th>
149 <th><?php _g('link');?></th>
150 <th><?php _g('BitTorrent');?></th>
151 </tr>
152 </thead>
153 <tbody>
154 <tr>
155 <th class="name" style="width:60%">LiveDVD KDE<br>
156 <span class="dlinfo"><?php _g('All languages')?></span></th>
157 <td class="size">1.4GB</td>
158 <td>
159 <?php dl_link($name,$version,$release,'LiveDVD-KDE4','i586','DVD',false);
160 echo '<br>';
161 dl_link($name,$version,$release,'LiveDVD-KDE4','x86_64','DVD',false);
162 echo '</td><td>';
163 dl_link($name,$version,$release,'LiveDVD-KDE4','i586','DVD',true);
164 echo '<br>';
165 dl_link($name,$version,$release,'LiveDVD-KDE4','x86_64','DVD',true);?>
166 </td>
167 </tr>
168 <tr>
169 <th class="name">LiveDVD GNOME<br>
170 <span class="dlinfo"><?php _g('All languages')?></span></th>
171 <td class="size">1.4GB</td>
172 <td>
173 <?php dl_link($name,$version,$release,'LiveDVD-GNOME','i586','DVD',false);
174 echo '<br>';
175 dl_link($name,$version,$release,'LiveDVD-GNOME','x86_64','DVD',false);
176 echo '</td><td>';
177 dl_link($name,$version,$release,'LiveDVD-GNOME','i586','DVD',true);
178 echo '<br>';
179 dl_link($name,$version,$release,'LiveDVD-GNOME','x86_64','DVD',true);?>
180 </td>
181 <tr>
182 <th class="name">LiveCD KDE<br>
183 <span class="dlinfo"><?php _g('English only')?></span></th>
184 <td class="size">700MB</td>
185 <td>
186 <?php dl_link($name,$version,$release,'LiveCD-KDE4-en','i586','CD',false);
187 echo '</td><td>';
188 dl_link($name,$version,$release,'LiveCD-KDE4-en','i586','CD',true);?>
189 </td>
190 </tr>
191 <tr>
192 <th class="name">LiveCD GNOME<br>
193 <span class="dlinfo"><?php _g('English only')?></span></th>
194 <td class="size">700MB</td>
195 <td>
196 <?php dl_link($name,$version,$release,'LiveCD-GNOME-en','i586','CD',false);
197 echo '</td><td>';
198 dl_link($name,$version,$release,'LiveCD-GNOME-en','i586','CD',true);?>
199 </tr>
200
201 </tbody>
202 </table>
203
204 </div>
205
206 <div class="para">
207 <h2><?php _g('Wired Network-based Installation CD')?></h2>
208 <p class="dlinfo"><?php _g('Download quickly and immediately boot into install mode from <em>wired</em> network or a local disk.')?>
209 <span class="warn"><?php _g('These ISOs change frequently, and as it give real state of Cauldron, they may not work. If it is the case, use above one.'); ?></span></p>
210
211 <table class="fr-table dlt2">
212 <thead>
213 <tr>
214 <th><?php _g('Format');?></th>
215 <th class="size"><?php _g('size');?></th>
216 <th><?php _g('link');?></th>
217 </tr>
218 </thead>
219 <tbody>
220 <tr>
221 <th><?php _g('Network installer, Free Software CD')?></th>
222 <td class="size">27MB<br>53MB</td>
223 <td><?php dl_link($name,$version,$release,'Boot','i586','CD',false);
224 echo '<br>';
225 dl_link($name,$version,$release,'Boot','x86_64','CD',false);?>
226 </td>
227 </tr>
228 <tr>
229 <th><?php _g('Network installer + nonfree firmware CD')?><br>
230 <span class="dlinfo"><?php _g('needed for some disc controllers, some network cards, etc.')?></span></th>
231 <td class="size">37MB<br>74MB</td>
232 <td><?php dl_link($name,$version,$release,'Boot-nonfree','i586','CD',false);
233 echo '<br>';
234 dl_link($name,$version,$release,'Boot-nonfree','x86_64','CD',false);?>
235 </td>
236 </tr>
237 </tbody>
238 </table>
239
240
241 </div>
242 </div>
243 <div class="yui-u">
244 <div class="para" style="padding-left: 1em;">
245 <ul class="hl">
246 <li><?php _g('<a href="%s">Release notes</a>', array($releasenotes))?></li>
247 <li><?php _g('<a href="%s">Errata</a>', array($errata))?></li>
248 <li><?php _g('<a href="%s">Which to choose</a>', array('https://wiki.mageia.org/en/Installation_Media'))?></li>
249 <li><?php _g('<a href="%s">Get ISO on USB flash stick</a>', array('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_stick.3F'))?></li>
250 <li><?php _g('Newcomer? <a href="%s">Here\'s a wiki page for you.</a>', array('https://wiki.mageia.org/en/Newcomers_start_here'))?></li>
251 <li><?php _e('Help us on'); echo'<a href="../contribute">',"$name $version";?></a></li>
252 </ul>
253 <?php /*
254 echo '<br><br>';
255 _g('Looking for a stable release?', null, 'h3');
256 echo '<p>';
257 _g('It is <a href="%s">here</a>.', array('../downloads/'));
258 echo '</p>';
259
260
261
262 _g('Upgrading<br>from %s ?', array('Mageia 4'), 'h3')?>
263 <ul class="hl"><?php
264 _g('<strong>do not</strong> use LiveCDs;', null, 'li');
265 _g('see the <a href="%s" hreflang="en">upgrade guide</a>', array($upgradeguide), 'li');
266 echo '</ul><br><br>';
267
268
269
270 _g('Looking for %s ?', array('Mageia 4'), 'h3');
271 echo '<p>';
272 _g('It is <a href="%s">here</a>.', array('../4/'),' ');
273 echo '<span class="warn">', _g('But please remember that it already <a href="%s">reached EOL</a>.',array('https://blog.mageia.org/en/2013/11/21/farewell-mageia-2/')) . '</span>';
274 echo '</p>';
275
276
277
278 _g('Need more challenge?', null, 'h3');
279 _g('You can <a href="%s">help</a> us <a href="%s">on %s</a>.', array('../contribute/','../contribute/','Mageia 6'));
280 */ ?>
281 </div>
282 <hr>
283 </div>
284 </div>
285 </div>
286 </div>
287 </body>
288 </html>

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30