示例#1
0
 function showSections()
 {
     $this->showSubscriptions();
     $this->showSubscribers();
     $this->showGroups();
     $this->showStatistics();
     $cloud = new PersonalTagCloudSection($this, $this->user);
     $cloud->show();
 }
示例#2
0
 function onStartShowSections(&$act)
 {
     global $action;
     $this->clear_xmlWriter($act);
     switch ($action) {
         case "showstream":
             $act->showSubscriptions();
             $this->blocks['subscriptions'] = $act->xw->flush();
             $act->showSubscribers();
             $this->blocks['subscribers'] = $act->xw->flush();
             $act->showGroups();
             $this->blocks['groups'] = $act->xw->flush();
             $act->showStatistics();
             $this->blocks['statistics'] = $act->xw->flush();
             $cloud = new PersonalTagCloudSection($act, $act->user);
             $cloud->show();
             $this->blocks['cloud'] = $act->xw->flush();
             break;
         case "showgroup":
             $act->showMembers();
             $this->blocks['groupmembers'] = $act->xw->flush();
             $act->showStatistics();
             $this->blocks['groupstatistics'] = $act->xw->flush();
             $cloud = new GroupTagCloudSection($act, $act->group);
             $cloud->show();
             $this->blocks['groupcloud'] = $act->xw->flush();
             break;
         case "public":
             $pop = new PopularNoticeSection($act);
             $pop->show();
             $this->blocks['popular'] = $act->xw->flush();
             $gbp = new GroupsByPostsSection($act);
             $gbp->show();
             $this->blocks['groupsbyposts'] = $act->xw->flush();
             $feat = new FeaturedUsersSection($act);
             $feat->show();
             $this->blocks['featuredusers'] = $act->xw->flush();
             break;
         case "groups":
             $gbp = new GroupsByPostsSection($act);
             $gbp->show();
             $this->blocks['groupsbyposts'] = $act->xw->flush();
             $gbm = new GroupsByMembersSection($act);
             $gbm->show();
             $this->blocks['groupsbymembers'] = $act->xw->flush();
             break;
     }
     return false;
 }
示例#3
0
 function showSections()
 {
     parent::showSections();
     if (!common_config('performance', 'high')) {
         $cloud = new PersonalTagCloudSection($this, $this->user);
         $cloud->show();
     }
 }
示例#4
0
 function showSections()
 {
     parent::showSections();
     $cloud = new PersonalTagCloudSection($this, $this->user);
     $cloud->show();
 }