";
}
if ($qc) {
echo "
".tpl_getLang('quality_trigger')."0";
$qc->tplErrorCount();
echo "";
}
if ($doPlugin !== null ) {
$count = $doPlugin->getPageTaskCount();
$num = $count['count'];
$title = "";
if($num == 0){ // no tasks - does not exist do in plug-in
$class = "do_none";
$title = tpl_getLang('tasks_page_none');
} elseif($count['undone'] == 0){ // all tasks done
$class = 'do_done';
$title = $this->getLang('title_alldone');
}elseif($count['late'] == 0) { // open tasks but none late
$class = 'do_undone';
$title = sprintf($this->getLang('title_intime'), $count['undone']);
} else { // late tasks
$class = 'do_late';
$title = sprintf($this->getLang('title_late'), $count['undone'], $count['late']);
}
$markup = "".tpl_getLang('prefix_tasks_page')." ".$num."";
echo $markup;
}
if ($doPlugin !== null ||$qc ) {
echo "";
}
/*
$out = '';
$out .= $count['undone'];
$out .= '
';
if($return) return $out;
echo $out;*/