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 *****/