diff --git a/class/AccueilModules.php b/class/AccueilModules.php index 7f93763..c74ee72 100644 --- a/class/AccueilModules.php +++ b/class/AccueilModules.php @@ -1,4 +1,5 @@ setParams($params); @@ -32,4 +38,8 @@ class blogs { public static function start($params){ $blogs = new blogs($params); } + + public static function updateConfig($updated){ + + } } \ No newline at end of file diff --git a/class/Clock.php b/class/Clock.php index 066986d..61b8e34 100644 --- a/class/Clock.php +++ b/class/Clock.php @@ -1,6 +1,13 @@ setParams($params); @@ -15,4 +22,8 @@ class clock { public static function start($params){ $clock = new clock($params); } + + public static function updateConfig($updated){ + + } } \ No newline at end of file diff --git a/class/ClockAdvanced.php b/class/ClockAdvanced.php index 1e86ccb..ba93b5f 100644 --- a/class/ClockAdvanced.php +++ b/class/ClockAdvanced.php @@ -1,6 +1,6 @@ setParams($params); @@ -57,4 +62,8 @@ class links { public static function start($params){ $links = new links($params); } + + public static function updateConfig($updated){ + + } } \ No newline at end of file diff --git a/class/Module.php b/class/Module.php new file mode 100644 index 0000000..ad05a7a --- /dev/null +++ b/class/Module.php @@ -0,0 +1,26 @@ +params = $params; + } + + abstract static function start($params); + + abstract static function updateConfig($updated); + +} \ No newline at end of file diff --git a/class/Notes.php b/class/Notes.php index ece7bea..dac54e3 100644 --- a/class/Notes.php +++ b/class/Notes.php @@ -1,6 +1,11 @@ setParams($params); @@ -17,4 +22,8 @@ class notes { public static function start($params){ $notes = new notes($params); } + + public static function updateConfig($updated){ + return; + } } \ No newline at end of file diff --git a/class/Search.php b/class/Search.php index 54a682e..9f1bb44 100644 --- a/class/Search.php +++ b/class/Search.php @@ -1,6 +1,10 @@ @@ -27,4 +31,8 @@ class search { public static function start($params){ $search = new search($params); } + + public static function updateConfig($updated){ + + } } \ No newline at end of file diff --git a/class/Todo.php b/class/Todo.php index 45f1ab0..f0cc985 100644 --- a/class/Todo.php +++ b/class/Todo.php @@ -1,6 +1,13 @@ setParams($params); + $this->setParams($params); $ville = $params['city']; include 'GoogleMeteo.php'; echo ' @@ -23,7 +26,7 @@ class weather { '; } - private static function setParams($params){ + private function setParams($params){ $this->params = $params; } diff --git a/db/config.xml b/db/config.xml index da6c3d3..5e3e91b 100644 --- a/db/config.xml +++ b/db/config.xml @@ -36,7 +36,7 @@ 10 'Times New Roman, serial' '20px' - '%A %d %B %Y - %H:%m:%S' + '%A %d %B %Y - %H:%M:%S' '#000'