From 6fae1187e35c78479a692bd46e70e6b8b214e0fa Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 31 Oct 2020 17:55:54 +0100 Subject: [PATCH 1/2] installation et ajout d'un user --- core/module/install/install.php | 2 ++ core/module/user/user.php | 2 ++ 2 files changed, 4 insertions(+) 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, From 23fa96a2b6bb2ba8b45d4703b145d70b476c7326 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 31 Oct 2020 17:56:18 +0100 Subject: [PATCH 2/2] =?UTF-8?q?table=20des=20tr=C3=A8s=20petits=20=C3=A9cr?= =?UTF-8?q?ans?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/layout/common.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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