Skip to content

Commit

Permalink
Modify source of jquery library to http://www.google.com/jsapi
Browse files Browse the repository at this point in the history
  • Loading branch information
abtris committed Oct 12, 2009
1 parent 7c9f0e6 commit 13c8db5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions application/layouts/layout.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
<?php echo $this->headScript() ?>
<?php echo $this->headMeta() ?>
<?php echo $this->headLink()->toString(); ?>
<?php $this->jQuery()->setLocalPath('http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js')
->addStylesheet($this->baseUrl() . '/css/jquery-ui-1.7.2.custom.css');
echo $this->jQuery();
?>
<script type="text/javascript"
src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.3.2");
google.load("jqueryui", "1.7.2");
</script>
<?php echo $this->jQuery()->addStylesheet($this->baseUrl() . '/css/jquery-ui-1.7.2.custom.css'); ?>

</head>
<body>
Expand Down

0 comments on commit 13c8db5

Please sign in to comment.