View file install/inc/install_license.php
<?php
class install_license {
function actions() {
if (!empty($_POST['license_accept'])) {
return true;
}
}
function form() {
$bb = new bb(H . '/sys/docs/license.txt');
$bb->display();
echo '<br /><label><input type="checkbox" value="1" name="license_accept" />'.__('Принимаю').'</label><br />';
return true;
}
}
?>