<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/projection.css'); $this->storage->pageId = 'projection-page'; $this->storage->metatags->setTitle('Rzuty projektu adaptacji - '); $this->storage->metatags->setDescription('rzuty w svg'); $this->storage->metatags->setKeywords('projekt'); $link = new Model_Link_Container(); $link->setTitle('Rzuty projektu remontu i adapcji domu')->setRoot(); $this->storage->breadcrumbs->set(0, $link); $event = new Manager_Event(); $event->setName('fluid')->setClass('Projection_Module_Image'); $this->add($event); /* nawigacja */ $url = '/rzut,k,'; $nav = new Model_Collection(); $link = new Model_Link_Container(); $link->setId(1)->setUrl($url . 'parter-inwent')->setTitle('Rzut parteru')->setClass('parter'); $nav->append($link); $link = new Model_Link_Container(); $link->setId(2)->setUrl($url . 'poddasze-inwent')->setTitle('Rzut poddasza')->setClass('poddasze'); $nav->append($link); $link = new Model_Link_Container(); $link->setId(3)->setUrl($url . 'piwnica')->setTitle('Rzut piwnicy')->setClass('piwnica'); $nav->append($link); /* $link = new Model_Link_Container(); $link->setId(4)->setUrl($url . 'front-polnoc' )->setTitle('Rzut frontu północnego')->setClass('front-polnoc'); $nav->append($link);*/ $link = new Model_Link_Container();
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/contact.css'); $this->storage->pageId = 'contact-page'; $link = new Model_Link_Container(); $link->setTitle('Kontakt'); $this->storage->breadcrumbs->set(1, $link); $this->storage->metatags->setTitle('Formularz kontaktowy - '); $this->storage->metatags->setDescription('Kontakt.', 'append'); //$event = new Manager_Event(); //$event->setName('main')->setClass('Contact_Module_Main'); $event = new Manager_Event(); $event->setName('main')->setClass('Contact_Module_Main'); $this->add($event); $event = new Manager_Event(); $event->setName('aside')->setClass('Module_Module')->setTemplate('contact/view/aside.phtml'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony kontaktu'); }
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/gallery.css'); $this->storage->pageId = 'gallery-page'; $link = new Model_Link_Container(); $link->setTitle('Galeria inwestycji'); $this->storage->breadcrumbs->set(1, $link); $this->storage->metatags->setTitle('Galeria - '); $this->storage->metatags->setDescription('Galeria zdjęć obiektu inwestycji.', 'append'); $this->storage->metatags->setKeywords('zdjęcia,dom,'); //$this->config('offer/config/nav'); $event = new Manager_Event(); $event->setName('fluid')->setClass('Gallery_Module_List'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony listy galerii'); }
/** * navigation start */ $nav = new Model_Collection(); $link = new Model_Link_Container(); $link->setUrl('/')->setTitle('Strona główna')->setClass('front-page'); $nav->append($link); $link = new Model_Link_Container(); $link->setUrl('/rzut')->setTitle('Rzuty')->setClass('image-page'); $nav->append($link); $link = new Model_Link_Container(); $link->setUrl('/kontakt')->setTitle('Dojazd')->setClass('contact-page'); $nav->append($link); $link = new Model_Link_Container(); $link->setUrl('/galeria')->setTitle('Galeria ')->setClass('gallery-page'); $nav->append($link); /** * navigation end */ $event = new Manager_Event(); $event->setName('header')->setClass('Module_Module')->setTemplate('common/view/header.phtml')->setOut(array('title' => 'Strona domowa szkółki')); $this->add($event); $event = new Manager_Event(); $event->setName('nav')->setClass('Common_Module_Nav')->setTemplate('common/view/nav.phtml')->setOut(array('title' => 'nawigacja serwisu', 'cssClass' => 'main-service-nav', 'list' => $nav)); $this->add($event); $event = new Manager_Event(); $event->setName('footer')->setClass('Module_Module')->setTemplate('common/view/footer.phtml'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla podtawowych elementow strony'); }
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/cookie.css'); $this->storage->pageId = 'cookie-policy-page'; $this->storage->metatags->setTitle('Polityka cookie - '); $this->storage->metatags->setDescription('Informacje o polityce cookie.'); $this->storage->metatags->setKeywords('polityka cookie, cookie,'); $link = new Model_Link_Container(); $link->setTitle('Polityka cookie')->setRoot(); $this->storage->breadcrumbs->set(1, $link); $event = new Manager_Event(); $event->setName('main')->setClass('Module_Module')->setTemplate('index/view/cookie.phtml'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony głównej'); }
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->metatags->setTitle('Strona chwilowo niedostępna. Prosimy spróbować ponownie.', false); $this->storage->metatags->setDescription('Strona chwilowo niedostępna', false); $this->storage->metatags->setKeywords('', false); $event = new Manager_Event(); $event->setName('init')->setClass('Manager_Response')->setIn(array('response_code' => 503)); $this->add($event); $event = new Manager_Event(); $event->setName('fluid')->setClass('Module_Module')->setTemplate('common/view/error.phtml')->setOut(array('code' => 503)); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony błędu 503'); }
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/basic'); $this->storage->scripts->setCss('/css/index.css'); $this->storage->pageId = 'front-page'; $this->storage->metatags->setTitle('Strona główna projektu adaptacji - '); $this->storage->metatags->setDescription('Remont domu'); $this->storage->metatags->setKeywords('remont'); $link = new Model_Link_Container(); $link->setTitle('Remont')->setRoot(); $this->storage->breadcrumbs->set(0, $link); $event = new Manager_Event(); $event->setName('fluid')->setClass('Index_Module_Fluid'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony głównej'); }
<?php if ($this instanceof Manager_Controller) { $this->config('common/config/ajax'); $event = new Manager_Event(); $event->setName('ajax')->setClass('Projection_Module_Svg'); $this->add($event); } else { throw new Manager_Config_Exception('błąd konfiguracji dla strony głównej'); }