[svn r10171] removed unused CSS-code

skala
Bart Mollet 19 years ago
parent 714f727eab
commit 4cb98486ca
  1. 28
      main/admin/statistics/index.php
  2. 7
      main/admin/statistics/statistics.lib.php

@ -48,34 +48,6 @@ $tool_name = get_lang('ToolName');
Display::display_header($tool_name);
api_display_tool_title($tool_name);
?>
<style type="text/css">
<!--
.statTable {
border: 1px solid #999999;
margin-bottom: 20px;
}
.statHeader{
background-color: #eeeeee;
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #666666;
font-weight: bold;
}
.statFooter{
background-color: #eeeeee;
border-top-width: 1px;
border-top-style: dashed;
border-top-color: #666666;
font-weight: bold;
}
acronym{
cursor: help;
}
-->
</style>
<?php
$strCourse = get_lang('Courses');
$strUsers = get_lang('Users');

@ -1,5 +1,4 @@
<?php
// $Id: index.php 8216 2006-11-3 18:03:15 NushiFirefox $
/*
==============================================================================
@ -26,8 +25,6 @@
* @package dokeos.statistics
==============================================================================
*/
class Statistics
{
/**
@ -128,8 +125,8 @@ class Statistics
{
$total = 0;
$data = Statistics::rescale($stats);
echo '<table class="statTable data_table" cellspacing="0" cellpadding="3">
<tr><th colspan="'.($show_total ? '4' : '3').'" class="statHeader">'.$title.'</th></tr>';
echo '<table class="data_table" cellspacing="0" cellpadding="3">
<tr><th colspan="'.($show_total ? '4' : '3').'">'.$title.'</th></tr>';
$i = 0;
foreach($stats as $subtitle => $number)
{

Loading…
Cancel
Save