From 36be8018b4ef7b977689e804c976821cd7e7a4c6 Mon Sep 17 00:00:00 2001 From: leosw Date: Sun, 13 Jul 2025 14:14:16 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20du=20support=20pout=20php=208.2=20en=20?= =?UTF-8?q?supprimant=20la=20cr=C3=A9ation=20de=20propri=C3=A9t=C3=A9s=20d?= =?UTF-8?q?ynamiques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/d.users.php | 9 ++++++++- models/d.wiki.php | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/models/d.users.php b/models/d.users.php index fd7eaee..91ff11d 100755 --- a/models/d.users.php +++ b/models/d.users.php @@ -38,6 +38,13 @@ class User public $visit_date = NULL; public $register_date = NULL; + public $date_format; + public $datetime_format; + public $datetimeshort_format; + public $locale_obj; + public $locale_loaded = false; + + /***** ** Connect to correct account using ID and stores its ID *****/ @@ -119,7 +126,7 @@ class User return ''.$ranks[$this->rank][1].''; } public function get_locale() { - if( isset($this->locale_loaded) ) { + if( $this->locale_loaded) { return $this->locale_obj->display_name; } else { diff --git a/models/d.wiki.php b/models/d.wiki.php index e26e419..6532529 100755 --- a/models/d.wiki.php +++ b/models/d.wiki.php @@ -30,6 +30,8 @@ class WikiPage public $name = NULL; public $content = NULL; + public $content_html; + /***** ** Checks if a page at this ermalink exists and return the populated element *****/