summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-02-24 04:31:31 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-02-24 04:31:31 +0000
commitd30590de23f2b9a138ec6923016c4e9af6b9a989 (patch)
tree4150d1f3540ea75a405841b73647e6cc2f2e3382 /lib
parentcab322d21b8c8077192a1396bf13050d734c2aba (diff)
Print stylesheet
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/action.php b/lib/action.php
index 455ebeff0..dd7dd44e7 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -173,6 +173,10 @@ class Action extends HTMLOutputter // lawsuit
// TODO: "handheld" CSS for other mobile devices
'media' => 'only screen and (max-device-width: 480px)')); // Mobile WebKit
}
+ $this->element('link', array('rel' => 'stylesheet',
+ 'type' => 'text/css',
+ 'href' => theme_path('css/print.css', 'base') . '?version=' . LACONICA_VERSION,
+ 'media' => 'print'));
Event::handle('EndShowLaconicaStyles', array($this));
}
if (Event::handle('StartShowUAStyles', array($this))) {