Просмотр исходного кода

Just use asmall class instead of asmallcenter

Morten Brix Pedersen 24 лет назад
Родитель
Сommit
d0380918fd
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      modules/Pisg/HTMLGenerator.pm

+ 3 - 3
modules/Pisg/HTMLGenerator.pm

@@ -318,7 +318,7 @@ sub _activetimes
         $image = "pic_v_".(int($hour/6)*6);
         $image = "pic_v_".(int($hour/6)*6);
         $image = $self->{cfg}->{$image};
         $image = $self->{cfg}->{$image};
 
 
-        $output{$hour} = "<td align=\"center\" valign=\"bottom\" class=\"asmallcenter\">$percent%<br /><img src=\"$self->{cfg}->{piclocation}/$image\" width=\"15\" height=\"$size\" alt=\"$percent\" /></td>\n";
+        $output{$hour} = "<td align=\"center\" valign=\"bottom\" class=\"asmall\">$percent%<br /><img src=\"$self->{cfg}->{piclocation}/$image\" width=\"15\" height=\"$size\" alt=\"$percent\" /></td>\n";
     }
     }
 
 
     _html("<table border=\"0\"><tr>\n");
     _html("<table border=\"0\"><tr>\n");
@@ -327,7 +327,7 @@ sub _activetimes
         $a = sprintf("%02d", $b);
         $a = sprintf("%02d", $b);
 
 
         if (!defined($output{$a}) || $output{$a} eq "") {
         if (!defined($output{$a}) || $output{$a} eq "") {
-            _html("<td align=\"center\" valign=\"bottom\" class=\"asmallcenter\">0%</td>");
+            _html("<td align=\"center\" valign=\"bottom\" class=\"asmall\">0%</td>");
         } else {
         } else {
             _html($output{$a});
             _html($output{$a});
         }
         }
@@ -1296,7 +1296,7 @@ sub _lasttopics
             _html("<tr><td class=\"hicell\"><i>$topic</i></td>");
             _html("<tr><td class=\"hicell\"><i>$topic</i></td>");
             _html("<td class=\"hicell\"><b>" . $self->_template_text('bylinetopic', %hash) ."</b></td></tr>");
             _html("<td class=\"hicell\"><b>" . $self->_template_text('bylinetopic', %hash) ."</b></td></tr>");
         }
         }
-        _html("<tr><td align=\"center\" colspan=\"2\" class=\"asmallcenter\">" . $self->_template_text('totaltopic', %hash) . "</td></tr>");
+        _html("<tr><td align=\"center\" colspan=\"2\" class=\"asmall\">" . $self->_template_text('totaltopic', %hash) . "</td></tr>");
     } else {
     } else {
         _html("<tr><td class=\"hicell\">" . $self->_template_text('notopic') ."</td></tr>");
         _html("<tr><td class=\"hicell\">" . $self->_template_text('notopic') ."</td></tr>");
     }
     }