Ajout des class pour chaque module et pour la config du site, Correction module météo en cas de ville non trouvée, Correction d'ajout de tâche dans Todoist,
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
class notes {
|
||||
private $params = array();
|
||||
|
||||
public function __construct($params){
|
||||
$this->setParams($params);
|
||||
echo '<script type="text/javascript" src="js/jquery.notes.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="css/note.css">
|
||||
<a id="addButton" class="green-button" href="add_note.html">Add a note</a>';
|
||||
include 'notes_extract.php';
|
||||
}
|
||||
|
||||
private function setParams($params){
|
||||
$this->params = $params;
|
||||
}
|
||||
|
||||
public static function start($params){
|
||||
$notes = new notes($params);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user