-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Conversation
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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. |
Dark theme perfect for late night hacking. Icon is from Material Design : https://pictogrammers.com/library/mdi/