X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FIdxController.php;h=217295bbc0c9c9d08016bcfd749036707fbbe63d;hp=d0fa248f7c3bb4d8deb7f7ed2b521912aca29d2c;hb=7ab93faefae14af39fc5449a2c3311dd68d2c0f9;hpb=38bedcd63499189e0584bfff6e44ae4018283eb1 diff --git a/application/controllers/IdxController.php b/application/controllers/IdxController.php index d0fa248..217295b 100644 --- a/application/controllers/IdxController.php +++ b/application/controllers/IdxController.php @@ -7,20 +7,15 @@ class IdxController extends Zend_Controller_Action public function init() { $this->_helper->SyjMedias->addScripts('idx'); - $this->view->headLink()->appendStylesheet('css/olstyle.css', "all"); - $this->view->headLink()->appendStylesheet('css/generic.css', "all"); - $this->view->headLink()->appendStylesheet('css/syj.css', "all"); - $this->view->headLink()->appendStylesheet('css/syjprint.css', "print"); + $this->_helper->SyjMedias->addStyleSheets('idx'); $this->view->headMeta()->appendName('viewport', 'width=640px'); } public function rawmode(Syj_Model_Path $path) { $this->_helper->SyjReset->resetPlaceHolders(); $this->_helper->SyjMedias->addScripts('rawidx'); + $this->_helper->SyjMedias->addStyleSheets('rawidx'); - $this->view->headLink()->appendStylesheet('css/generic.css', "screen"); - $this->view->headLink()->appendStylesheet('css/syjraw.css', "screen"); - $this->view->headLink()->appendStylesheet('css/syjprint.css', "print"); $this->view->headTitle($path->displayTitle); $this->_jsRawLocaleStrings();