Changeset 780 for trunk


Ignore:
Timestamp:
04/15/11 12:25:22 (13 months ago)
Author:
r2
Message:

просмотр простых галерей

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/photos/frontend.php

    r771 r780  
    228228                                                        $con['photolink2']      = '/photos/photo'.$con['id'].'.html'; 
    229229                                                } else { 
    230                                                         $con['photolink']       = '/images/photos/'.$con['file']; 
    231                                                         $con['photolink2']      = '/images/photos/'.$con['file']; 
     230                                                        $con['photolink']       = '/images/photos/medium/'.$con['file']; 
     231                                                        $con['photolink2']      = '/images/photos/medium/'.$con['file']; 
    232232                                                } 
    233233                    } 
     
    324324                $inCore->loadLib('karma'); 
    325325                 
    326                 if ($photo['a_type'] != 'simple'){ 
    327  
    328326                $is_author = $photo['user_id'] == $inUser->id; 
    329327 
     
    373371                                comments('photo', $photo['id']); 
    374372                        } 
    375                          
    376                 }                        
     373                                                         
    377374} 
    378375/////////////////////////////// PHOTO UPLOAD ///////////////////////////////////////////////////////////////////////////////////////// 
Note: See TracChangeset for help on using the changeset viewer.