diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-05-01 22:03:05 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-05-01 22:03:05 +0200 |
commit | 8f93ff5aea99ca98693a47d3f09043f65dee9ac2 (patch) | |
tree | e5493b8ce523fe78bfce42c772bfc4d8c5a196a9 /application/views/file/html_header.php | |
parent | e7797f36cf7fd98c825f497bc7f24015c95e8d22 (diff) |
use function to generate links to css files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file/html_header.php')
-rw-r--r-- | application/views/file/html_header.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/views/file/html_header.php b/application/views/file/html_header.php index 284844410..b2c49c3b2 100644 --- a/application/views/file/html_header.php +++ b/application/views/file/html_header.php @@ -2,8 +2,8 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><?php echo $title; ?></title> - <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/paste.css?<?php echo filemtime(FCPATH."/data/paste.css"); ?>" /> - <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>data/paste-<?php echo $current_highlight; ?>.css<?php if (file_exists(FCPATH."/data/paste-".$current_highlight.".css")) { echo "?".filemtime(FCPATH."/data/paste-".$current_highlight.".css");} ?>" /> + <link rel="stylesheet" type="text/css" href="<?php echo link_with_mtime("/data/paste.css"); ?>" /> + <link rel="stylesheet" type="text/css" href="<?php echo link_with_mtime("/data/paste-$current_highlight.css"); ?>" /> </head> <body> <div class="top_bar"> |