<?php /* Smarty version 2.6.12, created on 2011-01-18 14:25:53
         compiled from assignment_view_main_submitters.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'assignment_view_main_submitters.html', 5, false),)), $this); ?>
<?php echo '';  echo '';  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['displayTitle'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_assignment_name.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  endif;  echo '<div id="assignment_main_submitters';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="assignment_main_submitters">';  echo '<div class="assignment_display_yet_submitter"><label for="assignment_display_yet_submitter';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['yet_submitter'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo '';  $this->assign('change_value', ((is_array($_tmp=@_OFF)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  else:  echo '';  $this->assign('change_value', ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  endif;  echo '<input id="assignment_display_yet_submitter';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" name="yet_submitted" value="';  echo ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" type="checkbox"';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['yet_submitter'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo ' checked="checked"';  endif;  echo ' onclick=\'assignmentCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].showYetSubmitted("';  echo ((is_array($_tmp=$this->_tpl_vars['change_value'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp=$this->_tpl_vars['action']['popup_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"); return false;\' />';  echo $this->_tpl_vars['lang']['assignment_display_yet_submitted'];  echo '</label></div>';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['submitterCount'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != 0 )):  echo '';  echo '<table class="grid_header" summary="';  echo $this->_tpl_vars['lang']['assignment_list_summary'];  echo '"><tr>';  echo '<th class="_sort_submitter assignment_grid_submitter" scope="col">';  echo $this->_tpl_vars['lang']['assignment_submitter'];  echo '</th>';  echo '<th class="_sort_submit_time assignment_grid_submit_time" scope="col">';  echo $this->_tpl_vars['lang']['assignment_submit_time_head'];  echo '</th>';  echo '<th class="_sort_grade_value assignment_grid_grade_value" scope="col">';  echo $this->_tpl_vars['lang']['assignment_grade'];  echo '</th></tr></table>';  echo '<table class="grid" summary="';  echo $this->_tpl_vars['lang']['assignment_list_summary'];  echo '">';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['submitters'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['submitter']):
 echo '<tr class="grid_row">';  echo '<td class="assignment_grid_submitter">';  if (( ! empty ( $this->_tpl_vars['submitter']['submit_id'] ) )):  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_submitter.html", 'smarty_include_vars' => array('submit_id' => ((is_array($_tmp=$this->_tpl_vars['submitter']['submit_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'handle' => $this->_tpl_vars['submitter']['handle'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  else:  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_handle.html", 'smarty_include_vars' => array('handle' => $this->_tpl_vars['submitter']['handle'],'user_id' => ((is_array($_tmp=$this->_tpl_vars['submitter']['user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  endif;  echo '</td>';  echo '<td class="assignment_grid_submit_time">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_main_submitters_submit_time.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</td>';  echo '<td class="assignment_grid_grade_value">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_grade_value.html", 'smarty_include_vars' => array('submit_flag' => ((is_array($_tmp=$this->_tpl_vars['submitter']['submit_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'grade_value' => $this->_tpl_vars['submitter']['grade_value'],'forcedDisplay' => true,'submittedUnvalued' => true)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</td></tr>';  endforeach; endif; unset($_from);  echo '</table>';  else:  echo '<div class="outerdiv">';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['assignment_no_submitter'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</div>';  endif;  echo '</div>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../assignment_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script class="nc_script" type="text/javascript">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['submitterCount'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != 0 )):  echo 'var opts = {prefetchBuffer:false,sort:true,requestParameters:new Array("scroll=';  echo ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '", "yet_submitter=';  echo ((is_array($_tmp=$this->_tpl_vars['action']['yet_submitter'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '")};assignmentCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].liveGrid = new compLiveGrid("';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '", ';  echo ((is_array($_tmp=$this->_tpl_vars['action']['visibleRows'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ', ';  echo ((is_array($_tmp=$this->_tpl_vars['action']['submitterCount'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ', "assignment_view_main_submitters", opts);var opts = null;';  endif;  echo 'assignmentCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].assignment_id = "';  echo ((is_array($_tmp=$this->_tpl_vars['action']['assignment']['assignment_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";</script>'; ?>