<?php /* Smarty version Smarty-3.1.7, created on 2013-01-24 21:30:25
         compiled from "C:\wamp\www\collab\activecollab\3.2.8\modules\calendar\views\default\cell.tpl" */ ?>
<?php /*%%SmartyHeaderCode:85035101a7f1ef6be0-24493472%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a8d87892781247d739ae8a5d2cf60c24e744cdb3' => 
    array (
      0 => 'C:\\wamp\\www\\collab\\activecollab\\3.2.8\\modules\\calendar\\views\\default\\cell.tpl',
      1 => 1357817598,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '85035101a7f1ef6be0-24493472',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'day' => 0,
    'day_data' => 0,
    'is_current_month' => 0,
    'day_url' => 0,
    'object' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_5101a7f21fded',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5101a7f21fded')) {function content_5101a7f21fded($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date')) include 'C:\\wamp\\www\\collab\\activecollab/3.2.8/angie/frameworks/globalization/helpers\\modifier.date.php';
if (!is_callable('smarty_modifier_excerpt')) include 'C:\\wamp\\www\\collab\\activecollab/3.2.8/angie/frameworks/environment/helpers\\modifier.excerpt.php';
if (!is_callable('smarty_function_project_link')) include 'C:\\wamp\\www\\collab\\activecollab/3.2.8/modules/system/helpers\\function.project_link.php';
if (!is_callable('smarty_function_object_link')) include 'C:\\wamp\\www\\collab\\activecollab/3.2.8/angie/frameworks/environment/helpers\\function.object_link.php';
if (!is_callable('smarty_block_lang')) include 'C:\\wamp\\www\\collab\\activecollab/3.2.8/angie/frameworks/globalization/helpers\\block.lang.php';
?><td class="day_cell <?php if ($_smarty_tpl->tpl_vars['day']->value->isToday()){?>today<?php }?> <?php if ($_smarty_tpl->tpl_vars['day']->value->isDayOff()){?>day_off<?php }elseif($_smarty_tpl->tpl_vars['day']->value->isWeekend()){?>weekend<?php }else{ ?>weekday<?php }?> <?php if (is_foreachable($_smarty_tpl->tpl_vars['day_data']->value)){?>not_empty_day<?php }else{ ?>empty_day<?php }?> <?php if ($_smarty_tpl->tpl_vars['is_current_month']->value){?>current_month<?php }else{ ?>not_current_month<?php }?>" id="day-<?php echo clean($_smarty_tpl->tpl_vars['day']->value->getYear(),$_smarty_tpl);?>
-<?php echo clean($_smarty_tpl->tpl_vars['day']->value->getMonth(),$_smarty_tpl);?>
-<?php echo clean($_smarty_tpl->tpl_vars['day']->value->getDay(),$_smarty_tpl);?>
" date_title="<?php echo clean(smarty_modifier_date($_smarty_tpl->tpl_vars['day']->value,0),$_smarty_tpl);?>
">
  <div class="inner">
    <div class="day_num"><span day_url="<?php echo clean($_smarty_tpl->tpl_vars['day_url']->value,$_smarty_tpl);?>
"><?php echo clean($_smarty_tpl->tpl_vars['day']->value->getDay(),$_smarty_tpl);?>
</span></div>
    <div class="day_brief">
    <?php if (is_foreachable($_smarty_tpl->tpl_vars['day_data']->value)){?>
      <ul>
      <?php  $_smarty_tpl->tpl_vars['object'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['object']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['day_data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['object']->key => $_smarty_tpl->tpl_vars['object']->value){
$_smarty_tpl->tpl_vars['object']->_loop = true;
?>
        <li class="object_type object_type_<?php echo clean(strtolower($_smarty_tpl->tpl_vars['object']->value->getType()),$_smarty_tpl);?>
" title="<?php echo clean($_smarty_tpl->tpl_vars['object']->value->getVerboseType(),$_smarty_tpl);?>
">
        <?php if ($_smarty_tpl->tpl_vars['object']->value instanceof IComplete&&$_smarty_tpl->tpl_vars['object']->value->complete()->isCompleted()){?>
          <del><?php echo clean(smarty_modifier_excerpt($_smarty_tpl->tpl_vars['object']->value->getName(),40),$_smarty_tpl);?>
</del>
        <?php }else{ ?>
          <?php echo clean(smarty_modifier_excerpt($_smarty_tpl->tpl_vars['object']->value->getName(),40),$_smarty_tpl);?>

        <?php }?>
        </li>
      <?php } ?>
      </ul>
    <?php }?>
    </div>
    <div class="day_details">
      <?php if (is_foreachable($_smarty_tpl->tpl_vars['day_data']->value)){?>
      <ul>
	      <?php  $_smarty_tpl->tpl_vars['object'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['object']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['day_data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['object']->key => $_smarty_tpl->tpl_vars['object']->value){
$_smarty_tpl->tpl_vars['object']->_loop = true;
?>
	        <li>
	          <span class="object_type object_type_<?php echo clean(strtolower($_smarty_tpl->tpl_vars['object']->value->getType()),$_smarty_tpl);?>
 inverse"><?php echo clean($_smarty_tpl->tpl_vars['object']->value->getVerboseType(),$_smarty_tpl);?>
</span>
            <span class="object_project"><?php echo smarty_function_project_link(array('project'=>$_smarty_tpl->tpl_vars['object']->value->getProject()),$_smarty_tpl);?>
</span>
						<span class="object_link"><?php echo smarty_function_object_link(array('object'=>$_smarty_tpl->tpl_vars['object']->value),$_smarty_tpl);?>
</span>
	        </li>
	      <?php } ?>
      </ul>
      <?php }else{ ?>
        <p class="empty_page"><span class="inner"><?php $_smarty_tpl->smarty->_tag_stack[] = array('lang', array()); $_block_repeat=true; echo smarty_block_lang(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
No tasks for this day<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_lang(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</span></p>
      <?php }?>
    </div>
    <div class="hidden_data"></div>
  </div>
</td><?php }} ?>