s_title = _("License"); $this->s_title_long = _("GNU / GPL-License"); $this->s_info = _("GNU / GPL-License"); if(!file_exists("../setup/license.txt")){ $this->License = "License not found. Setup stops here."; }else{ $fp = fopen("../setup/license.txt","r"); $this->License = ""; while (!feof($fp)){ $this->License .= fread($fp, 255); } $this->license_found = true; } } function execute() { $smarty = get_smarty(); $smarty -> assign("License",nl2br($this->License)); $smarty -> assign("license_found",$this->license_found); $this->is_completed = true; return($smarty -> fetch (get_template_path("../setup/setup_step3.tpl"))); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>