Skip to content

Commit

Permalink
Removed deprecated Javascript helper and replaced with HTML helper us…
Browse files Browse the repository at this point in the history
…ing script method. Thanks dereuromark!
  • Loading branch information
Silas Mongomery committed Sep 23, 2011
1 parent 066243f commit d618962
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions views/full_calendar/index.ctp
Expand Up @@ -10,12 +10,8 @@
* http://www.opensource.org/licenses/mit-license.php
*/

echo $javascript->link('/full_calendar/js/jquery-1.5.min', false);
echo $javascript->link('/full_calendar/js/jquery-ui-1.8.9.custom.min', false);
echo $javascript->link('/full_calendar/js/fullcalendar.min', false);
echo $javascript->link('/full_calendar/js/jquery.qtip-1.0.0-rc3.min', false);
echo $javascript->link('/full_calendar/js/ready', false);
echo $html->css('/full_calendar/css/fullcalendar', null, array('inline' => false));
echo $this->Html->script(array('/full_calendar/js/jquery-1.5.min', '/full_calendar/js/jquery-ui-1.8.9.custom.min', '/full_calendar/js/fullcalendar.min', '/full_calendar/js/jquery.qtip-1.0.0-rc3.min', '/full_calendar/js/ready'), array('inline' => 'false'));
echo $this->Html->css('/full_calendar/css/fullcalendar', null, array('inline' => false));
?>


Expand All @@ -28,4 +24,4 @@ echo $html->css('/full_calendar/css/fullcalendar', null, array('inline' => false
<li><?php echo $this->Html->link(__('Manage Events', true), array('plugin' => 'full_calendar', 'controller' => 'events')); ?></li>
<li><?php echo $this->Html->link(__('Manage Events Types', true), array('plugin' => 'full_calendar', 'controller' => 'event_types')); ?></li>
</ul>
</div>
</div>

0 comments on commit d618962

Please sign in to comment.