From 7371af2bb8cb604d0cad0ca59d777c6cf3424a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= Date: Thu, 16 Mar 2017 09:44:05 +0200 Subject: [PATCH] Homepage: Click to play video --- web2/include/template.inc.php | 170 +++++++++++++++++--------------- web2/index.php | 3 +- web2/theme/stylesheets/site.css | 2 +- 3 files changed, 91 insertions(+), 84 deletions(-) diff --git a/web2/include/template.inc.php b/web2/include/template.inc.php index 86621e03aa..3b858664be 100644 --- a/web2/include/template.inc.php +++ b/web2/include/template.inc.php @@ -24,23 +24,23 @@ function generate_page_header($title = NULL) } $bg_index = time()/3600 % 10; $bg_rotation_css = - "body { background-image: url(\"theme/images/site-background${bg_index}.jpg\"); } - #page-title { background-image: url(\"theme/images/site-banner${bg_index}.jpg\"); }"; - echo(" - - - - - - - Doomsday Engine$title - \n"); + "body { background-image: url(\"theme/images/site-background${bg_index}.jpg\"); } #page-title { background-image: url(\"theme/images/site-banner${bg_index}.jpg\"); }"; + echo( +" + + + + + + + Doomsday Engine$title +\n"); } function generate_page_title($title) { //

$title

- echo("
"); + echo("
\n"); } function platform_download_link() @@ -163,42 +163,42 @@ function generate_badges($platform, $type) function generate_sidebar() { echo( - ""); +""); } function generate_blog_post_cached($post, $css_class) @@ -260,50 +260,56 @@ function generate_sitemap() $build_list .= "
  • Autobuilder Index
  • \n" ."
  • RSS Feed
  • \n"; - cache_echo("
    - +
    + Doomsday Engine is open + source software and distributed under + the GNU General Public License (applications) and LGPL (core libraries). + Assets from the original games remain under their original copyright. + Doomsday logo created by Daniel Swanson. + dengine.net website design by Jaakko Keränen © 2017. +
    +
    "); cache_store($ckey); } diff --git a/web2/index.php b/web2/index.php index 0ce555d823..79f5de8816 100644 --- a/web2/index.php +++ b/web2/index.php @@ -19,7 +19,8 @@
    -