From e5c6709ef98b466293479cafb012951218475f47 Mon Sep 17 00:00:00 2001
From: Manuel Hiebel
Date: Sat, 1 Feb 2014 20:25:45 +0000
Subject: use var for release notes/upgrade guide/errata
---
en/4/download_index.php | 8 ++++----
en/4/index.php | 2 +-
en/4/nav.php | 7 +++++--
3 files changed, 10 insertions(+), 7 deletions(-)
(limited to 'en/4')
diff --git a/en/4/download_index.php b/en/4/download_index.php
index 3bdab007a..6315cfbfe 100755
--- a/en/4/download_index.php
+++ b/en/4/download_index.php
@@ -120,7 +120,7 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
- upgrade guide.', array('https://wiki.mageia.org/en/Mageia_4_Release_Notes#Upgrading_from_Mageia_3'));?>
+ upgrade guide.', array($upgradeguide));?>
@@ -222,8 +222,8 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
Mageia 4
st 2014')?>
- - Release notes', array('https://wiki.mageia.org/en/','Mageia',4,'Release_Notes'))?>
- - Errata', array('https://wiki.mageia.org/en/Mageia_4_Errata'))?>
+ - Release notes', array($releasenotes))?>
+ - Errata', array($errata))?>
- Which to choose', array('https://wiki.mageia.org/en/Installation_Media'))?>
- Get ISO on USB flash stick', array('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_stick.3F'))?>
- Here\'s a wiki page for you.', array('https://wiki.mageia.org/en/Newcomers_start_here'))?>
@@ -233,7 +233,7 @@ function dl_link($variant = null, $arch = 'i586', $medium, $torrent = false, $un
from Mageia 3?', null, 'h3')?>
do not use LiveCDs;', null, 'li');
- _h('see the upgrade guide', array('https://wiki.mageia.org/en/Mageia_4_Release_Notes#Upgrading_from_Mageia_3'), 'li');
+ _h('see the upgrade guide', array($upgradeguide), 'li');
?>
diff --git a/en/4/index.php b/en/4/index.php
index 16ce50792..1aa35f7ca 100644
--- a/en/4/index.php
+++ b/en/4/index.php
@@ -46,7 +46,7 @@ _lang_load($locale, '4');
_h('What\'s new?', null, 'h2');
- _h('There\'s plenty of new goodness in Mageia 4, too much to include here - see the release notes for an extensive exposé.',array('https://wiki.mageia.org/en/Mageia_4_Release_Notes'));
+ _h('There\'s plenty of new goodness in Mageia 4, too much to include here - see the release notes for an extensive exposé.',array($releasenotes));
_h('To help users configure and use Mageia, and to provide some information about the community and the project, we\'ve added the new MageiaWelcome.It starts automatically when a session opens for the first time in any of the graphical environments.',array('https://wiki.mageia.org/en/Feature:MageiaWelcome'));
diff --git a/en/4/nav.php b/en/4/nav.php
index 5ce75c060..8ea54b83e 100644
--- a/en/4/nav.php
+++ b/en/4/nav.php
@@ -1,10 +1,13 @@
_t('Mageia 4'),
"/{$locale}/downloads/" => _t('Download'),
- _t('https://wiki.mageia.org/en/Mageia_4_Release_Notes') => _t('Release notes'),
- _t('https://wiki.mageia.org/en/Mageia_4_Errata') => _t('Errata'),
+ $releasenotes => _t('Release notes'),
+ $errata => _t('Errata'),
);
$sru = trim($_SERVER['REQUEST_URI']);
--
cgit v1.2.1