Exemplo n.º 1
0
 function display($tpl = null)
 {
     Bt_SocialconnectLegacyHelper::getCSS();
     $this->legacy = Bt_SocialconnectLegacyHelper::isLegacy();
     Bt_SocialconnectAdminHelper::addSubmenu('cpanel');
     $this->addToolBar();
     /*---------------*/
     $buttons = $this->getButtons();
     $channel = $this->getSocials();
     $extension = $this->getExtension();
     $widget = $this->getWidget();
     $user = $this->getUser();
     $number_click = $this->getClick();
     $content = $this->getContent();
     //Assign
     $this->assign('buttons', $buttons);
     $this->assign('channel', $channel);
     $this->assign('extension', $extension);
     $this->assign('widget', $widget);
     $this->assign('user', $user);
     $this->assign('number_click', $number_click);
     $this->assign('content', $content);
     parent::display($tpl);
     $this->setDocument();
 }