Restructure download page and includes
authorAlexander Barton <alex@barton.de>
Wed, 3 Sep 2014 09:00:04 +0000 (11:00 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 3 Sep 2014 09:00:04 +0000 (11:00 +0200)
common/distributions-other.inc [new file with mode: 0644]
common/distributions-unofficial.inc [new file with mode: 0644]
common/distributions.inc
download.php.de
download.php.en

diff --git a/common/distributions-other.inc b/common/distributions-other.inc
new file mode 100644 (file)
index 0000000..98ee583
--- /dev/null
@@ -0,0 +1,7 @@
+<ul>
+       <li>
+               <a href="http://amiga.sourceforge.net/">Amiga.sf</a>:
+               <a href="http://amiga.sourceforge.net/index.php?showpackage=ngIRCd">Port</a>
+       </li>
+</ul>
+
diff --git a/common/distributions-unofficial.inc b/common/distributions-unofficial.inc
new file mode 100644 (file)
index 0000000..ac4979e
--- /dev/null
@@ -0,0 +1,7 @@
+<ul>
+       <li>
+               <a href="http://www.debian.org/">Debian Linux</a>:
+               <a href="http://debian.barton.de/debian/pool/main/n/ngircd/">deb</a>
+               (Autor: Alex Barton)
+       </li>
+</ul>
index b841d0d4ab5090efaacbd9a1d22b7dbd930f8bd3..fcc75c58b4da6cc0b6e7fe479c3a59aac8f929d0 100644 (file)
@@ -1,8 +1,16 @@
+<h4>BSD</h4>
 <ul>
        <li>
-               <a href="http://amiga.sourceforge.net/">Amiga.sf</a>:
-               <a href="http://amiga.sourceforge.net/index.php?showpackage=ngIRCd">Port</a>
+               <a href="http://www.freebsd.org/">FreeBSD</a>:
+               <a href="http://www.freebsd.org/cgi/ports.cgi?query=ngircd&amp;stype=all">Port</a>
+       </li>
+       <li>
+               <a href="http://www.openbsd.org/">OpenBSD</a>:
+               <a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/net/ngircd/">Port</a>
        </li>
+</ul>
+<h4>Linux</h4>
+<ul>
        <li>
                <a href="http://www.archlinux.org/">Arch Linux</a>:
                <a href="https://www.archlinux.org/packages/?q=ngircd">pkg</a>
                <a href="http://fedoraproject.org/">Fedora Linux</a>:
                <a href="https://admin.fedoraproject.org/pkgdb/acls/name/ngircd">rpm</a>
        </li>
-       <li>
-               <a href="http://www.finkproject.org/">Fink Project</a>:
-               <a href="http://pdb.finkproject.org/pdb/package.php/ngircd">Port</a>
-       </li>
-       <li>
-               <a href="http://www.freebsd.org/">FreeBSD</a>:
-               <a href="http://www.freebsd.org/cgi/ports.cgi?query=ngircd&amp;stype=all">Port</a>
-       </li>
        <li>
                <a href="http://www.gentoo.org/">Gentoo Linux</a>:
                <a href="http://packages.gentoo.org/package/net-irc/ngircd">ebuild</a>
        </li>
        <li>
-               <a href="http://brew.sh/">Homebrew</a>:
-               <a href="https://github.com/Homebrew/homebrew/blob/master/Library/Formula/ngircd.rb">Formula</a>
+               <a href="http://www.opensuse.org/">OpenSUSE</a>:
+               <a href="http://download.opensuse.org/repositories/server:/irc/">rpm</a>
        </li>
        <li>
-               <a href="http://www.macports.org/">Mac Ports</a>:
-               <a href="http://trac.macports.org/browser/trunk/dports/irc/ngircd/Portfile">Port</a>
+               <a href="http://www.ubuntu.com/">Ubuntu Linux</a>:
+               <a href="http://packages.ubuntu.com/ngircd">deb</a>
        </li>
+</ul>
+<h4>OS X</h4>
+<ul>
        <li>
-               <a href="http://www.openbsd.org/">OpenBSD</a>:
-               <a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/net/ngircd/">Port</a>
+               <a href="http://www.finkproject.org/">Fink Project</a>:
+               <a href="http://pdb.finkproject.org/pdb/package.php/ngircd">Port</a>
        </li>
        <li>
-               <a href="http://www.opensuse.org/">OpenSUSE</a>:
-               <a href="http://download.opensuse.org/repositories/server:/irc/">rpm</a>
+               <a href="http://brew.sh/">Homebrew</a>:
+               <a href="https://github.com/Homebrew/homebrew/blob/master/Library/Formula/ngircd.rb">Formula</a>
        </li>
        <li>
-               <a href="http://www.ubuntu.com/">Ubuntu Linux</a>:
-               <a href="http://packages.ubuntu.com/ngircd">deb</a>
+               <a href="http://www.macports.org/">Mac Ports</a>:
+               <a href="http://trac.macports.org/browser/trunk/dports/irc/ngircd/Portfile">Port</a>
        </li>
 </ul>
-
index 23c24cc3070af7865af935c74e830969d6712149..527743c9f38a1d6ef943a978fee3f46ddbccc3ef 100644 (file)
 <p>
        Von den folgenden Distributionen gibt es fertige Pakete für den ngIRCd:
 </p>
-<?php
-       include('common/distributions.inc');
-?>
-<p>
-       Inoffizielle Pakete:
-</p>
-<ul>
-       <li>
-               <a href="http://www.debian.org/">Debian Linux</a>:
-               <a href="http://debian.barton.de/debian/pool/main/n/ngircd/">deb</a>
-               (Autor: Alex Barton)
-       </li>
-</ul>
+<?php include('common/distributions.inc'); ?>
+<h4>Weitere</h4>
+<?php include('common/distributions-other.inc'); ?>
+<h4>Inoffizielle Pakete</h4>
+<?php include('common/distributions-unofficial.inc'); ?>
 <h3 id="git">
        GIT-Repository
 </h3>
index 0db72283017fa40123d1d9d42b4044447075b113..83710aaafda5c8bfdf4f5d43000a9615a30df3b0 100644 (file)
        Ready packages for ngIRCd are available for the following
        distributions:
 </p>
-<?php
-       include('common/distributions.inc');
-?>
-<p>
-       Inofficial packages:
-</p>
-<ul>
-       <li>
-               <a href="http://www.debian.org/">Debian Linux</a>:
-               <a href="http://debian.barton.de/debian/pool/main/n/ngircd/">deb</a>
-               (Author: Alex Barton)
-       </li>
-</ul>
+<?php include('common/distributions.inc'); ?>
+<h4>Other</h4>
+<?php include('common/distributions-other.inc'); ?>
+<h4>Inofficial packages</h4>
+<?php include('common/distributions-unofficial.inc'); ?>
 <h3 id="git">
        GIT Repository
 </h3>