Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apisub
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stephane Crozat
apisub
Commits
9ea1b4ed
Commit
9ea1b4ed
authored
Nov 15, 2018
by
Stephane Crozat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add instructions to home page
parent
d08e596d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
index.php
index.php
+1
-0
lib/views.php
lib/views.php
+8
-0
No files found.
index.php
View file @
9ea1b4ed
...
...
@@ -28,6 +28,7 @@ include 'lib/views.php';
$db
=
new
DB
();
Views
::
printHtmlBegin
();
Views
::
printUser
(
$_SESSION
[
'utclogin'
],
$_SESSION
[
'surname'
],
$_SESSION
[
'firstname'
]);
Views
::
printInstructions
();
if
(
isset
(
$_GET
[
'api'
])
&&
isset
(
$_GET
[
'utclogin'
]))
{
if
(
isset
(
$_GET
[
'action'
]))
{
...
...
lib/views.php
View file @
9ea1b4ed
...
...
@@ -13,6 +13,14 @@ class Views {
echo
'<h1>Inscriptions Api</h1>'
;
}
public
static
function
printInstructions
()
{
echo
'<h2>Instructions</h2>'
;
echo
'<p>Les Api sont décrites ici : <b><a href="https://apint.utc.fr/cat">https://apint.utc.fr/cat</a></b></p>'
;
echo
'<p>Veillez à avoir bien lu la fiche avant de vous inscrire (pré-requis, dates...).</p>'
;
echo
'<p>Vous pouvez vous inscrire et vous désinscrire librement jusqu\'au 4 décembre 2018.</p>'
;
echo
'<p>Veillez à <b>ne pas</b> choisir deux Api qui se chevauchent (sauf pour le cas particulier de l\'Api <i>Animer une Api</i>).</p>'
;
}
public
static
function
printUser
(
$utclogin
,
$surname
,
$firstname
)
{
echo
'<p><i>'
.
$firstname
.
' '
.
$surname
.
'</i> (<b>'
.
$utclogin
.
'</b>)</p>'
;
}
...
...
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