X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=application%2Fcontrollers%2FIdxController.php;h=d0fa248f7c3bb4d8deb7f7ed2b521912aca29d2c;hb=38bedcd63499189e0584bfff6e44ae4018283eb1;hp=2c0e4d702f1e97d9879b04ab591b5a306629822a;hpb=e534c17db2f3986751f4a96900e4aaae56d34873;p=syj.git
diff --git a/application/controllers/IdxController.php b/application/controllers/IdxController.php
index 2c0e4d7..d0fa248 100644
--- a/application/controllers/IdxController.php
+++ b/application/controllers/IdxController.php
@@ -10,14 +10,17 @@ class IdxController extends Zend_Controller_Action
$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');
}
public function rawmode(Syj_Model_Path $path) {
$this->_helper->SyjReset->resetPlaceHolders();
$this->_helper->SyjMedias->addScripts('rawidx');
- $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
- $this->view->headLink()->appendStylesheet('css/syjraw.css', 'all');
+ $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();
@@ -146,6 +149,7 @@ 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"),
);
}
@@ -171,6 +175,7 @@ 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"),