Correction tokens (taille limitée à 4 dans corps du module mais à 3 dans manifest + repo)

This commit is contained in:
xdrm-brackets 2016-04-25 11:02:31 +02:00
parent 05050f1ca3
commit 904f38c472
11 changed files with 28 additions and 26 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -129,7 +129,7 @@
background: url('/f/svg/token/st/container/666666') center 1em no-repeat;
// Si le token est actif
&.active{
background-image: url('/f/svg/token/st/container/${color-str($theme-fg-primary)');
background-image: url('/f/svg/token/st/container/#{color-str($theme-fg-primary)}');
}
}
@ -139,7 +139,7 @@
background: url('/f/svg/user/st/container/666666') center 1em no-repeat;
// Si le token est actif
&.active{
background-image: url('/f/svg/user/st/container/${color-str($theme-fg-primary)');
background-image: url('/f/svg/user/st/container/#{color-str($theme-fg-primary)}');
}
}
@ -149,7 +149,7 @@
background: url('/f/svg/phone_number/st/container/666666') center 1em no-repeat;
// Si le token est actif
&.active{
background-image: url('/f/svg/phone_number/st/container/${color-str($theme-fg-primary)');
background-image: url('/f/svg/phone_number/st/container/#{color-str($theme-fg-primary)}');
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -52,7 +52,7 @@
/* [0] Verification des INPUT
=========================================================*/
if( !Database::check('varchar(4,50)', $name) || !Database::check('id', $duration) )
if( !Database::check('varchar(3,50)', $name) || !Database::check('id', $duration) )
return array('ModuleError' => ManagerError::ParamError); // erreur de parametre

View File

@ -1,5 +1,7 @@
<?php
// TODO: Gestion des droits attribués aux tokens
namespace manager\repo;
use \manager\sessionManager;
use \manager\Database;