HomeHelpTrac

Ignore:
Timestamp:
10/31/08 11:35:27 (4 years ago)
Author:
nell
Message:

Changed alerts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/classes/BxDolSharedMediaView.php

    r7372 r7387  
    3030        $this->oShared = new BxDolSharedMedia($sMediaType, $aSite, $aDir, $aMember); 
    3131        $this->aInfo   = $this->getFileInfo(); 
    32         switch ($this->sType) { 
    33             case 'photo':  
    34                 $sComms = 'sharedPhoto'; 
    35                 break; 
    36             case 'music': 
    37                 $sComms = 'sharedMusic'; 
    38                 break; 
    39             case 'video': 
    40                 $sComms = 'sharedVideo'; 
    41                 break; 
    42         } 
    43         $this->oCmtsView = new BxTemplCmtsView ($sComms, (int)$this->iFile); 
     32        $this->oCmtsView = new BxTemplCmtsView ($this->oShared->sPseud, (int)$this->iFile); 
    4433     
    4534        parent::BxDolPageView($sMediaType); 
     
    379368        $sCode = '<center>' . _t('_Gallery video rating is not enabled') . '</center>'; 
    380369     
    381         $oVotingView = new BxTemplVotingView ('g'.$this->sType, $this->iFile); 
     370        $oVotingView = new BxTemplVotingView ($this->oShared->sPseud, $this->iFile); 
    382371        if( $oVotingView->isEnabled()) 
    383372            $sCode = $oVotingView->getBigVoting (); 
Note: See TracChangeset for help on using the changeset viewer.