'; } if ($qcPlugin && $qcPlugin->shouldShow()) { $qcPrefix = tpl_getLang('quality_trigger'); echo '
  • '.$qcPrefix.':
  • '; // filled by javascript } 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 = $doPlugin->getLang('title_alldone'); } elseif($count['late'] == 0) { // open tasks but none late $class = 'do_undone'; $title = sprintf(tpl_getLang('tasks_page_intime'), $count['undone']); } else { // late tasks $class = 'do_late'; $title = sprintf(tpl_getLang('tasks_page_late'), $count['undone'], $count['late']); } echo '
  • '; echo ''; echo inlineSVG(DOKU_PLUGIN . 'do/pix/clipboard-text.svg'); echo ''; echo '' . $count['undone'] . ''; echo '
  • '; } if ($starredPlugin !== null) { echo '
  • '; $starredPlugin->tpl_starred(); echo '
  • '; } if ($quickSubPlugin !== null) { echo '
  • '; echo $quickSubPlugin->tpl_subscribe(); echo '
  • '; } if ($approvePlugin !== null && $approvePlugin->shouldDisplay()) { echo '
  • '; echo '' . inlineSVG(DOKU_PLUGIN . 'approve/admin.svg') . ''; echo '
    '; global $ACT; echo $approvePlugin->banner($ACT); echo '
    '; echo '
  • '; } if ($doPlugin !== null || $qcPlugin !== null || $starredPlugin !== null || $quickSubPlugin !== null || $approvePlugin !== null) { echo ""; }