Example #1
0
 public function view()
 {
     $tArray = array();
     $tArray2 = array();
     $tArray = PageTheme::getList();
     $tArray2 = PageTheme::getAvailableThemes();
     $this->set('tArray', $tArray);
     $this->set('tArray2', $tArray2);
     $siteThemeID = 0;
     $obj = PageTheme::getSiteTheme();
     if (is_object($obj)) {
         $siteThemeID = $obj->getThemeID();
     }
     $this->set('siteThemeID', $siteThemeID);
     $this->set('activate', View::url('/dashboard/pages/themes', 'activate'));
     $this->set('install', View::url('/dashboard/pages/themes', 'install'));
 }