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


Ignore:
Timestamp:
09/28/07 22:07:51 (5 years ago)
Author:
hverton
Message:

fixed SVN inconsistency due to a renaming error
updated the forum template because the theme images moved
added a CSS tag for thumbnails in renderpost, and removed hardcoded styles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/viewthread.php

    r843 r850  
    248248        // check what options to show for this post 
    249249        $data['user_can_edit'] = iMEMBER && $data['post_author'] != 0 && (iMOD || iSUPERADMIN || (!$tdata['thread_locked'] && $userdata['user_id'] == $data['post_author'])); 
    250         $data['show_ip'] = (iMOD || iSUPERADMIN && ($data['post_ip'] != "0.0.0.0" && file_exists(PATH_THEME."forum/ip.gif"))); 
     250        $data['show_ip'] = (iMOD || iSUPERADMIN && ($data['post_ip'] != "0.0.0.0" && file_exists(PATH_THEME."images/ip.gif"))); 
    251251     
    252252        // country flag 
     
    324324                        $adata['size'] = parsebytesize(filesize($file),0); 
    325325                        if (in_array($adata['attach_ext'], $imagetypes)) { 
    326                             // check if it really is an image 
    327                             $imageinfo = @getimagesize($attachrealfile); 
     326                            // check if it really is an image\ 
     327                            $imageinfo = @getimagesize($file); 
    328328                            if (is_array($imageinfo)) { 
    329329                                $adata['is_image'] = true; 
Note: See TracChangeset for help on using the changeset viewer.