diff --git a/core/layout/common.css b/core/layout/common.css index 52d990a0..6ddbc3e4 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -1526,6 +1526,18 @@ th.col12 { width: 100%; } +/* Tableau sur les écrans de très petites tailles */ +@media (max-width: 480px){ + .table tr{ + display: block; + margin-bottom: 10px; + } + .table td { + display: block; + text-align: right; + width: auto; + } +} /** * Classes rapides diff --git a/core/module/install/install.php b/core/module/install/install.php index 7dfdf89f..bc573824 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -61,6 +61,8 @@ class install extends common { 'forgot' => 0, 'group' => self::GROUP_ADMIN, 'lastname' => $userLastname, + 'pseudo' => 'Admin', + 'signature' => 1, 'mail' => $userMail, 'password' => $this->getInput('installPassword', helper::FILTER_PASSWORD, true) ] diff --git a/core/module/user/user.php b/core/module/user/user.php index c4025d4f..a622a16f 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -78,6 +78,8 @@ class user extends common { 'forgot' => 0, 'group' => $this->getInput('userAddGroup', helper::FILTER_INT, true), 'lastname' => $userLastname, + 'pseudo' => $this->getInput('userAddPseudo', helper::FILTER_STRING_SHORT, true), + 'signature' => $this->getInput('userAddSignature', helper::FILTER_INT, true), 'mail' => $userMail, 'password' => $this->getInput('userAddPassword', helper::FILTER_PASSWORD, true), "connectFail" => null,