Exemple #1
0
echo $space->getFollowerCount();
?>
</span><br>
                            <span
                                class="title"><?php 
echo Yii::t('SpaceModule.widgets_views_profileHeader', 'Followers');
?>
</span>
                        </div>

                    </div>
                    <!-- end: User statistics -->

                    <div class="controls controls-header pull-right">
                        <?php 
echo humhub\modules\space\widgets\HeaderControls::widget(['widgets' => [[\humhub\modules\space\widgets\InviteButton::className(), ['space' => $space], ['sortOrder' => 10]], [\humhub\modules\space\widgets\MembershipButton::className(), ['space' => $space], ['sortOrder' => 20]], [\humhub\modules\space\widgets\FollowButton::className(), ['space' => $space], ['sortOrder' => 30]]]]);
?>

                        <?php 
echo humhub\modules\space\modules\manage\widgets\Menu::widget(['space' => $space, 'template' => '@humhub/widgets/views/dropdownNavigation']);
?>
                    </div>
                </div>
            </div>

        </div>


    </div>

</div>
Exemple #2
0
?>
</span><br>
                                <span
                                    class="title"><?php 
echo Yii::t('SpaceModule.widgets_views_profileHeader', 'Followers');
?>
</span>
                            </div>
                        </a>

                    </div>
                    <!-- end: User statistics -->

                    <div class="controls controls-header pull-right">
                        <?php 
echo humhub\modules\space\widgets\HeaderControls::widget(['widgets' => [[\humhub\modules\space\widgets\InviteButton::className(), ['space' => $space], ['sortOrder' => 10]], [\humhub\modules\space\widgets\MembershipButton::className(), ['space' => $space], ['sortOrder' => 20]], [\humhub\modules\space\widgets\FollowButton::className(), ['space' => $space, 'followOptions' => ['class' => 'btn btn-primary'], 'unfollowOptions' => ['class' => 'btn btn-info']], ['sortOrder' => 30]]]]);
?>
                        <?php 
echo humhub\modules\space\widgets\HeaderControlsMenu::widget(['space' => $space, 'template' => '@humhub/widgets/views/dropdownNavigation']);
?>
                    </div>
                </div>
            </div>

        </div>


    </div>

</div>