www: 2f60aaf4: Fix php in these strings

markdoliner at pidgin.im markdoliner at pidgin.im
Thu May 3 04:15:27 EDT 2012


----------------------------------------------------------------------
Revision: 2f60aaf4873419e8d13de8afa5f8d6d7f506ff93
Parent:   3c9aa5d1cf79ecb68e247b4fb7e849c9fc9aa25e
Author:   markdoliner at pidgin.im
Date:     05/03/12 04:11:09
Branch:   im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/2f60aaf4873419e8d13de8afa5f8d6d7f506ff93

Changelog: 

Fix php in these strings

Changes against parent 3c9aa5d1cf79ecb68e247b4fb7e849c9fc9aa25e

  patched  inc/downloads.inc

-------------- next part --------------
============================================================
--- inc/downloads.inc	1b1461fb122466217a0f4cf222a9983f82ee88b5
+++ inc/downloads.inc	07d587ec8889f5e089107797f2403f62fba5d602
@@ -1,5 +1,7 @@
 <?php
 
+include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
+
 // The keys in this array are available download types.  They should
 // match the piece of the URL following "/download/"  For example,
 // "source" or "windows"
@@ -12,7 +14,7 @@ $download_types = array(
 		'subsect' => 'Windows',
 		'description' => 'Download the free Pidgin universal chat client for Windows',
 		'body' => '<p class="download_button">
-<a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>.exe/download">Download Now</a>
+<a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/' . $pidgin_win32_version . '/pidgin-' . $pidgin_win32_version . '.exe/download">Download Now</a>
 <script>
 (function() {
 	var script = document.createElement("script");
@@ -25,7 +27,7 @@ $download_types = array(
 </p>
 
 <p>This version of Pidgin downloads an appropriate version of GTK+.  GTK+ is now installed locally for Pidgin, and not system-wide, thus Pidgin will not interfere with other GTK+ apps on your system.</p>
-<p>If you would like to have GTK+ included in the installer, we have an <a href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>-offline.exe/download">offline installer</a> that bundles everything except spell-checking dictionaries. </p>',
+<p>If you would like to have GTK+ included in the installer, we have an <a href="http://sourceforge.net/projects/pidgin/files/Pidgin/' . $pidgin_win32_version . '/pidgin-' . $pidgin_win32_version . '-offline.exe/download">offline installer</a> that bundles everything except spell-checking dictionaries. </p>',
 	),
 
 	'ubuntu' => array(
@@ -76,7 +78,7 @@ $download_types = array(
 		'subsect' => 'Source',
 		'description' => 'Download the source code for the free Pidgin universal chat client',
 		'body' => '<p class="download_button">
-<a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download">Download Now</a>
+<a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/' . $pidgin_version . '/pidgin-' . $pidgin_version . '.tar.bz2/download">Download Now</a>
 <script>
 (function() {
 	var script = document.createElement("script");
@@ -88,7 +90,7 @@ $download_types = array(
 </script>
 </p>
 
-<p>This download is for the source code of Pidgin <?php echo $pidgin_version; ?>.</p>
+<p>This download is for the source code of Pidgin ' . $pidgin_version . '.</p>
 <p>If you want to <b>use</b> Pidgin, you should first look for pre-built packages from us (see the links on the left) or your operating system distribution.</p>
 <p>If you are looking to <b>modify</b> Pidgin, you may want to look at our <a href="http://developer.pidgin.im/wiki/UsingPidginMonotone">instructions for checking out the code from our repository</a>.</p>',
 	),


More information about the Commits mailing list