summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-11-08 21:59:35 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-11-08 21:59:35 +0000
commitdfaf3f490f18ff058895d0b6f0dedfcd6572f16b (patch)
tree0550d55df034ffba2266332d47b2ed632a804c8a /templates
parenta81dbfb279629e89cf7c831c1ad4dc603bd17139 (diff)
downloadtags-dfaf3f490f18ff058895d0b6f0dedfcd6572f16b.tar.gz
tags-dfaf3f490f18ff058895d0b6f0dedfcd6572f16b.tar.bz2
tags-dfaf3f490f18ff058895d0b6f0dedfcd6572f16b.zip
massive update to javascript and css file loading. main aim is to reduce the number of HTTP requests to speed up page loading times. speedup should be quite prominent in our favoutire browser.
to load javascirpt files use: $gBitThemes->loadJavascript( '/full/path/to/javascript/file.js', <boolean: compress javascript> ); to load css files use: $gBitThemes->loadCss( '/full/path/to/javascript/file.css' ); if you have a relative path in your css file such as 'background-image: url( images/foo.png );', this method of loading will not work.
Diffstat (limited to 'templates')
-rw-r--r--templates/header_inc.tpl5
1 files changed, 0 insertions, 5 deletions
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl
deleted file mode 100644
index 319d85b..0000000
--- a/templates/header_inc.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-{strip}
-{if $gBitSystem->isPackageActive( 'tags' )}
- <link rel="stylesheet" type="text/css" href="{$smarty.const.TAGS_PKG_URL}templates/tags.css" />
-{/if}
-{/strip}