com web/windows: Remove duplicated HTML for the index: docroot/index.php
| From: | Anatol Belski | Date: | Tue, 25 Apr 2017 14:03:21 +0000 |
| Subject: | com web/windows: Remove duplicated HTML for the index: docroot/index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25761@lists.php.net to get a copy of this message | ||
Commit: 4859cdfa34102744fd5a12f138a50001453f679c
Author: Sobak <msobaczewski@gmail.com> Sun, 23 Apr 2017 17:54:20 +0200
Committer: Anatol Belski <ab@php.net> Tue, 25 Apr 2017 16:03:21 +0200
Parents: e1957395817e78480dc6513b05837784fd0cbe9b
Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=4859cdfa34102744fd5a12f138a50001453f679c
Log:
Remove duplicated HTML for the index
Changed paths:
M docroot/index.php
Diff:
diff --git a/docroot/index.php b/docroot/index.php
index 0a5d1da..b3e2099 100644
--- a/docroot/index.php
+++ b/docroot/index.php
@@ -2,27 +2,12 @@
include __DIR__ . '/../include/config.php';
define('CUR_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
-//define('TPL_PATH', CUR_PATH . 'templates' . DIRECTORY_SEPARATOR);
include TPL_PATH . 'header.php';
include TPL_PATH . 'news_line.php';
?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
-
-<html>
-<head>
- <meta name="generator" content=
- "HTML Tidy for Windows (vers 25 March 2009), see www.w3.org">
-
- <title></title>
-</head>
-
-<body>
- <ul>
- <li id="content"></li>
- </ul>
<ul id="content-columns">
<?php
@@ -955,11 +940,9 @@ include TPL_PATH . 'news_line.php';
</div>
</li><!-- .main-column -->
</ul><!-- .content-columns -->
- <!-- .content -->
+
<?php
include TPL_PATH . 'footer.php';
?>
-</body>
-</html>