Skip to content

Commit

Permalink
Making asset host configurable.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuswilms committed Jan 10, 2010
1 parent 5dc4ab5 commit 8d459ee
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions views/layouts/default.html.php
Expand Up @@ -6,16 +6,19 @@
* @license http://opensource.org/licenses/bsd-license.php The BSD License
*/
?>
<?php
$assetHost = 'http://li3.rad-dev.org';
?>
<!doctype html>
<html>
<head>
<?php echo $this->html->charset(); ?>
<title>Pastium <?=$this->title; ?></title>
<?php echo $this->html->link('Icon', null, array('type' => 'icon')); ?>
<?php echo $this->html->style(array(
'base',
'http://li3.rad-dev.org/css/li3.css',
'pastium'
$assetHost . '/css/base.css',
$assetHost . '/css/li3.css',
$assetHost . '/css/pastium.css'
)); ?>
<?php echo $this->scripts(); ?>
</head>
Expand Down Expand Up @@ -49,8 +52,8 @@
</div>
<?php echo $this->html->script(array(
'http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js',
'http://li3.rad-dev.org/js/libraries/ZeroClipboard/ZeroClipboard.js',
'bin'
$assetHost . '/js/libraries/ZeroClipboard/ZeroClipboard.js',
$assetHost . '/js/bin.js'
)); ?>
<script type="text/javascript" charset="utf-8">
$(document).ready(function () {
Expand Down

0 comments on commit 8d459ee

Please sign in to comment.