Changeset 7387 for trunk/inc/classes/BxDolSharedMediaView.php
- Timestamp:
- 10/31/08 11:35:27 (4 years ago)
- File:
-
- 1 edited
-
trunk/inc/classes/BxDolSharedMediaView.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/classes/BxDolSharedMediaView.php
r7372 r7387 30 30 $this->oShared = new BxDolSharedMedia($sMediaType, $aSite, $aDir, $aMember); 31 31 $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); 44 33 45 34 parent::BxDolPageView($sMediaType); … … 379 368 $sCode = '<center>' . _t('_Gallery video rating is not enabled') . '</center>'; 380 369 381 $oVotingView = new BxTemplVotingView ( 'g'.$this->sType, $this->iFile);370 $oVotingView = new BxTemplVotingView ($this->oShared->sPseud, $this->iFile); 382 371 if( $oVotingView->isEnabled()) 383 372 $sCode = $oVotingView->getBigVoting ();
Note: See TracChangeset
for help on using the changeset viewer.