[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/download
From: Emil Sedgh <emilsedgh () gmail ! com>
Date: 2011-02-08 17:42:56
Message-ID: 20110208174256.76132AC8C0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1219439 by esedgh:
commiting new style again
M +8 -7 download.php
A plasmaMenu.inc plasmaMenu.inc#1219402
M +10 -1 site.inc
--- trunk/www/areas/download/download.php #1219438:1219439
@@ -1,8 +1,4 @@
<?php
- $site_title = "KDE Download";
- $site_external = true;
- $site_root = "./";
-
function IPAddress2IPNumber($dotted) {
$dotted = preg_split( "/[.]+/", $dotted);
$ip = (double) ($dotted[0] * 16777216) + ($dotted[1] * 65536) + ($dotted[2] * 256) + ($dotted[3]);
@@ -53,10 +49,9 @@
enjoy and use KDE please consider supporting the KDE Project financially. KDE
is in constant need of funds in order to finance its operations.</p>
-<form name="ask">
-<input type="button" name="Donate" value="Donate Money" onClick="donate()">
-</form>
+<input type="button" name="Donate" value="Donate Money" onclick="donate()" />
+
<h2>Download Locations</h2>
<p>The following is a list of KDE FTP mirrors that have recently updated
from our master ftp distribution site. The "hours" display tells you how many hours ago
@@ -97,6 +92,8 @@
$deadline = time() - 96*60*60;
$handle = fopen("./mirmon.state", "r");
+
+if (is_resource($handle)) {
while (!feof($handle)) {
$buffer = fgets($handle, 512);
@@ -108,8 +105,11 @@
$candidates[strtolower($url)] = $stamp;
}
fclose($handle);
+}
$handle = fopen("/srv/www/svn/www/sites/www/mirrors/kdemirrors.list", "r");
+
+if (is_resource($handle)) {
while (!feof($handle)) {
$buffer = fgets($handle, 512);
@@ -135,6 +135,7 @@
}
}
fclose($handle);
+}
$doprefer = 0;
--- trunk/www/areas/download/site.inc #1219438:1219439
@@ -1,3 +1,12 @@
<?php
-$templatepath = "newlayout/";
+
+// subdomain
+$site = "download";
+
+$site_title = "KDE Download";
+
+$document_root = "./";
+$templatepath = "chihuahua/";
+$page_title = "KDE Download";
+
?>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic