![]() |
Bearsampp 2025.8.29
|
Go to the source code of this file.
Variables | |
$ajaxUrl = $bearsamppCore->getAjaxPath() . '/ajax.getmodule_versions.php' | |
global | $bearsamppConfig |
global | $bearsamppCore |
global | $bearsamppHomepage |
global | $bearsamppLang |
global | $bearsamppRoot |
$downloadTitle = $bearsamppLang->getValue( Lang::DOWNLOAD_MORE ) | |
$getLoader = '<span class = "loader float-end"><img src = "' . $imagesPath . 'loader.gif" alt="spinner"></span>' | |
$iconsPath = $bearsamppHomepage->getIconsPath() | |
$imagesPath = $bearsamppHomepage->getImagesPath() | |
$jsFiles | |
$pagePath = __DIR__ . '/tpls/hp.' . $page . '.html' | |
$quickPick = new QuickPick() | |
$resourcesPath = rtrim( $bearsamppHomepage->getResourcesPath(), '/' ) . '/' | |
catch (Exception $e) | |
if(is_file($pagePath)) | else |
foreach ($cssFiles as $file) | |
initial | scale |
try |
$ajaxUrl = $bearsamppCore->getAjaxPath() . '/ajax.getmodule_versions.php' |
Definition at line 43 of file homepage.php.
global $bearsamppConfig |
Definition at line 27 of file homepage.php.
Referenced by ActionChangeBrowser\__construct(), ActionLaunchStartup\__construct(), ActionReload\__construct(), ActionSwitchLang\__construct(), ActionSwitchLogsVerbose\__construct(), ActionSwitchOnline\__construct(), ActionStartup\checkBrowser(), QuickPick\checkDownloadId(), ActionStartup\checkLaunchStartup(), QuickPick\checkQuickpickJson(), Util\decryptFile(), Batch\exec(), QuickPick\formatVersionLabel(), TplAestan\getItemLink(), TplAestan\getItemNotepad(), TplAppLogsVerbose\getMenuLogsVerbose(), TplAppMailpit\getMenuMailpit(), TplAppXlight\getMenuXlight(), QuickPick\getQuickpickMenu(), BinApache\getRequiredContent(), LangProc\load(), Root\loadConfig(), Util\log(), QuickPick\logHeaders(), Util\openFileContent(), TplAppOnline\process(), ActionAbout\processWindow(), ActionChangeBrowser\processWindow(), ActionCheckVersion\processWindow(), ActionStartup\refreshAliases(), ActionStartup\refreshHostname(), ActionStartup\refreshVhosts(), AppPhpmyadmin\reload(), AppPhppgadmin\reload(), BinApache\reload(), BinMailpit\reload(), BinMariadb\reload(), BinMemcached\reload(), BinMysql\reload(), BinNodejs\reload(), BinPhp\reload(), BinPostgresql\reload(), BinXlight\reload(), ToolBruno\reload(), ToolComposer\reload(), ToolConsoleZ\reload(), ToolGhostscript\reload(), ToolGit\reload(), ToolNgrok\reload(), ToolPerl\reload(), ToolPython\reload(), ToolRuby\reload(), ActionStartup\rotationLogs(), BinApache\setEnable(), BinMailpit\setEnable(), BinMariadb\setEnable(), BinMemcached\setEnable(), BinMysql\setEnable(), BinNodejs\setEnable(), BinPhp\setEnable(), BinPostgresql\setEnable(), BinXlight\setEnable(), Util\setupCurlHeaderWithToken(), BinApache\setVersion(), BinMailpit\setVersion(), BinMariadb\setVersion(), BinMemcached\setVersion(), BinMysql\setVersion(), BinNodejs\setVersion(), BinPhp\setVersion(), BinPostgresql\setVersion(), BinXlight\setVersion(), ToolBruno\setVersion(), ToolComposer\setVersion(), ToolConsoleZ\setVersion(), ToolGhostscript\setVersion(), ToolGit\setVersion(), ToolNgrok\setVersion(), ToolPerl\setVersion(), ToolPython\setVersion(), ToolRuby\setVersion(), and ActionSwitchVersion\updateConfigVersion().
global $bearsamppCore |
Definition at line 27 of file homepage.php.
global $bearsamppHomepage |
Definition at line 27 of file homepage.php.
Referenced by ActionReload\__construct(), BinApache\checkPort(), Root\loadHomepage(), and BinApache\refreshAlias().
global $bearsamppLang |
This script sets up the homepage for the Bearsampp application, including loading necessary resources, setting up the navigation bar, and including dynamic content based on the application's state. It utilizes global variables to access application settings and paths. Include the main root.php file which initializes the application environment. Declare global variables to access various parts of the application such as language settings, core functionalities, homepage configurations, and more.
Definition at line 27 of file homepage.php.
global $bearsamppRoot |
Definition at line 27 of file homepage.php.
$downloadTitle = $bearsamppLang->getValue( Lang::DOWNLOAD_MORE ) |
Retrieve and store the localized string for the 'Download More' label.
Definition at line 49 of file homepage.php.
$getLoader = '<span class = "loader float-end"><img src = "' . $imagesPath . 'loader.gif" alt="spinner"></span>' |
HTML snippet for a loading spinner image.
Definition at line 54 of file homepage.php.
$iconsPath = $bearsamppHomepage->getIconsPath() |
Define paths for icons and images used in the homepage.
Definition at line 37 of file homepage.php.
$imagesPath = $bearsamppHomepage->getImagesPath() |
Definition at line 38 of file homepage.php.
Referenced by QuickPick\getQuickpickMenu(), and QuickPick\loadQuickpick().
$jsFiles |
Definition at line 79 of file homepage.php.
$pagePath = __DIR__ . '/tpls/hp.' . $page . '.html' |
Definition at line 189 of file homepage.php.
$quickPick = new QuickPick() |
Definition at line 41 of file homepage.php.
$resourcesPath = rtrim( $bearsamppHomepage->getResourcesPath(), '/' ) . '/' |
Set the base path for resources, ensuring there is a trailing slash.
Definition at line 32 of file homepage.php.
catch(Exception $e) | ( | Exception | $e | ) |
Definition at line 148 of file homepage.php.
if (is_file( $pagePath)) else |
Definition at line 192 of file homepage.php.
foreach( $cssFiles as $file) | ( | $cssFiles as | ) |
Loop through CSS files and include them in the page.
Definition at line 102 of file homepage.php.
initial scale |
Definition at line 66 of file homepage.php.
catch (Exception $e) try |
Definition at line 146 of file homepage.php.