From 4e6a01cb57bb03ffe998a20ae15c849b4aba40db Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Tue, 27 Aug 2013 18:22:34 +0200 Subject: [PATCH] Implemented vanity URLs removing .php suffix --- jOOQ-website/download.php | 18 +++++++++--------- jOOQ-website/frame.php | 14 +++++++------- jOOQ-website/licenses.php | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/jOOQ-website/download.php b/jOOQ-website/download.php index afabc996f9..192818daf1 100644 --- a/jOOQ-website/download.php +++ b/jOOQ-website/download.php @@ -49,8 +49,8 @@ The jOOQ roadmap plans for: Find release notes for currently maintained branches here:

2.x release notes

@@ -58,13 +58,13 @@ Find release notes for currently maintained branches here: Find release notes for past branches here:

diff --git a/jOOQ-website/frame.php b/jOOQ-website/frame.php index ad3abe95a9..0e4f6e0960 100644 --- a/jOOQ-website/frame.php +++ b/jOOQ-website/frame.php @@ -111,7 +111,7 @@ function manualHeader($isSingle, $forVersion) { track('email/clicked'); $.ajax({ type: "POST", - url: '/registration-email-save.php', + url: '/registration-email-save', data: $("#registration-email-form").serialize(), success: function(data, textStatus, jqXHR) { fade($email); @@ -166,7 +166,7 @@ function manualHeader($isSingle, $forVersion) { registration(true, true); }); - if ($registration && document.URL.indexOf("download.php") >= 0) { + if ($registration && document.URL.indexOf("download") >= 0) { if (!$.cookie("jooq-registration-email") || !$.cookie("jooq-registration-survey")) { @@ -267,19 +267,19 @@ function manualHeader($isSingle, $forVersion) { Start

diff --git a/jOOQ-website/licenses.php b/jOOQ-website/licenses.php index 48129ffa03..47e982bff5 100644 --- a/jOOQ-website/licenses.php +++ b/jOOQ-website/licenses.php @@ -4,7 +4,7 @@ function getH1() { return 'Licensing'; } function getActiveMenu() { - return ""; + return "support"; } function printContent() { global $root;