X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=application%2Fcontrollers%2FIdxController.php;h=4fc9aaf45e965e175f8e2b082a9bccc1193e6edd;hb=d2be74af6341636c22c825058be722b460360e8b;hp=d0fa248f7c3bb4d8deb7f7ed2b521912aca29d2c;hpb=4022a532856c006efc57fbd8830bde4607c0114d;p=syj.git
diff --git a/application/controllers/IdxController.php b/application/controllers/IdxController.php
index d0fa248..4fc9aaf 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->view->headMeta()->appendName('viewport', 'width=640px');
+ $this->_helper->SyjMedias->addStyleSheets('idx');
+ $this->view->headMeta()->appendName('viewport', 'width=640');
}
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();
@@ -149,7 +144,6 @@ class IdxController extends Zend_Controller_Action
protected function _jsRawLocaleStrings() {
$this->view->jslocales = array(
'osmAttribution' => __("Map by OpenStreetMap"),
- 'mapquestAttribution' => __("Map by MapQuest, OpenStreetMap and contributors, CC-BY-SA"),
);
}
@@ -175,7 +169,6 @@ class IdxController extends Zend_Controller_Action
'canResubmit' => __("Now, you can retry to save"),
'routeBy' => __("route by"),
'osmAttribution' => __("Map by OpenStreetMap"),
- 'mapquestAttribution' => __("Map by MapQuest, OpenStreetMap and contributors, CC-BY-SA"),
'pseudoChecking' => __("checking availibilty"),
'availablePseudo' => __("available pseudo"),
'unavailablePseudo' => __("unavailable pseudo"),