Changeset 7387 for trunk/inc/classes/BxDolSharedMedia.php
- Timestamp:
- 10/31/08 11:35:27 (4 years ago)
- File:
-
- 1 edited
-
trunk/inc/classes/BxDolSharedMedia.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/classes/BxDolSharedMedia.php
r7372 r7387 11 11 // can be music, photo, video 12 12 var $sType; 13 14 // can be music, photo, video 15 var $sPseud; 13 16 14 17 // name of css file … … 78 81 $sMediaType = process_db_input($sMediaType); 79 82 $sName = ucfirst($sMediaType); 83 $this->sPseud = 'shared'.$sName; 80 84 81 85 $this->aConfigSite = $aSite; … … 318 322 319 323 if (!$bAdmin) { 320 $oVotingView = new BxTemplVotingView ( 'g'.$this->sType, $aData['medID']);324 $oVotingView = new BxTemplVotingView ($this->sPseud, $aData['medID']); 321 325 if( $oVotingView->isEnabled()) { 322 326 $sRate = $oVotingView->getSmallVoting (0); … … 485 489 case 'top': 486 490 if( $mode == $myMode ) { 487 $oVotingView = new BxTemplVotingView ( 'g'.$this->sType, 0, 0);491 $oVotingView = new BxTemplVotingView ($this->sPseud, 0, 0); 488 492 $aSql = $oVotingView->getSqlParts('`'.$this->sMainTable.'`', '`'.$this->aTableFields['medID'].'`'); 489 493 $sHow = "DESC"; … … 530 534 $sHref = $this->getFileUrl($aData['medID'], $aData['medUri']); 531 535 532 $oVotingView = new BxTemplVotingView ( 'g'.$this->sType, $aData['medID']);536 $oVotingView = new BxTemplVotingView ($this->sPseud, $aData['medID']); 533 537 if( $oVotingView->isEnabled()) { 534 538 $sRate = $oVotingView->getSmallVoting (0); … … 950 954 951 955 if (isset($_GET['rate'])) { 952 $oVotingView = new BxTemplVotingView ( 'g'.$this->sType, 0, 0);956 $oVotingView = new BxTemplVotingView ($this->sPseud, 0, 0); 953 957 954 958 $aSql = $oVotingView->getSqlParts('`'.$this->sMainTable.'`', '`'.$this->aTableFields['medID'].'`');
Note: See TracChangeset
for help on using the changeset viewer.