-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
big update : session authentification guard, some exemaples and docs
- Loading branch information
Emmanuel ROY
committed
Feb 17, 2021
1 parent
eb54203
commit 5be76d3
Showing
30 changed files
with
163 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
|
||
namespace MVC\Classe; | ||
|
||
class Asynchonous | ||
{ | ||
private $_css; | ||
private $_javascript; | ||
|
||
public function __construct() | ||
{ | ||
$this->_css = ""; | ||
$this->_javascript = ""; | ||
} | ||
|
||
public function addCss($code) | ||
{ | ||
$this->_css .= "\n"; | ||
$this->_css .= $code; | ||
} | ||
|
||
public function addJs($code) | ||
{ | ||
$this->_javascript .= "\n"; | ||
$this->_javascript .= $code; | ||
} | ||
|
||
public function printCss() | ||
{ | ||
echo $this->_css; | ||
} | ||
|
||
public function printJs() | ||
{ | ||
echo $this->_javascript; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
name : admin | ||
page_title : Administration de l'application | ||
description : Administration de l'application | ||
|
||
engine : blade | ||
params : params | ||
authentification : yes | ||
|
||
ariane : {acceuil} | ||
arianelink : {index} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name : beers | ||
page_title : module_title | ||
description : module_description | ||
params : module_params | ||
|
||
engine : blade | ||
authentification : yes | ||
|
||
ariane : {acceuil} | ||
arianelink : {index} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
name : cgu | ||
page_title: Conditions Générale d'Utilisation de l'application | ||
description : abracadabla | ||
|
||
engine : blade | ||
params : params | ||
authentification : yes | ||
|
||
ariane : {acceuil} | ||
arianelink : {index} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name : donate | ||
page_title : Be a sponsor | ||
description : Page permettant de devenir un sponsor du framework SAND | ||
params : module_params | ||
|
||
engine : blade | ||
authentification : yes | ||
|
||
ariane : {acceuil} | ||
arianelink : {index} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name : error-access-denied | ||
page_title : Page 403 (Accès restreint) de l'application | ||
description : Page 403 (Accès restreint) de l'application | ||
params : module_params | ||
|
||
engine : blade | ||
authentification : no | ||
|
||
ariane : {acceuil} | ||
arianelink : {index} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
name : error | ||
page_title: Page 404 (Page Non Trouvé) de l'application | ||
description : Page 404 (Page Non Trouvé) de l'application | ||
params : params | ||
|
||
engine : blade | ||
authentification : no | ||
|
||
ariane : {acceuil} | ||
arianelink : {index} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name : gitlist | ||
page_title : Dépot Git | ||
description : Le dépot de travail du framework | ||
engine: blade | ||
|
||
engine : blade | ||
authentification : yes | ||
|
||
ariane : {acceuil, dépot git du framework} | ||
arianelink : {index, gitlist} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
name : index | ||
page_title : Accueil de l'application | ||
description : zatou stra bracadabla | ||
|
||
engine : blade | ||
authentification : yes | ||
|
||
ariane : {acceuil} | ||
arianelink : {index} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
name : policy | ||
page_title: Politique de Confidentialité de l'application | ||
description : abracadabla | ||
|
||
engine : blade | ||
params : params | ||
authentification : yes | ||
|
||
ariane : {acceuil} | ||
arianelink : {index} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
application/modules/gitlist/themes/default_without_html/twig/layout.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
\MVC\Object\Session::createAndTestSession(); | ||
|
||
$path = PATH_URL; | ||
$bdd = new \MVC\Classe\Bdd(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name : %%MODULE%% | ||
page_title : module_title | ||
description : module_description | ||
engine : blade | ||
ariane : {%%MODULE%%} | ||
arianelink : {%%MODULE%%} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.