[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/sites/edu/marble
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2012-11-12 22:46:22
Message-ID: 20121112224622.EE172AC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1325027 by nienhueser:

Add redirects to marble.kde.org

 M  +3 -28     maps-4.5.php  
 M  +3 -30     maps.php  
 M  +3 -34     speakers.php  


--- trunk/www/sites/edu/marble/maps-4.5.php #1325026:1325027
@@ -1,30 +1,5 @@
 <?php
-  $site_root = "../";
-  $page_title = 'Marble - Maps for Download';
-
-  include ( "header.inc" );
-
-  $submenu->show();
-
+header("HTTP/1.1 301 Moved Permanently");
+header("Location: http://marble.kde.org/maps-4.5.php");
+exit();
 ?>
- <p><?php i18n( "This page contains a few packages that contain map data for the \
Qt-Only version of Marble. You can install this data manually. Users of the KDE \
                version can get these maps with \"Download maps...\" in the \"File\" \
                menu." ); ?></p>
- <p><?php i18n( "You have to extract these files into Marble's maps directory. On \
Windows this is data/maps in your Marble installation. On Linux you will find it in \
\$XDG_DATA_HOME/marble/maps while \$XDG_DATA_HOME is usually ~/.local/share." ); \
                ?></p>
-
-<h4><?php i18n( "Map packages" ); ?></h4>
-
-<?php
-
-$xsl = new DOMDocument();
-$xsl->load("newstuff/maps.xsl");
-
-$xml = new DOMDocument();
-$xml->load("newstuff/maps-4.5.xml");
-
-$proc = new XsltProcessor();
-$proc->importStylesheet($xsl);
-// For windows compliance we also provide .zip files that are not mentioned
-// in the .xml file (and should not be used there).
-echo str_replace(".tar.gz", ".zip", $proc->transformToXML($xml));
-
-include "footer.inc";
-?>
--- trunk/www/sites/edu/marble/maps.php #1325026:1325027
@@ -1,32 +1,5 @@
 <?php
-  $translation_file = "edu";
-  require_once "functions.inc";
-  $site_root = "../";
-  $page_title = i18n_noop('Marble - Maps for Download');
-
-  include ( "header.inc" );
-
-  $submenu->show();
-
+header("HTTP/1.1 301 Moved Permanently");
+header("Location: http://marble.kde.org/maps.php");
+exit();
 ?>
- <p><?php i18n( "This page contains a few packages that contain map data for the \
Qt-Only version of Marble. You can install this data manually. Users of the KDE \
                version can get these maps with \"Download maps...\" in the \"File\" \
                menu." ); ?></p>
- <p><?php i18n( "You have to extract these files into Marble's maps directory. On \
Windows this is data/maps in your Marble installation. On Linux you will find it in \
\$XDG_DATA_HOME/marble/maps while \$XDG_DATA_HOME is usually ~/.local/share." ); \
                ?></p>
-
-<h4><?php i18n( "Map packages" ); ?></h4>
-
-<?php
-
-$xsl = new DOMDocument();
-$xsl->load("newstuff/maps.xsl");
-
-$xml = new DOMDocument();
-$xml->load("newstuff/maps.xml");
-
-$proc = new XsltProcessor();
-$proc->importStylesheet($xsl);
-// For windows compliance we also provide .zip files that are not mentioned
-// in the .xml file (and should not be used there).
-echo str_replace(".tar.gz", ".zip", $proc->transformToXML($xml));
-
-include "footer.inc";
-?>
--- trunk/www/sites/edu/marble/speakers.php #1325026:1325027
@@ -1,36 +1,5 @@
 <?php
-  $translation_file = "edu";
-  require_once "functions.inc";
-  $site_root = "../";
-  $page_title = i18n_noop('Marble - Voice Guidance Speakers for Download');
-
-  include ( "header.inc" );
-  
-  $submenu->show();
-
+header("HTTP/1.1 301 Moved Permanently");
+header("Location: http://marble.kde.org/speakers.php");
+exit();
 ?>
-
-<p>
-Here you'll find additional voice guidance speakers for download.
-</p>
-
-<p>
-It's still possible to add more speakers! Raise your voice and contribute a speaker \
file in your native language. See the <a \
href="http://community.kde.org/Marble/VoiceOfMarble">Voice Of Marble</a> website in \
                the KDE Community wiki.
-</p>
-
-<h4>Voice Guidance Speakers</h4>
-
-<?php
-
-$xsl = new DOMDocument();
-$xsl->load("newstuff/speakers.xsl");
-
-$xml = new DOMDocument();
-$xml->load("newstuff/speakers.xml");
-
-$proc = new XsltProcessor();
-$proc->importStylesheet($xsl);
-echo $proc->transformToXML($xml);
-
-   include "footer.inc";
- ?>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic