- Message threadlist: | ".select_from_array("forum_sort", $forum_sort_styles, getSortStyle($user,"forum"))." |
- Message posts: | ".select_from_array("thread_sort", $thread_sort_styles, getSortStyle($user,"thread"))." |
- Q&A questionlist: | ".select_from_array("faq_sort", $faq_sort_styles, getSortStyle($user,"faq"))." |
- Q&A questions: | ".select_from_array("answer_sort", $answer_sort_styles, getSortStyle($user,"answer"))." |
+ Message threadlist: | ".select_from_array("forum_sort", $forum_sort_styles, $user->getForumSortStyle())." |
+ Message posts: | ".select_from_array("thread_sort", $thread_sort_styles, $user->getThreadSortStyle())." |
"
);
-if ($user->link_popup==1){$forum_link_externally="checked=\"checked\"";} else {$forum_link_externally="";}
-if ($user->images_as_links==1){$forum_image_as_link="checked=\"checked\"";} else {$forum_image_as_link="";}
-if ($user->jump_to_unread==1){$forum_jump_to_unread="checked=\"checked\"";} else {$forum_jump_to_unread="";}
-if ($user->ignore_sticky_posts==1){$forum_ignore_sticky_posts="checked=\"checked\"";} else {$forum_ignore_sticky_posts="";}
+if ($user->hasLinkPopup()){$forum_link_externally="checked=\"checked\"";} else {$forum_link_externally="";}
+if ($user->hasImagesAsLinks()){$forum_image_as_link="checked=\"checked\"";} else {$forum_image_as_link="";}
+if ($user->hasJumpToUnread()){$forum_jump_to_unread="checked=\"checked\"";} else {$forum_jump_to_unread="";}
+if ($user->hasIgnoreStickyPosts()){$forum_ignore_sticky_posts="checked=\"checked\"";} else {$forum_ignore_sticky_posts="";}
-$forum_minimum_wrap_postcount = intval($user->minimum_wrap_postcount);
-$forum_display_wrap_postcount = intval($user->display_wrap_postcount);
+$forum_minimum_wrap_postcount = intval($user->getMinimumWrapPostcount());
+$forum_display_wrap_postcount = intval($user->getDisplayWrapPostcount());
-row2("Display and Behavior".
+row1("Display and Behavior");
+row2(
"