Forráskód Böngészése

Merge branch 'master' of https://github.com/unaio/una

AlexeyUna 8 éve
szülő
commit
66edebd013

+ 9 - 5
modules/base/groups/classes/BxBaseModGroupsModule.php

@@ -599,13 +599,17 @@ class BxBaseModGroupsModule extends BxBaseModProfileModule
     {
         $CNF = &$this->_oConfig->CNF;
 
-        if(!isset($CNF['FIELD_PICTURE']) || empty($aContentInfo[$CNF['FIELD_PICTURE']]))
-            return array();
-
         $oGroupProfile = BxDolProfile::getInstanceByContentAndType($aEvent['object_id'], $this->getName());
 
-        return array(
-		    array('url' => $sUrl, 'src' => $oGroupProfile->getPicture()),
+        $sSrc = '';
+        if(isset($CNF['FIELD_COVER']) && !empty($aContentInfo[$CNF['FIELD_COVER']]))
+            $sSrc = $oGroupProfile->getCover();
+
+        if(empty($sSrc) && isset($CNF['FIELD_PICTURE']) && !empty($aContentInfo[$CNF['FIELD_PICTURE']]))
+             $sSrc = $oGroupProfile->getPicture();
+
+        return empty($sSrc) ? array() : array(
+		    array('url' => $sUrl, 'src' => $sSrc, 'src_orig' => $sSrc),
 		);
     }
 

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
modules/boonex/dolphin_migration/template/images/icons/std-icon.svg


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott