<?php
/**
 * Clubdata Main Modules
 *
 * Contains the classes of the main menu
 *
 * @package Main
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @author Franz Domes <franz.domes@gmx.de>
 * @version 2.0
 * @copyright Copyright (c) 2009, Franz Domes
 */

/**
 * class to show copyright of clubdata
 * @package Main
 */
class vCopyright extends CdBase {

    public function __construct($db, $smarty, $formsgeneration) {
        $this->db = $db;
        $this->smarty = &$smarty;
        $this->formsgeneration = &$formsgeneration;
    }

    public function getSmartyTemplate() {
        return("main/v_Copyright.inc.tpl");
    }

    public function setSmartyValues() {
        $this->smarty->assign('CopyrightTxt', file_get_contents("LICENSE"));
    }
}
