Ignore:
Timestamp:
Aug 30, 2015, 8:57:45 PM (11 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
master
Children:
519df6e
Parents:
7e8f16c
Message:

404 template now uses inc/header.php and inc/footer.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webservice/htdocs/templates/404.php

    r7e8f16c rd5d4498  
    1 <html>
    2         <head>
    3                 <title>SiWeather Webservice</title>
    4         </head>
    5         <body>
    6                 <h1>404 Site not found</h1>
    7                 <div class="dump">
    8                         <?php echo $dump; ?>
    9                 </div>
    10         </body>
    11 </html>
     1<?php
     2/*
     3    Copyright (C) 2015 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     4
     5    This library is free software; you can redistribute it and/or
     6    modify it under the terms of the GNU Lesser General Public
     7    License as published by the Free Software Foundation; either
     8    version 2.1 of the License, or (at your option) any later version.
     9
     10    This library is distributed in the hope that it will be useful,
     11    but WITHOUT ANY WARRANTY; without even the implied warranty of
     12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     13    Lesser General Public License for more details.
     14
     15    You should have received a copy of the GNU Lesser General Public
     16    License along with this library; if not, write to the Free Software
     17    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
     18    MA 02110-1301  USA.
     19*/
     20
     21require(__DIR__ ."/../inc/envsetup.php");
     22
     23$title = _("404 Site Not Found");
     24include(__DIR__ ."/../inc/header.php");
     25
     26if(isset($dump) && !empty($dump)){
     27        echo "          <div class=\"dump\">\n";
     28        echo $dump;
     29        echo "          </div>\n";
     30}
     31
     32include(__DIR__ ."/../inc/footer.php");
     33?>
Note: See TracChangeset for help on using the changeset viewer.