Maurício Meneghini Fauth
2d58411bee
Some coding style fixes
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-06-18 21:30:06 -03:00
William Desportes
913c28ee32
Superfluous Whitespace Fix
...
Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-06-15 21:53:06 +02:00
William Desportes
d26f7e47fb
Patch for issue #14348
...
Closes : #14348
Signed-off-by: William Desportes <williamdes@wdes.fr>
2018-06-03 01:41:04 +02:00
Maurício Meneghini Fauth
2005cca77f
Fix methods and properties visibility issues
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 21:02:26 -03:00
Maurício Meneghini Fauth
b9c0463d96
Use short array syntax instead of long array syntax
...
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 01:42:21 -03:00
Maurício Meneghini Fauth
6cf8ee0831
Enable strict mode in some classes
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-15 01:03:57 -03:00
Gabriel Caruso
6ff73257e2
Simplify returns
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2018-01-16 10:16:56 -02:00
Gabriel Caruso
a8bd364e02
Clean elses
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
2017-12-14 22:02:17 -02:00
Michal Čihař
263722fef8
Move theme selection to index.php
...
- It really makes no sense to do this on every request.
- We want to redirect after changing to make sure page is loaded with new theme.
- Use value only from POST request (it used to be set by GET in past as well).
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 15:20:55 +01:00
Michal Čihař
fddf289f55
Silent possible warnings from open basedir
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 19:18:50 +02:00
Michal Čihař
ff7309079a
Remove unused ThemeManager::makeBc
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-21 14:33:12 +02:00
Michal Čihař
39c5b79627
Remove global variable theme
...
It contained theme name and does not seem to be used.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-21 14:32:46 +02:00
Michal Čihař
5b906a781a
Remove todo which no longer makes sense
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-21 14:30:18 +02:00
Michal Čihař
f9d14ced73
Move ThemeManager init code to the constructor
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-21 14:26:45 +02:00
Michal Čihař
b1fac665e7
Remove unused ThemeManager::checkConfig
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-21 14:26:02 +02:00
Michal Čihař
bccb3ff27a
Merge branch 'QA_4_7'
2017-07-21 14:23:01 +02:00
Michal Čihař
51fb18612a
Move Theme object out of session
...
Honestly I don't see good reason for storing Theme in session as loading
it from the session will take about same time as loading it from the
disk.
Additionally it seems that current code really didn't really use the
object stored in session, it was constructed with every request anyway
(by ThemeManager::initializeTheme).
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-17 14:18:35 +02:00
Michal Čihař
dc420e2872
Merge branch 'QA_4_7'
2017-07-10 15:00:36 +02:00
Maurício Meneghini Fauth
ca910e8de8
Move classes to PhpMyAdmin namespace
...
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-08 10:54:21 -03:00