mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
css
This commit is contained in:
parent
5ea82a99bb
commit
f6c1ad6094
|
|
@ -302,7 +302,6 @@ if (!defined('NOSESSION')) {
|
|||
// Init the 5 global objects, this include will make the 'new Xxx()' and set properties for: $conf, $db, $langs, $user, $mysoc
|
||||
require_once 'master.inc.php';
|
||||
|
||||
|
||||
// If software has been locked. Only login $conf->global->MAIN_ONLY_LOGIN_ALLOWED is allowed.
|
||||
if (!empty($conf->global->MAIN_ONLY_LOGIN_ALLOWED)) {
|
||||
$ok = 0;
|
||||
|
|
@ -364,6 +363,12 @@ if (isset($_SERVER["HTTP_USER_AGENT"])) {
|
|||
}
|
||||
}
|
||||
|
||||
// If theme is forced
|
||||
if (GETPOST('theme', 'aZ09')) {
|
||||
$conf->theme = GETPOST('theme', 'aZ09');
|
||||
$conf->css = "/theme/".$conf->theme."/style.css.php";
|
||||
}
|
||||
|
||||
// Set global MAIN_OPTIMIZEFORTEXTBROWSER (must be before login part)
|
||||
if (GETPOST('textbrowser', 'int') || (!empty($conf->browser->name) && $conf->browser->name == 'lynxlinks')) { // If we must enable text browser
|
||||
$conf->global->MAIN_OPTIMIZEFORTEXTBROWSER = 1;
|
||||
|
|
@ -1089,6 +1094,7 @@ if (!defined('NOLOGIN')) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Case forcing style from url
|
||||
if (GETPOST('theme', 'alpha')) {
|
||||
$conf->theme = GETPOST('theme', 'alpha', 1);
|
||||
|
|
|
|||
|
|
@ -2717,7 +2717,7 @@ form#login {
|
|||
border: none;
|
||||
/* border-bottom: solid 1px rgba(180,180,180,.4); */
|
||||
padding: 5px;
|
||||
margin-left: 18px;
|
||||
margin-left: 5px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user