public function render()
 {
     $this->inner_HTML = $this->generate_inner_html($this->links);
     $content = parent::render();
     return $content;
 }
 public function render()
 {
     $content = parent::render();
     return $content;
 }
示例#3
0
$header->set('current_theme_path', $current_theme_path);
$module2 = new LinkModule($links['myself']);
$module2->mode = PRI;
$module2->title = "Published Links";
$module2->orientation = LEFT;
$module1 = new ShowContentModule($contents);
$module1->title = "Community Content";
$module3 = new LinkModule($links['myself']);
$module3->mode = PRI;
$module3->block_type = 'Homepage';
$module3->title = "My Links";
$module3->orientation = LEFT;
$module4 = new GroupModule($group_details);
$module4->block_type = "GroupList";
$module4->title = "GroupList";
$module5 = new GroupModule($contents);
$module5->block_type = "GroupCategory";
$module5->title = "GroupCategory";
$module6 = new ContentModule($contents);
$module6->title = "Community blog Content";
print $header->fetch();
print $module2->render();
print '<div style="float:left; margin-left:10px;">';
print $module1->render();
print $module4->render();
print $module5->render();
print $module6->render();
print '</div>';
print '<div style="float:left; margin-left:10px;">';
print $module3->render();
print '</div>';