Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
don
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
LQDN Adminsys
don
Commits
ee7e45c1
Commit
ee7e45c1
authored
Nov 29, 2018
by
Okhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout de la variable TAILLES dans le controlleur
parent
1aabb465
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
app/controller/admin.php
app/controller/admin.php
+13
-0
No files found.
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
Markdown
is supported
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