Skip to content
Snippets Groups Projects
Commit 974e8a49 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

Merge new_download_page branch

parents 50f42e53 721fb618
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,7 @@ function get_language() ...@@ -69,6 +69,7 @@ function get_language()
function Entete ($titre, $texte, $p="") function Entete ($titre, $texte, $p="")
{ {
header('Content-Type: application/xhtml+xml');
session_start(); session_start();
// print_r($_SERVER); // print_r($_SERVER);
$language = get_language(); $language = get_language();
...@@ -89,28 +90,6 @@ function Entete ($titre, $texte, $p="") ...@@ -89,28 +90,6 @@ function Entete ($titre, $texte, $p="")
_("Wiki") => "http://trac.gajim.org/wiki", _("Wiki") => "http://trac.gajim.org/wiki",
_("Development") => "dev.php"); _("Development") => "dev.php");
if (strpos($_SERVER['SCRIPT_NAME'], 'downloads.php'))
$menu2 = array(
_("Debian") => "downloads.php?lang=$language#debian",
_("Slackware") => "downloads.php?lang=$language#slackware",
_("Ubuntu") => "downloads.php?lang=$language#ubuntu",
_("Fedora") => "downloads.php?lang=$language#fedora",
_("Gentoo") => "downloads.php?lang=$language#gentoo",
_("Archlinux") => "downloads.php?lang=$language#archlinux",
_("SuSE") => "downloads.php?lang=$language#suse",
_("PLD") => "downloads.php?lang=$language#pld",
_("Sourcemage") => "downloads.php?lang=$language#sourcemage",
_("Mandriva") => "downloads.php?lang=$language#mandriva",
_("Zenwalk") => "downloads.php?lang=$language#zenwalk",
_("AgiliaLinux") => "downloads.php?lang=$language#agilialinux",
_("FreeBSD") => "downloads.php?lang=$language#freebsd",
_("Autopackage") => "downloads.php?lang=$language#autopackage",
_("Windows installer") => "downloads.php?lang=$language#windows",
_("Source") => "downloads.php?lang=$language#tarball",
_("Mercurial") => "downloads.php?lang=$language#mercurial",
_("Daily snapshots") => "downloads.php?lang=$language#snaps",
_("Old releases") => "downloads.php?lang=$language#old");
if (strpos($_SERVER['SCRIPT_NAME'], 'docs.php')) if (strpos($_SERVER['SCRIPT_NAME'], 'docs.php'))
$menu2 = array( $menu2 = array(
_("Installation") => "docs.php?lang=$language#install", _("Installation") => "docs.php?lang=$language#install",
...@@ -119,13 +98,13 @@ function Entete ($titre, $texte, $p="") ...@@ -119,13 +98,13 @@ function Entete ($titre, $texte, $p="")
$page = $_SERVER["SCRIPT_NAME"]; $page = $_SERVER["SCRIPT_NAME"];
$p = explode("/", $page); $p = explode("/", $page);
$page = $p[count($p)-1]; $page = $p[count($p)-1];
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n"; echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n";
echo "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"; echo "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml'>\n <head>\n"; echo "<html xmlns='http://www.w3.org/1999/xhtml'>\n <head>\n";
echo " <meta name=\"Author\" content=\"Le Boulanger Yann (asterix)\"/>"; echo " <meta name=\"Author\" content=\"Le Boulanger Yann (asterix)\"/>";
echo " <meta name=\"description\" content=\"Gajim is a Jabber client written in PyGTK. The goal of Gajim's developers is to provide a full featured and easy to use xmpp client for the GTK+ users. Gajim does not require GNOME to run, eventhough it exists with it nicely. Gajim is released under the GNU General Public License\"/>\n"; echo " <meta name=\"description\" content=\"Gajim is a Jabber client written in PyGTK. The goal of Gajim's developers is to provide a full featured and easy to use xmpp client for the GTK+ users. Gajim does not require GNOME to run, eventhough it exists with it nicely. Gajim is released under the GNU General Public License\"/>\n";
echo " <meta name=\"keywords\" content=\"gajim client jabber python gtk xmpp chat linux gnu instant messaging messenger pygtk contact transport file transfer hig chatstate bookmark avatars srv wikipedia\"/>\n"; echo " <meta name=\"keywords\" content=\"gajim client jabber python gtk xmpp chat linux gnu instant messaging messenger pygtk contact transport file transfer hig chatstate bookmark avatars srv wikipedia\"/>\n";
echo " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
echo " <title>\n $titre\n </title>\n"; echo " <title>\n $titre\n </title>\n";
echo " <link rel=\"stylesheet\" href=\"css/main.css\" type=\"text/css\" />\n"; echo " <link rel=\"stylesheet\" href=\"css/main.css\" type=\"text/css\" />\n";
if ($language == "he" or $language == "ar") if ($language == "he" or $language == "ar")
...@@ -163,7 +142,7 @@ function Entete ($titre, $texte, $p="") ...@@ -163,7 +142,7 @@ function Entete ($titre, $texte, $p="")
echo " <a href = \"$page?lang=hu\"><img src=\"imgs/hu_flag.png\" alt=\"hu_flag\" title=\"Weboldal magyarul\" /></a>\n"; echo " <a href = \"$page?lang=hu\"><img src=\"imgs/hu_flag.png\" alt=\"hu_flag\" title=\"Weboldal magyarul\" /></a>\n";
echo " <a href = \"$page?lang=he\"><img src=\"imgs/he_flag.png\" alt=\"he_flag\" title=\"אתר הרשת בעברית\" /></a>\n"; echo " <a href = \"$page?lang=he\"><img src=\"imgs/he_flag.png\" alt=\"he_flag\" title=\"אתר הרשת בעברית\" /></a>\n";
echo " <a href = \"$page?lang=ar\"><img src=\"imgs/ar_flag.png\" alt=\"ar_flag\" title=\"الموقع باللغة العربية\" /></a>\n"; echo " <a href = \"$page?lang=ar\"><img src=\"imgs/ar_flag.png\" alt=\"ar_flag\" title=\"الموقع باللغة العربية\" /></a>\n";
echo " </div> <!-- translator -->\n</div>\n"; echo " </div> <!-- translator -->\n</div> <!-- logo -->\n";
echo "<div class=\"menu\">\n"; echo "<div class=\"menu\">\n";
while ( list ($libelle, $ancre) = each ($menu)){ while ( list ($libelle, $ancre) = each ($menu)){
echo " <span>\n "; echo " <span>\n ";
...@@ -186,7 +165,7 @@ function Entete ($titre, $texte, $p="") ...@@ -186,7 +165,7 @@ function Entete ($titre, $texte, $p="")
echo Ancre ($ancre2, $libelle2, "submenu_a"); echo Ancre ($ancre2, $libelle2, "submenu_a");
echo "\n </li>\n"; echo "\n </li>\n";
} }
echo " </ul></div><div id=\"main_content\">\n"; echo " </ul></div> <!-- submenu -->\n";
} }
} }
...@@ -194,11 +173,11 @@ function Entete ($titre, $texte, $p="") ...@@ -194,11 +173,11 @@ function Entete ($titre, $texte, $p="")
function PiedDePage () function PiedDePage ()
{ {
echo " </div><div id=\"footer\">\n "; echo " <div id=\"footer\">\n ";
echo _(" Site optimized for W3C Standards and realized with vim editor under GNU/Linux by Asterix (Jabber ID: asterix@jabber.lagaule.org)\n"); echo _(" Site optimized for W3C Standards and realized with vim editor under GNU/Linux by Asterix (Jabber ID: asterix@jabber.lagaule.org)\n");
echo " </div> <!-- footer -->\n"; echo " </div> <!-- footer -->\n";
echo " </div> <!-- content -->\n"; echo " </div> <!-- main -->\n";
echo " <!-- inner -->\n"; echo " </div> <!-- inner -->\n";
echo " </body>\n</html>\n"; echo " </body>\n</html>\n";
......
...@@ -31,14 +31,6 @@ img { ...@@ -31,14 +31,6 @@ img {
} }
/*
#end_menu
{
background-image: url(../bar.png);
background-repeat:no-repeat;
float:left;
width:144px;
}*/
#translator { #translator {
position: absolute; position: absolute;
top : 20px; top : 20px;
...@@ -71,9 +63,6 @@ img { ...@@ -71,9 +63,6 @@ img {
} }
.menu a:hover .menu a:hover
{ {
/* background-color: #84C1D7;
border: none;
*/
color: gray; color: gray;
} }
.main { .main {
...@@ -86,10 +75,6 @@ img { ...@@ -86,10 +75,6 @@ img {
border: 2px dashed #26667E; border: 2px dashed #26667E;
margin-right:20px; margin-right:20px;
} }
/*#main_content
{
}*/
.submenu ul .submenu ul
{ {
clear: both; clear: both;
...@@ -149,3 +134,27 @@ h4 ...@@ -149,3 +134,27 @@ h4
.translation-status td.trans-img img { .translation-status td.trans-img img {
vertical-align:middle; vertical-align:middle;
} }
#os-logos {
margin:25px auto;
}
#os-logos > tr > td {
min-width:100px;
max-width:100px;
text-align:center;
vertical-align:bottom;
}
.os-logo {
max-width:75px;
max-height:75px;
margin:0px auto;
}
#os-details div {
border:1px solid #bbbbbb;
border-radius:5px;
margin:10px;
padding:5px;
}
...@@ -5,14 +5,12 @@ ...@@ -5,14 +5,12 @@
Entete (_("Gajim, a Jabber client"), "GAJIM"); Entete (_("Gajim, a Jabber client"), "GAJIM");
print (" <p>");
print (" <h1>"); print (" <h1>");
print _(" Our Room"); print _(" Our Room");
print (" </h1>"); print (" </h1>");
print _(" Our room is")." <a href=\"xmpp:gajim@conference.gajim.org?join\">gajim@conference.gajim.org</a> "._("You are welcome to join and communicate with us."); print _(" Our room is")." <a href=\"xmpp:gajim@conference.gajim.org?join\">gajim@conference.gajim.org</a> "._("You are welcome to join and communicate with us.");
print (" <br/>"); print (" <br/>");
print (" <p>");
print (" <h1>"); print (" <h1>");
print _(" Mailing List"); print _(" Mailing List");
print (" </h1>"); print (" </h1>");
...@@ -26,7 +24,7 @@ print _(" Repository"); ...@@ -26,7 +24,7 @@ print _(" Repository");
print (" </h1>"); print (" </h1>");
print _("To checkout hg do")." <em>hg clone http://hg.gajim.org/gajim gajim</em>"; print _("To checkout hg do")." <em>hg clone http://hg.gajim.org/gajim gajim</em>";
print (" <br/>"); print (" <br/>");
print _(" You can also")." <a href=\"http://trac.gajim.org/browser/\">"._("browse SVN repository")."</a>."; print _(" You can also")." <a href=\"http://trac.gajim.org/browser/\">"._("browse Mercurial repository")."</a>.";
print (" <br/>"); print (" <br/>");
...@@ -49,10 +47,12 @@ print (" </li>\n"); ...@@ -49,10 +47,12 @@ print (" </li>\n");
print (" <li>\n"); print (" <li>\n");
print _(" Donating: ")."\n"; print _(" Donating: ")."\n";
print ('<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> print ('<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick"> <fieldset style="border:0;">
<input type="hidden" name="hosted_button_id" value="ASTY4K884QP26"> <input type="hidden" name="cmd" value="_s-xclick"/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <input type="hidden" name="hosted_button_id" value="ASTY4K884QP26"/>
<img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" style="border:0;" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
<img alt="" style="border:0;" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1"/>
</fieldset>
</form>'); </form>');
print ('<a class="FlattrButton" style="display:none;" href="http://gajim.org"></a>'); print ('<a class="FlattrButton" style="display:none;" href="http://gajim.org"></a>');
print (" </li>\n"); print (" </li>\n");
...@@ -68,10 +68,9 @@ $f2 = fopen("stats_po_0.15.1", 'r'); ...@@ -68,10 +68,9 @@ $f2 = fopen("stats_po_0.15.1", 'r');
$f3 = fopen("stats_po_svn", 'r'); $f3 = fopen("stats_po_svn", 'r');
print ("<table class=\"translation-status\">"); print ("<table class=\"translation-status\">");
print ("<tr><th>Language</th><th colspan=\"2\">0.14.4 Version</th><th colspan=\"2\">0.15.1 Version</th><th colspan=\"2\">HG version</th></tr>"); print ("<tr><th>Language</th><th colspan=\"2\">0.14.4 Version</th><th colspan=\"2\">0.15.1 Version</th><th colspan=\"2\">HG version</th></tr>");
while (!feof($f_lang)) $data = fgets($f_lang);
{ do {
print ("<tr>"); print ("<tr>");
$data = fgets($f_lang);
print ($data); print ($data);
$data = fgets($f1); $data = fgets($f1);
print ($data); print ($data);
...@@ -80,7 +79,8 @@ while (!feof($f_lang)) ...@@ -80,7 +79,8 @@ while (!feof($f_lang))
$data = fgets($f3); $data = fgets($f3);
print ($data); print ($data);
print ("</tr>"); print ("</tr>");
} $data = fgets($f_lang);
} while (!feof($f_lang));
print ("</table>"); print ("</table>");
fclose($f_lang); fclose($f_lang);
fclose($f1); fclose($f1);
......
...@@ -5,14 +5,13 @@ ...@@ -5,14 +5,13 @@
Entete ("Gajim, a Jabber client", "GAJIM"); Entete ("Gajim, a Jabber client", "GAJIM");
print (" <p>\n"); print ("<a name=\"install\"/>");
print ("<a name=\"install\"></a>");
print (" <h1>\n"); print (" <h1>\n");
print _(" Installation\n"); print _(" Installation\n");
print (" </h1></a>\n"); print (" </h1>\n");
print ("<a name=\"tarball\"></a>\n"); print ("<a name=\"tarball\"/>\n");
print ("<a name=\"mercurial\"></a>\n"); print ("<a name=\"mercurial\"/>\n");
print (" <h2>\n"); print (" <h2>\n");
print _(" Tarball and Mercurial\n"); print _(" Tarball and Mercurial\n");
print (" </h2>\n"); print (" </h2>\n");
...@@ -30,15 +29,14 @@ print _(" Under Microsoft Windows\n"); ...@@ -30,15 +29,14 @@ print _(" Under Microsoft Windows\n");
print (" </h3>\n"); print (" </h3>\n");
$link = "<a href=\"http://trac.gajim.org/wiki/Win32Env\">"._("this page")."</a>"; $link = "<a href=\"http://trac.gajim.org/wiki/Win32Env\">"._("this page")."</a>";
printf(_("See %s to install development version under windows."), $link); printf(_("See %s to install development version under windows."), $link);
print (" <p>\n");
print ("<a name=\"jabber\"></a>"); print ("<a name=\"jabber\"/>");
print (" <h1>\n"); print (" <h1>\n");
print (" Jabber/XMPP\n"); print (" Jabber/XMPP\n");
print (" </h1>\n"); print (" </h1>\n");
print _(" Please read")." <a href=\"http://trac.gajim.org/wiki/GajimHelp#help_quickstart_guides\">"._("here")."</a>.\n"; print _(" Please read")." <a href=\"http://trac.gajim.org/wiki/GajimHelp#help_quickstart_guides\">"._("here")."</a>.\n";
print ("<a name=\"structure\"></a>"); print ("<a name=\"structure\"/>");
print (" <h1>\n"); print (" <h1>\n");
print _(" Structure\n"); print _(" Structure\n");
print (" </h1>\n"); print (" </h1>\n");
...@@ -46,7 +44,6 @@ print _(" You can understand how Gajim works")." <a href=\"http://trac.gajim ...@@ -46,7 +44,6 @@ print _(" You can understand how Gajim works")." <a href=\"http://trac.gajim
print (" <br/>"); print (" <br/>");
$link = "<a href=\"http://xmpppy.sourceforge.net/\">xmpppy</a>"; $link = "<a href=\"http://xmpppy.sourceforge.net/\">xmpppy</a>";
printf(_(" Gajim uses a fork of the %s library to do the interface with Jabber network.\n"), $link); printf(_(" Gajim uses a fork of the %s library to do the interface with Jabber network.\n"), $link);
print (" </p>\n");
PiedDePage(); PiedDePage();
?> ?>
...@@ -11,166 +11,223 @@ print _(" Latest version of Gajim is")." <strong>".$last_version."</strong>< ...@@ -11,166 +11,223 @@ print _(" Latest version of Gajim is")." <strong>".$last_version."</strong><
printf(_(" A %s version is in test"), "<strong>0.16-rc2</strong>"); printf(_(" A %s version is in test"), "<strong>0.16-rc2</strong>");
print ("<br/>\n"); print ("<br/>\n");
print _("If your distribution doesn't have the latest version "); print _("If your distribution doesn't have the latest version ");
print _("you are advised to use the ")."<a href=\"#autopackage\">autopackage</a> "._("or the ")."<a href=\"#tarball\">"._("source tarball")."</a>\n"; print _("you are advised to use the ")."<a href='#source' id='top-sourcelink'>"._("source tarball")."</a>\n";
print ("<a name=\"debian\">\n");
print (" <h2>\n"); #OS-Table START
print (" Debian GNU/Linux\n"); print "<table id='os-logos'>\n<tr>\n";
print (" </h2>\n");
print ("</a>\n"); $os_table = array(
0 => array (
"agilialinux", # href / image
"AgiliaLinux", # Tooltip
"AgiliaLinux (MOPSLinux)", #text
),
1 => array (
"archlinux",
"Archlinux",
"Archlinux",
),
2 => array (
"debian",
"Debian GNU/Linux",
"Debian GNU/Linux",
),
3 => array (
"fedora",
"Fedora",
"Fedora",
),
4 => array (
"freebsd",
"FreeBSD",
"FreeBSD",
),
5 => array (
"gentoo",
"Gentoo",
"Gentoo",
),
6 => array (
"mandriva",
"Mandriva",
"Mandriva",
),
7 => array (
"opensuse",
"openSUSE",
"openSUSE",
),
8 => array (
"pld",
"PLD",
"PLD",
),
9 => array (
"slackware",
"Slackware",
"Slackware",
),
10 => array (
"sourcemage",
"SourceMage",
"SourceMage",
),
11 => array (
"ubuntu",
"Ubuntu",
"Ubuntu",
),
12 => array (
"windows",
"Windows",
"Windows",
),
13 => array (
"zenwalk",
"ZenWalk",
"ZenWalk",
),
14 => array (
"source",
"Other Linux",
"Other Linux / Source",
),
);
foreach ($os_table as $num => $values) {
if ((($num % 8) == 0) and ($num > 0)) {
print "</tr>\n<tr>\n";
}
print "<td><a href='#" . $values[0] . "' title='";
printf(_("Download Gajim for %s"), $values[1]);
print "'><img src='imgs/" . $values[0] . ".png' class='os-logo' alt='" . $values[0] . "'/><br/>" . $values[2] . "</a></td>\n";
}
#OS-Table END
print "</tr></table>\n";
#Details START
print "<div id='os-details'>\n";
#1)AgiliaLinux
print "<div id='agilialinux'>\n";
print "<h2>AgiliaLinux:</h2>\n";
print _("Just")." <i>mpkg-install gajim</i>\n";
print "</div>\n";
#2)Archlinux
print "<div id='archlinux'>\n";
print "<h2>Archlinux:</h2>\n";
print _("Just")." <i>pacman -S gajim</i>\n";
print "</div>\n";
#3)Debian GNU/Linux
print "<div id='debian'>\n";
print "<h2>Debian GNU/Linux:</h2>\n";
print _(" If you use Debian unstable do")." <i>apt-get install gajim</i>\n"; print _(" If you use Debian unstable do")." <i>apt-get install gajim</i>\n";
print (" <br/>\n"); print (" <br/>\n");
printf(_(" The Debian package of %s is "), "0.16-rc2"); printf(_(" The Debian package of %s is "), "0.16-rc2");
print "<a href=\"ftp://ftp.gajim.org/debian/dists/unstable/main/binary-all/gajim_0.16~rc2-1_all.deb\">"._("here")."</a>.<br />\n"; print "<a href='ftp://ftp.gajim.org/debian/dists/unstable/main/binary-all/gajim_0.16~rc2-1_all.deb'>"._("here")."</a>.<br />\n";
print _(" A daily package from mercurial is also built. To use it, remove gajim")." (<i>apt-get remove gajim</i>), "._("add this line to your")." /etc/apt/sources.list:\n"; print _(" A daily package from mercurial is also built. To use it, remove gajim")." (<i>apt-get remove gajim</i>), "._("add this line to your")." /etc/apt/sources.list:\n";
print (" <br/>\n"); print (" <br/>\n");
print (" <i>deb ftp://ftp.gajim.org/debian unstable main</i>\n"); print (" <i>deb ftp://ftp.gajim.org/debian unstable main</i>\n");
print (" <br/>\n"); print (" <br/>\n");
print _("and install it by doing")." <i>apt-get install gajim-nightly</i>.\n"; print _("and install it by doing")." <i>apt-get install gajim-nightly</i>.\n";
print _("You can get the GPG key of this package by installing gajim-dev-keyring package from the same repository. Just do")." <i>apt-get install gajim-dev-keyring</i>.\n"; print _("You can get the GPG key of this package by installing gajim-dev-keyring package from the same repository. Just do")." <i>apt-get install gajim-dev-keyring</i>.\n";
print (" <br/>\n"); print "</div>\n";
print ("<a name=\"slackware\">\n"); #4)Fedora
print (" <h2>\n"); print "<div id='fedora'>\n";
print (" Slackware\n"); print "<h2>Fedora:</h2>\n";
print (" </h2>\n"); print _("Just")." <i>yum install gajim</i>\n";
print ("</a>\n"); print "</div>\n";
print _(" You can get the Slackware package of Gajim")." <a href=\"http://slackbuilds.org/result/?search=gajim&sv=all\"> "._("here")."</a>.";
print (" <br/>\n");
print ("<a name=\"ubuntu\">\n"); #5)FreeBSD
print (" <h2>\n"); print "<div id='freebsd'>\n";
print (" Ubuntu\n"); print "<h2>FreeBSD:</h2>\n";
print (" </h2>\n"); print _("Gajim is available in FreeBSD via FreeBSD ports. Just ")."<i> cd /usr/ports/net/gajim/ &amp;&amp; make install clean</i>. ";
print ("</a>\n"); print ("<a href='http://www.freebsd.org/cgi/ports.cgi?query=gajim'>");
print _(" If you use Ubuntu universe repository do")." <i>apt-get install gajim</i>\n"; print _("Find out more")."</a>.\n";
print (" <br/>\n"); print "</div>\n";
print _(" If you want newer version of Gajim, you can also use")." <a href=\"https://launchpad.net/~gajim/+archive/gajim-ppa\">"._("this PPA")."</a>\n";
print (" <br/>\n");
print ("<a name=\"fedora\">\n");
print (" <h2>\n");
print (" Fedora\n");
print (" </h2>\n");
print ("</a>\n");
print _(" Just")." <i>yum install gajim</i>\n";
print ("<a name=\"gentoo\">\n"); #6)Gentoo
print (" <h2>\n"); print "<div id='gentoo'>\n";
print _(" Gentoo\n"); print "<h2>Gentoo:</h2>\n";
print (" </h2>\n");
print ("</a>\n");
print _(" Just")." <i>emerge gajim</i>\n"; print _(" Just")." <i>emerge gajim</i>\n";
print "</div>\n";
print ("<a name=\"archlinux\">\n"); #7)Mandriva
print (" <h2>\n"); print "<div id='mandriva'>\n";
print _(" Archlinux\n"); print "<h2>Mandriva:</h2>\n";
print (" </h2>\n"); print _("Just")." <i>urpmi gajim</i>\n";
print ("</a>\n"); print "</div>\n";
print _(" Just")." <i>pacman -S gajim</i>\n";
print ("<a name=\"suse\">\n");
print (" <h2>\n");
print _(" SUSE\n");
print (" </h2>\n");
print ("</a>\n");
print _(" One click install for openSuSE")." <a href=\"http://software.opensuse.org/ymp/server:messaging/openSUSE_12.2/gajim.ymp\">12.2</a>, <a href=\"http://software.opensuse.org/ymp/server:messaging/openSUSE_12.3/gajim.ymp\">12.3</a><br/>";
print _(" For other versions, ")."<a href=\"http://software.opensuse.org/package/gajim?search_term=Gajim\">"._("get it here")."</a><br>\n";
print ("<a name=\"pld\">\n");
print (" <h2>\n");
print _(" PLD\n");
print (" </h2>\n");
print ("</a>\n");
print _(" Just ")."<i>poldek -U gajim</i>\n";
print ("<a name=\"sourcemage\">\n");
print (" <h2>\n");
print _(" SourceMage\n");
print (" </h2>\n");
print ("</a>\n");
print _(" Just")." <i>cast gajim</i>\n";
print (" <br/>\n");
print ("<a name=\"mandriva\">\n"); #8)openSUSE
print (" <h2>\n"); print "<div id='opensuse'>\n";
print (" Mandriva\n"); print "<h2>openSUSE:</h2>\n";
print (" </h2>\n"); print _("One click install for openSuSE")." <a href='http://software.opensuse.org/ymp/server:messaging/openSUSE_12.2/gajim.ymp'>12.2</a>, <a href='http://software.opensuse.org/ymp/server:messaging/openSUSE_12.3/gajim.ymp'>12.3</a><br/>";
print ("</a>\n"); print _("For other versions, ")."<a href='http://software.opensuse.org/package/gajim?search_term=Gajim'>"._("get it here")."</a><br/>\n";
print _(" Just")." <i>urpmi gajim</i>\n"; print "</div>\n";
print (" <br/>\n");
print ("<a name=\"zenwalk\">\n"); #9)PLD
print (" <h2>\n"); print "<div id='pld'>\n";
print (" Zenwalk\n"); print "<h2>PLD:</h2>\n";
print (" </h2>\n"); print _("Just")." <i>poldek -U gajim</i>\n";
print ("</a>\n"); print "</div>\n";
print _(" Just")." <i>netpkg gajim</i>\n";
print (" <br/>\n");
print ("<a name=\"agilialinux\">\n"); #10)Slackware
print (" <h2>\n"); print "<div id='slackware'>\n";
print (" AgiliaLinux (MOPSLinux)\n"); print "<h2>Slackware:</h2>\n";
print (" </h2>\n"); print _("You can get the Slackware package of Gajim")." <a href='http://slackbuilds.org/result/?search=gajim&amp;sv=all'> "._("here")."</a>.";
print ("</a>\n"); print "</div>\n";
print _(" Just")." <i>mpkg-install gajim</i>\n";
print (" <br/>\n");
print ("<a name=\"freebsd\">\n"); #11)SourceMage
print (" <h2>\n"); print "<div id='sourcemage'>\n";
print _(" FreeBSD\n"); print "<h2>SourceMage:</h2>\n";
print (" </h2>\n"); print _("Just")." <i>cast gajim</i>\n";
print ("</a>\n"); print "</div>\n";
print _(" Gajim is available in FreeBSD via FreeBSD ports. Just ")."<i> cd /usr/ports/net/gajim/ && make install clean</i>. ";
print ("<a href=\"http://www.freebsd.org/cgi/ports.cgi?query=gajim\">");
print _("Find out more")."</a>.\n";
print ("<a name=\"autopackage\">\n"); #12)Ubuntu
print (" <h2>\n"); print "<div id='ubuntu'>\n";
print _(" Autopackage\n"); print "<h2>Ubuntu:</h2>\n";
print (" </h2>\n"); print _("If you use Ubuntu universe repository do")." <i>apt-get install gajim</i>\n";
print ("</a>\n"); print ("<br/>\n");
print _("Soon available here."); print _("If you want newer version of Gajim, you can also use")." <a href='https://launchpad.net/~gajim/+archive/gajim-ppa'>"._("this PPA")."</a>\n";
#print _(" You can download the autopackage ")."<a href=\"downloads/gajim-0.12-1.x86.package\">"._("here")."</a>.\n"; print "</div>\n";
#print _("To use it: make it executable, run it and follow the instructions.\n");
#print ("<a href=\"http://autopackage.org/using.html\">");
#print _("Find out more")."</a>.\n";
#13)Windows
print "<div id='windows'>\n";
print "<h2>Windows:</h2>\n";
print _("There is a ")." <a href='downloads/".$download_folder."/gajim-".$last_version."-3.exe'>"._("Gajim installer")."</a>.\n";
print ("<br/>\n");
print _("Here is a")." <a href='downloads/0.16/gajim-0.16-alpha2-1.exe'>"._("Gajim installer")."</a> ";
printf(_("for %s version "), "0.16-alpha2\n");
print "</div>\n";
print (" <br/>\n"); #14)ZenWalk
print ("<a name=\"windows\">\n"); print "<div id='zenwalk'>\n";
print (" <h2>\n"); print "<h2>ZenWalk:</h2>\n";
print _(" Windows installer\n"); print _("Just")." <i>netpkg gajim</i>\n";
print (" </h2>\n"); print "</div>\n";
print ("</a>\n");
#print _("Installer for 0.14 will be available as soon as possible. Currently available:")." <a href=\"downloads/0.13/gajim-0.13.4-2.exe\">"._("Gajim 0.13.4 installer")."</a>.\n";
print _(" There is a ")." <a href=\"downloads/".$download_folder."/gajim-".$last_version."-3.exe\">"._("Gajim installer")."</a>.\n";
#print _("The installer doesn't contain translations because of a") . " <a href=\"https://bugzilla.gnome.org/show_bug.cgi?id=574520\">" . _("GTK bug") . "</a>.\n";
print (" <br/>\n");
print _(" Here is a")." <a href=\"downloads/0.16/gajim-0.16-rc2-1.exe\">"._("Gajim installer")."</a> ";
printf(_("for %s version "), "0.16-rc2");
print (".\n");
print (" <br/>\n");
print (" <p>\n"); #15)other Linux
print ("<a name=\"tarball\">\n"); print "<div id='source'>\n";
print (" <h2>\n"); print "<h2>"._("Other Linux / source").":</h2>\n";
print _(" Source\n"); print _(" The tarball version of Gajim is ")."<a href='downloads/".$download_folder."/gajim-".$last_version.".tar.bz2'>"._("here")."</a>. "._("For information on how to build Gajim,")." <a href='http://hg.gajim.org/gajim/raw-file/tip/README.html'>"._("see the <tt>README</tt>")."</a> ("._("in English").").<br />\n";
print (" </h2>\n");
print ("</a>\n");
print _(" The tarball version of Gajim is ")."<a href=\"downloads/".$download_folder."/gajim-".$last_version.".tar.bz2\">"._("here")."</a>. "._("For information on how to build Gajim,")." <a href=\"http://hg.gajim.org/gajim/raw-file/tip/README.html\">"._("see the <tt>README</tt>")."</a> ("._("in English").").<br />\n";
printf(_(" The tarball version of %s is "), "0.16-rc2"); printf(_(" The tarball version of %s is "), "0.16-rc2");
print "<a href=\"downloads/0.16/gajim-0.16-rc2.tar.gz\">"._("here")."</a>.<br />\n"; print "<a href='downloads/0.16/gajim-0.16-rc2.tar.gz'>"._("here")."</a>.<br />\n";
print _("If you want to use the last unstable development version, then you should checkout the mercurial repository.\n"); print _("If you want to use the last unstable development version, then you should checkout the mercurial repository.\n");
print (" <br/>\n"); print (" <br/>\n");
print ("<a name=\"mercurial\">\n"); print ("<a name='mercurial'/>\n");
print (" <h2>\n"); print (" <h2>\n");
print _(" Mercurial\n"); print _(" Mercurial\n");
print (" </h2>\n"); print (" </h2>\n");
print ("</a>\n"); print _(" The mercurial repository is available at this address: ")."http://hg.gajim.org/gajim "._("and viewable")." <a href='http://hg.gajim.org/gajim'>"._("here")."</a>.\n";
print _(" The mercurial repository is available at this address: ")."http://hg.gajim.org/gajim "._("and viewable")." <a href=\"http://hg.gajim.org/gajim\">"._("here")."</a>.\n";
print (" <br/>\n"); print (" <br/>\n");
print (" <h3>\n"); print (" <h3>\n");
print _(" Under GNU/Linux\n"); print _(" Under GNU/Linux\n");
...@@ -186,7 +243,7 @@ print (" hg clone http://hg.gajim.org/gajim gajim\n"); ...@@ -186,7 +243,7 @@ print (" hg clone http://hg.gajim.org/gajim gajim\n");
print (" </i>\n"); print (" </i>\n");
print (" <br/>\n"); print (" <br/>\n");
print (" <br/>\n"); print (" <br/>\n");
print _(" Install dependencies, and build Gajim. Please see the")." <a href=\"http://hg.gajim.org/gajim/raw-file/tip/README.html\"><code>README</code></a> ("._("English").") "._("for details.\n"); print _(" Install dependencies, and build Gajim. Please see the")." <a href='http://hg.gajim.org/gajim/raw-file/tip/README.html'><code>README</code></a> ("._("English").") "._("for details.\n");
print (" <br/>\n"); print (" <br/>\n");
print (" <br/>\n"); print (" <br/>\n");
print _(" You can run Gajim by typing the following:\n"); print _(" You can run Gajim by typing the following:\n");
...@@ -201,35 +258,74 @@ print _(" Once you have the repository, you can update it periodically so it m ...@@ -201,35 +258,74 @@ print _(" Once you have the repository, you can update it periodically so it m
print (" <br/>\n"); print (" <br/>\n");
print (" <br/>\n"); print (" <br/>\n");
print (" <i>\n"); print (" <i>\n");
print (" hg pull && hg update\n"); print (" hg pull &amp;&amp; hg update\n");
print (" </i>\n"); print (" </i>\n");
print (" <br/>\n"); print (" <br/>\n");
print (" <h3>\n"); print (" <h3>\n");
print _(" Under Windows\n"); print _(" Under Windows\n");
print (" </h3>\n"); print (" </h3>\n");
print _(" You first have to install mercurial for windows. In order to do that, download the binary")." <a href=\"http://tortoisehg.bitbucket.org/\">"._("here")."</a>\n"; print _(" You first have to install mercurial for windows. In order to do that, download the binary")." <a href='http://tortoisehg.bitbucket.org/'>"._("here")."</a>\n";
print (" <br/>\n"); print (" <br/>\n");
print _(" Once mercurial is installed, the commands are the same with those under GNU/Linux. Only difference is instead of launch.sh you run launch.bat. Enter them in an MS-DOS command line and you're done."); print _(" Once mercurial is installed, the commands are the same with those under GNU/Linux. Only difference is instead of launch.sh you run launch.bat. Enter them in an MS-DOS command line and you're done.");
print (" <br/>\n"); print (" <br/>\n");
print _(" To run Gajim, you need external libraries. You can find a tutorial on the way to install them")." <a href=\"http://trac.gajim.org/wiki/Win32Env\">"._("On the Wiki").".\n"; print _(" To run Gajim, you need external libraries. You can find a tutorial on the way to install them")." <a href='http://trac.gajim.org/wiki/Win32Env'>"._("On the Wiki")."</a>.\n";
print (" <br/>\n"); print (" <br/>\n");
print ("<a name=\"snaps\">\n"); print ("<a name='snaps'/>\n");
print (" <h2>\n"); print (" <h2>\n");
print _(" Daily Snapshots\n"); print _(" Daily Snapshots\n");
print (" </h2>\n"); print (" </h2>\n");
print ("</a>\n"); print _(" Everyday on 01:00 (GMT+1 time) gz tarballs are produced from mercurial. You can use them if hg is broken for you at the moment.")." <a href='downloads/snap/?M=D'>"._("Here to get them")."</a>.\n";
print _(" Everyday on 01:00 (GMT+1 time) gz tarballs are produced from mercurial. You can use them if hg is broken for you at the moment.")." <a href=\"downloads/snap/?M=D\">"._("Here to get them")."</a>.\n"; print "</div>\n";
print (" </p>\n");
print "</div>\n";
#Details END
#JavaScript START
print "
<script type='text/javascript'>
<![CDATA[
(function() {
var details = (function(logos) {
var details = {};
for (var i = 0; i < logos.length; ++i) {
var os = logos[i].alt;
details[os] = document.getElementById(os);
}
return details;
})(document.getElementsByClassName('os-logo'));
var hide_descriptions = function() {
for (os in details)
details[os].style.display = 'none';
}
var show_os_description = function() {
hide_descriptions();
var detail = details[location.hash.substr(1)];
if (detail !== undefined)
detail.style.display = 'block';
}
window.addEventListener('hashchange', show_os_description, false);
show_os_description();
})();
]]>
</script>
";
#JavaScript END
print ("<a name=\"old\">\n"); print ("<a name='old'/>\n");
print (" <h2>\n"); print (" <h2>\n");
print _(" Old releases\n"); print _(" Old releases\n");
print (" </h2>\n"); print (" </h2>\n");
print ("</a>\n"); print _(" You'll find old releases of Gajim")." <a href='downloads/'>"._("here")."</a>.\n";
print _(" You'll find old releases of Gajim")." <a href=\"downloads/\">"._("here")."</a>.\n";
print (" </p>\n");
PiedDePage(); PiedDePage();
......
imgs/agilialinux.png

5.86 KiB

imgs/archlinux.png

2.77 KiB

imgs/debian.png

2.6 KiB

imgs/fedora.png

3.13 KiB

imgs/freebsd.png

8.94 KiB

imgs/gentoo.png

5.6 KiB

imgs/mandriva.png

7.34 KiB

imgs/opensuse.png

3.51 KiB

imgs/pld.png

8.53 KiB

imgs/slackware.png

7.13 KiB

imgs/source.png

6.5 KiB

imgs/sourcemage.png

3.07 KiB

imgs/ubuntu.png

9.59 KiB

imgs/windows.png

7.5 KiB

imgs/zenwalk.png

1.77 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment