Skip to content

Dark theme and icon to toggle theme #681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

eoto88
Copy link
Contributor

@eoto88 eoto88 commented Apr 2, 2025

Dark theme perfect for late night hacking. Icon is from Material Design : https://pictogrammers.com/library/mdi/

@digininja
Copy link
Owner

That seems to work, but could you resubmit it without the docker changes so that it is a standalone change. Nothing will go wrong with it, but just in case, it lets me roll back this one thing without affecting the other.

@@ -189,6 +189,14 @@
}


function dvwaThemeGet() {
if (isset($_COOKIE['theme'])) {
return $_COOKIE[ 'theme' ];

Check failure

Code scanning / PHP Security Analysis

Detected tainted HTML: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\ncall to echo. Error

Detected tainted HTML: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\ncall to echo.
@@ -189,6 +189,14 @@
}


function dvwaThemeGet() {
if (isset($_COOKIE['theme'])) {
return $_COOKIE[ 'theme' ];

Check failure

Code scanning / PHP Security Analysis

Detected tainted text with possible quotes: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\ncall to echo. Error

Detected tainted text with possible quotes: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\ncall to echo.
@@ -189,6 +189,14 @@
}


function dvwaThemeGet() {
if (isset($_COOKIE['theme'])) {
return $_COOKIE[ 'theme' ];

Check failure

Code scanning / PHP Security Analysis

Detected tainted HTML: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\ncall to echo. Error

Detected tainted HTML: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\ncall to echo.
@@ -189,6 +189,14 @@
}


function dvwaThemeGet() {
if (isset($_COOKIE['theme'])) {
return $_COOKIE[ 'theme' ];

Check failure

Code scanning / PHP Security Analysis

Detected tainted text with possible quotes: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\ncall to echo. Error

Detected tainted text with possible quotes: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\ncall to echo.
@@ -189,6 +189,14 @@
}


function dvwaThemeGet() {
if (isset($_COOKIE['theme'])) {
return $_COOKIE[ 'theme' ];

Check failure

Code scanning / PHP Security Analysis

Detected tainted HTML: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\ncall to echo. Error

Detected tainted HTML: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\ncall to echo.
@@ -189,6 +189,14 @@
}


function dvwaThemeGet() {
if (isset($_COOKIE['theme'])) {
return $_COOKIE[ 'theme' ];

Check failure

Code scanning / PHP Security Analysis

Detected tainted text with possible quotes: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\nconcat\ncall to echo. Error

Detected tainted text with possible quotes: $_COOKIE['theme']\ndvwaThemeGet\nconcat\nconcat\ncall to echo.
@eoto88
Copy link
Contributor Author

eoto88 commented Apr 2, 2025

I reverted 3 commits but I'm not sure if it will just remove those commits from master if merged. Let me know if I should start a new branch from master, create a new PR and close this PR.

@eoto88 eoto88 marked this pull request as draft April 2, 2025 13:58
@eoto88 eoto88 closed this Apr 2, 2025
@eoto88 eoto88 deleted the dark-theme branch April 2, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants