Changeset 1295 in ExiteCMS for trunk/forum/viewthread.php


Ignore:
Timestamp:
02/20/08 23:47:36 (4 years ago)
Author:
hverton
Message:

added an admin module to edit the 404 pages
fixed error in viewthread.php that caused the country flag of the superadmin to be displayed for every post author
fixed calculation error in datediff() when displaying the time difference within 24 hours
fixed HTML error in admin.custom_pages.tpl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/viewthread.php

    r1280 r1295  
    292292        // country flag 
    293293        if ($settings['forum_flags']) { 
    294             if ($settings['hide_webmaster'] && iSUPERADMIN) { 
     294            // swap flags if we're hiding the webmasters true country of origin 
     295            if ($settings['hide_webmaster'] && $post['user_level'] == 103) { 
    295296                $data['cc_flag'] = GeoIP_Code2Flag($settings['country']); 
    296297            } else { 
Note: See TracChangeset for help on using the changeset viewer.