Make WordPress Core


Ignore:
Timestamp:
06/15/2003 10:48:49 PM (22 years ago)
Author:
mikelittle
Message:

tablesettings no longer used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/b2header.php

    r212 r229  
    1616get_currentuserinfo();
    1717
    18 $request = "SELECT * FROM $tablesettings";
    19 $result = mysql_query($request);
    20 $querycount++;
    21 while($row = mysql_fetch_object($result)) {
    22     $posts_per_page=$row->posts_per_page;
    23     $what_to_show=$row->what_to_show;
    24     $archive_mode=$row->archive_mode;
    25     $time_difference=$row->time_difference;
    26     $date_format=stripslashes($row->date_format);
    27     $time_format=stripslashes($row->time_format);
    28 }
     18$posts_per_page=get_settings('posts_per_page');
     19$what_to_show=get_settings('what_to_show');
     20$archive_mode=get_settings('archive_mode');
     21$time_difference=get_settings('time_difference');
     22$date_format=stripslashes(get_settings('date_format'));
     23$time_format=stripslashes(get_settings('time_format'));
    2924
    3025// let's deactivate quicktags on IE Mac and Lynx, because they don't work there.
Note: See TracChangeset for help on using the changeset viewer.