OLD | NEW |
1 <?php | 1 <?php |
2 class AnwActionOverride_view extends AnwActionDefault_view | 2 class AnwActionOverride_view extends AnwActionDefault_view |
3 { | 3 { |
4 function setAsCurrentAction() | 4 function setAsCurrentAction() |
5 { | 5 { |
6 parent::setAsCurrentAction(); | 6 parent::setAsCurrentAction(); |
7 | 7 |
8 $static = AnwComponent::getGlobalUrlStaticOverride(); | 8 $static = AnwComponent::getGlobalUrlStaticOverride(); |
9 | 9 |
10 $HTML = <<<EOF | 10 $HTML = <<<EOF |
11 | 11 |
12 | 12 |
13 <link rel="stylesheet" href="${static}css/main.css" class="cssfx"/> | 13 <link rel="stylesheet" href="${static}css/main.css" class="cssfx"/> |
14 <link rel="stylesheet" href="${static}css/main-desktop.css" media="(min-widt
h: 40.5em)" class="cssfx"/> | 14 <link rel="stylesheet" href="${static}css/main-desktop.css" media="(min-widt
h: 40.5em)" class="cssfx"/> |
15 <link rel="stylesheet" href="${static}css/main-mobile.css" media="screen and
(max-width: 40.5em)"/> | 15 <link rel="stylesheet" href="${static}css/main-mobile.css" media="screen and
(max-width: 40.5em)"/> |
16 <noscript> | |
17 <link rel="stylesheet" href="${static}css/noscript-desktop.css" media="(mi
n-width: 40.5em)"/> | |
18 <link rel="stylesheet" href="${static}css/noscript-mobile.css" media="scre
en and (max-width: 40.5em)"/> | |
19 </noscript> | |
20 | 16 |
21 EOF; | 17 EOF; |
22 | 18 |
23 $this->head($HTML); | 19 $this->head($HTML); |
24 } | 20 } |
25 } | 21 } |
26 ?> | 22 ?> |
OLD | NEW |