Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
ee7e45c1
Commit
ee7e45c1
authored
Nov 29, 2018
by
Okhin
Browse files
Ajout de la variable TAILLES dans le controlleur
parent
1aabb465
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/controller/admin.php
View file @
ee7e45c1
...
...
@@ -48,6 +48,19 @@ class Admin extends Controller
100
=>
"non applicable"
,
));
$f3
->
set
(
'TAILLES'
,
array
(
1
=>
_
(
'Coupe Homme, Taille'
)
.
' S'
,
2
=>
_
(
'Coupe Homme, Taille'
)
.
' M'
,
3
=>
_
(
'Coupe Homme, Taille'
)
.
' L'
,
4
=>
_
(
'Coupe Homme, Taille'
)
.
' XL'
,
5
=>
_
(
'Coupe Femme, Taille'
)
.
' S'
,
6
=>
_
(
'Coupe Femme, Taille'
)
.
' M'
,
7
=>
_
(
'Coupe Femme, Taille'
)
.
' L'
,
8
=>
_
(
'Coupe Femme, Taille'
)
.
' XL'
,
9
=>
_
(
'Coupe Homme, Taille'
)
.
' XXL'
,
10
=>
_
(
'Coupe Femme, Taille'
)
.
' XXL'
,
));
if
(
!
$f3
->
get
(
'SESSION.admin'
))
{
$mapper
=
new
\
DB\SQL\Mapper
(
$f3
->
get
(
'DB'
),
'admins'
);
$auth
=
new
\
Auth
(
$mapper
,
array
(
'id'
=>
'user_id'
,
'pw'
=>
'password'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment