Skip to content

FSMaxB/rpq2

Repository files navigation

<?php
/*
    RPQ2-Webinterface

    Copyright (C) 2012-2013 Innowatt Energiesysteme GmbH
    Author: Max Bruckner

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/.
*/

include_once('meta.php');
include_once('profiles.php');
include_once('defaults.php');
include_once('page.php');
include_once('templates.php');

$title = 'Lizenzbedingungen';
$author = 'Max Bruckner';

$return = $_GET['return'];

$gpl = get_template('license_gpl');
$container = get_template('container', array('content' => $gpl, 'height' => '100%', 'min-height' => DEFAULT_CONTAINER_MIN_HEIGHT, 'max-height' => DEFAULT_CONTAINER_MAX_HEIGHT, 'border' => DEFAULT_CONTAINER_BORDER, 'id' => DEFAULT_CONTAINER_ID));
$output = get_template('license', array('license' => $container));
$output .= get_references(array('index'));
draw_page($output, $title, $author, HEAD);
?>