summaryrefslogtreecommitdiff
path: root/themes/default/views/page.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-20 17:32:58 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-20 17:32:58 +0000
commitb78cee63950479abfa78df37a03388007f332543 (patch)
treecfd7c24d31d76ef94702fe11ab6164adf88612d9 /themes/default/views/page.html.php
parente2b040c6ae3797a5d6ec6c0f05f6bf3194e07c52 (diff)
A look at away to allow modules to define html head contents (links and js) and also allow modules to contribute blocks to the layout.
Diffstat (limited to 'themes/default/views/page.html.php')
-rw-r--r--themes/default/views/page.html.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php
index 1f744eba..345e78e8 100644
--- a/themes/default/views/page.html.php
+++ b/themes/default/views/page.html.php
@@ -11,14 +11,13 @@
media="screen,print,projection" />
<link rel="stylesheet" type="text/css" href="<?= $theme->url("css/screen.css") ?>"
media="screen,print,projection" />
- <link rel="alternate" type="application/rss+xml"
- href="<?= url::site("media_rss/feed/{$theme->item()->id}") ?>"
- />
+ <?= $theme->block(dynamic_block::HEAD_LINK) ?>
<script src="<?= url::file("lib/jquery.js") ?>" type="text/javascript"></script>
<script src="<?= url::file("lib/jquery.form.js") ?>" type="text/javascript"></script>
+ <?= $theme->block(dynamic_block::HEAD_SCRIPT) ?>
+ <!-- The following scripts would be added via the theme block mechanism -->
<script src="<?= $theme->url("js/user.js") ?>" type="text/javascript"></script>
<script src="<?= $theme->url("js/comment.js") ?>" type="text/javascript"></script>
- <script src="http://lite.piclens.com/current/piclens.js" type="text/javascript"></script>
<? if ($user): ?>
<script src="<?= url::file("lib/jquery.jeditable.js") ?>" type="text/javascript"></script>
<? endif; ?>