From c089cac6502228e10aa4185196e6c02670c9732f Mon Sep 17 00:00:00 2001 From: alison benjamin Date: Mon, 29 Aug 2011 17:26:41 +0000 Subject: [PATCH] adds a template file called course_stats.tmpl.php --- .../statistics/course_stats.tmpl.php | 99 +++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 docs/themes/mobile/instructor/statistics/course_stats.tmpl.php diff --git a/docs/themes/mobile/instructor/statistics/course_stats.tmpl.php b/docs/themes/mobile/instructor/statistics/course_stats.tmpl.php new file mode 100644 index 000000000..4f013bf77 --- /dev/null +++ b/docs/themes/mobile/instructor/statistics/course_stats.tmpl.php @@ -0,0 +1,99 @@ + + + + +num_days == 0) || ($this->empty)) { + echo ''; + echo ''; + echo ''; + echo '
last_month).SEP.'year='.$this->last_year.'">'; + echo ' '.AT_date('%F', $this->last_month, AT_DATE_INDEX_VALUE ); ?> | + month, AT_DATE_INDEX_VALUE ); ?> | next_month.SEP.'year='.$this->next_year.'">'; + echo AT_date('%F', $this->next_month, AT_DATE_INDEX_VALUE); ?>
'._AT('no_month_data').'
'; + require(AT_INCLUDE_PATH.'footer.inc.php'); + exit; + } +?> + + : + total_logins; ?> + + + + : + max_total_logins; ?> + + + + + : + min_total_logins < 99999999) { + echo $this->min_total_logins; + } else { + echo '0'; + } ?> + + + + : + avg_total_logins, 1); ?> + + + + + : + + + + + +days as $day => $logins) { + $dd++; + echo ''; + + } while ($row = mysql_fetch_array($this->result)); +?> + + + + + +
max_total_logins; ?>
'.$logins[0].' '._AT('guests').' ('.($logins[0]+$logins[1]).' '._AT('total').')
'.$logins[1].' '._AT('members').' ('.($logins[1]+$logins[0]).' '._AT('total').')
'.$dd.' 
0
+ + : <?php echo _AT('red_members'); ?> , + <?php echo _AT('blue_guests'); ?> . + + + + + : + + + + + + + + + + + + + days as $day => $logins):?> + + + + + + + +
+ + + + \ No newline at end of file -- 2.17.1