public function __construct($objParentControl, $strControlId = null)
 {
     parent::__construct($objParentControl, $strControlId);
     $this->strTemplate = __DOCROOT__ . __TPL_ASSETS__ . '/panels/facebook/MJaxFacebookLoginPanel.tpl.php';
     $this->lnkLogin = new MJaxLinkButton($this);
     $this->lnkLogin->Text = 'Facebook Login';
 }
 public function Render($blnPrint = true)
 {
     $this->strText = '';
     foreach ($this->arrSlides as $objSlide) {
         $this->strText .= $objSlide->Render();
     }
     return parent::Render($blnPrint);
 }
 public function __construct($objParentControl, $strControlId = null, $intIncriment = 400)
 {
     parent::__construct($objParentControl, $strControlId);
     $this->intIncriment = $intIncriment;
     $cssClass = MJaxApplication::CssClass(MJaxCssClass::SCROLLBAR_HOLDER);
     $this->AddCssClass($cssClass);
     $cssClass = MJaxApplication::CssClass(MJaxCssClass::SCROLLBAR_SLIDER);
     $this->pnlSlider = new MJaxPanel($this, 'pnlSlider' . $this->strControlId);
     $this->pnlSlider->AddCssClass($cssClass);
 }
 public function Render($blnPrint = true)
 {
     $strText = "<div style='position:relitive'><div style='width:400Px; margin-left:auto; margin-right:auto;'>";
     $strText .= $this->strText;
     if ($this->blnAutoRenderChildren) {
         foreach ($this->arrChildControls as $objChildControl) {
             $strText .= $objChildControl->Render(false);
         }
         $this->blnAutoRenderChildren = false;
     }
     $strText .= "</div></div>";
     $this->strText = $strText;
     $strRendered = parent::Render($blnPrint);
     if ($blnPrint) {
         _p($strRendered, false);
     } else {
         return $strRendered;
     }
 }
 public function __construct($objParentControl, $strControlId = null)
 {
     parent::__construct($objParentControl, $strControlId);
     $this->strTemplate = __DOCROOT__ . __VIRTUAL_DIRECTORY__ . __TPL_ASSETS__ . '/mjax_panels/' . get_class($this) . '.tpl.php';
 }