From 2cdd9d7c83f0bd039c24bd4c6f30a91d54f4a9df Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 18 Jun 2020 08:59:31 +0000 Subject: [PATCH] wip #3712 @1 --- inc/commons/class.common.url.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/inc/commons/class.common.url.php b/inc/commons/class.common.url.php index b735df7a4..eb829ae9d 100644 --- a/inc/commons/class.common.url.php +++ b/inc/commons/class.common.url.php @@ -64,6 +64,12 @@ class commonUrl $message = $tentative ? '


' . __('Identifiants incorrects') . '

' : ''; + if (MODE === 'ws') { + $forgot = 'https://toolbox.fluidbook.com/password/reset?redirectTo=https://workshop.fluidbook.com/'; + } else if (MODE === 'extranet') { + $forgot = 'https://dev.extranet.cubedesigners.com/password/reset?redirectTo=https://extranet.cubedesigners.com/'; + } + $res = commonPage::barre(); $res .= commonPage::tMain(); $res .= commonPage::bh('login'); @@ -74,7 +80,7 @@ class commonUrl $res .= ''; $res .= ''; $res .= ''; - $res .= ''; + $res .= ''; $res .= ''; $res .= '
' . __('Votre e-mail ou login') . ' : ' . cubeForm::email('user_email', 20, 64, '') . '
' . __('Votre mot de passe') . ' : ' . form::password('user_password', 20, 64, '') . '
' . __('Mot de passe oublié ? Cliquez ici') . '
' . __('Mot de passe oublié ? Cliquez ici') . '
' . $core->typo->BoutonOK('Cliquez-ici pour vous identifier') . '
'; $res .= ''; @@ -257,7 +263,7 @@ class commonUrl $res .= '' . cubeMedia::spacer(18, 10) . ''; $res .= '' . cubeMedia::image(IMG . '/edit.png') . ''; if ($r->rubrique == 'books') { - $res .= '' . cubeMedia::image(IMG . '/settings.png') . ''; + $res .= '' . cubeMedia::image(IMG . '/settings.png') . ''; } $res .= '' . cubeMedia::image(IMG . '/delete.png') . ''; $res .= ''; -- 2.39.5