<?php /* Smarty version Smarty-3.1.7, created on 2013-01-24 21:54:42
         compiled from "C:\wamp\www\collab\activecollab\3.2.8\modules\system\views\default\milestones\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:286625101ada26789e8-03277554%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'eea0e24f3beba7c52506e90ee79a2fe8d34d1eca' => 
    array (
      0 => 'C:\\wamp\\www\\collab\\activecollab\\3.2.8\\modules\\system\\views\\default\\milestones\\index.tpl',
      1 => 1357817596,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '286625101ada26789e8-03277554',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'active_project' => 0,
    'day_width' => 0,
    'milestones' => 0,
    'skip_daysoff' => 0,
    'diagram_images' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_5101ada27a5d9',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5101ada27a5d9')) {function content_5101ada27a5d9($_smarty_tpl) {?><?php if (!is_callable('smarty_block_title')) include 'C:\\wamp\\www\\collab\\activecollab/3.2.8/angie/frameworks/environment/helpers\\block.title.php';
if (!is_callable('smarty_block_add_bread_crumb')) include 'C:\\wamp\\www\\collab\\activecollab/3.2.8/angie/frameworks/environment/helpers\\block.add_bread_crumb.php';
if (!is_callable('smarty_modifier_json')) include 'C:\\wamp\\www\\collab\\activecollab/3.2.8/angie/frameworks/environment/helpers\\modifier.json.php';
?><?php $_smarty_tpl->smarty->_tag_stack[] = array('title', array()); $_block_repeat=true; echo smarty_block_title(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
All Milestones<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_title(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

<?php $_smarty_tpl->smarty->_tag_stack[] = array('add_bread_crumb', array()); $_block_repeat=true; echo smarty_block_add_bread_crumb(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
All<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_add_bread_crumb(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>


<div id="milestones_diagram"></div>

<script type="text/javascript">
  $('#milestones_diagram').each(function() {
    var milestone_wrapper = $(this);

    milestone_wrapper.timelineDiagram({
      project_id : <?php echo smarty_modifier_json($_smarty_tpl->tpl_vars['active_project']->value->getId());?>
,
      day_width : <?php echo smarty_modifier_json($_smarty_tpl->tpl_vars['day_width']->value);?>
,
      data : <?php echo smarty_modifier_json($_smarty_tpl->tpl_vars['milestones']->value);?>
,
      work_days : App.Config.get('work_days'),
      days_off : App.Config.get('days_off'),
      skip_days_off : <?php echo smarty_modifier_json($_smarty_tpl->tpl_vars['skip_daysoff']->value);?>
,
      images : <?php echo smarty_modifier_json($_smarty_tpl->tpl_vars['diagram_images']->value);?>
,
      reschedule : function (milestone, start_date, end_date) { },
      select : function (milestone, start_ate, end_date) { }
    });
  });

  // Milestones reordered
  App.Wireframe.Events.bind('milestones_reordered.content', function (event, milestones) {
    App.Wireframe.Content.reload();
  });
</script><?php }} ?>