Esempio n. 1
0
$description = 'Clanify is a tool to organize Clans, eSport-Teams and Gaming-Communities.';
//set the header content.
$cito->setValue('head', '<meta charset="utf-8">');
$cito->setValue('head', '<meta http-equiv="X-UA-Compatible" content="IE=edge">');
$cito->setValue('head', '<meta name="viewport" content="width=device-width, initial-scale=1">');
$cito->setValue('head', '<title>' . $title . '</title>');
$cito->setValue('head', '<meta name="description" content="' . $description . '"/>');
$cito->setValue('head', '<meta name="keywords" content="clanify, gaming, clan, esport"/>');
$cito->setValue('head', '<link href="' . CDN::getNormalizeCSS() . '" rel="stylesheet" type="text/css">');
$cito->setValue('head', '<link href="' . CDN::getBootstrapCSS() . '" rel="stylesheet" type="text/css">');
$cito->setValue('head', '<link href="' . CDN::getAnimateCSS() . '" rel="stylesheet" type="text/css">');
$cito->setValue('head', '<link href="' . CDN::getFontNunitoCSS() . '" rel="stylesheet" type="text/css">');
$cito->setValue('head', '<link href="' . CDN::getFontAwesomeCSS() . '" rel="stylesheet" type="text/css">');
$cito->setValue('head', '<link href="' . $stylesheet . '" rel="stylesheet" type="text/css">');
$cito->setValue('head', '<link rel="shortcut icon" type="image/x-icon" href="' . $favicon . '"/>');
$cito->setValue('head', '<link href="' . CDN::getBootstrapDatepickerCSS() . '" rel="stylesheet" type="text/css">');
//set the footer content.
$cito->setValue('head', '<script src="' . CDN::getJQueryJS() . '"></script>');
$cito->setValue('head', '<script src="' . CDN::getBootstrapJS() . '"></script>');
$cito->setValue('head', '<script src="' . CDN::getBootstrapDatepickerJS() . '"></script>');
$cito->setValue('head', '<script src="' . $clanifyJS . '"></script>');
$cito->setValue('backend_menu', $menuBuilder->getMenu('backend'));
$cito->setValue('backend_menu_user', $menuBuilder->getMenu('backend_user'));
$cito->setValue('username', $_SESSION['user_username']);
$cito->setValue('logo', URL . 'src/View/templates/public/img/clanify-logo.png');
$cito->setValue('base_url', URL . 'dashboard');
//set the body classes.
$cito->setValue('body', 'class="no-bg" id="user-edit"');
$user = $this->getVar('user');
$userAccounts = $this->getVar('accounts', []);
?>