aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-21 18:03:22 -0700
committerfriendica <info@friendica.com>2012-07-21 18:03:22 -0700
commitc1fe66bec5fb2fe3ce3be2985036c0c8b006d7fd (patch)
tree33287e3bece27bd1316cb6e87e2d2cd8723875c1 /boot.php
parentf8107be85bf5482c6fc46b9cd4f46ae899ad4771 (diff)
downloadvolse-hubzilla-c1fe66bec5fb2fe3ce3be2985036c0c8b006d7fd.tar.gz
volse-hubzilla-c1fe66bec5fb2fe3ce3be2985036c0c8b006d7fd.tar.bz2
volse-hubzilla-c1fe66bec5fb2fe3ce3be2985036c0c8b006d7fd.zip
breakup css into page layout css, and provide module specific layout css - which should dramatically reduce the size of theme files and reduce load times
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php16
1 files changed, 1 insertions, 15 deletions
diff --git a/boot.php b/boot.php
index a9da0eee5..7f5291ecc 100644
--- a/boot.php
+++ b/boot.php
@@ -585,22 +585,8 @@ if(! class_exists('App')) {
}
function init_pagehead() {
- $interval = ((local_user()) ? get_pconfig(local_user(),'system','update_interval') : 40000);
- if($interval < 10000)
- $interval = 40000;
-
$this->page['title'] = $this->config['sitename'];
- $tpl = file_get_contents('view/head.tpl');
- $this->page['htmlhead'] = replace_macros($tpl,array(
- '$baseurl' => $this->get_baseurl(), // FIXME for z_path!!!!
- '$local_user' => local_user(),
- '$generator' => FRIENDICA_PLATFORM . ' ' . FRIENDICA_VERSION,
- '$delitem' => t('Delete this item?'),
- '$comment' => t('Comment'),
- '$showmore' => t('show more'),
- '$showfewer' => t('show fewer'),
- '$update_interval' => $interval
- ));
+ $this->page['htmlhead'] = file_get_contents('view/head.tpl');
}
function set_curl_code($code) {