Skip to content
Browse files

moodlelib: MDL-21477 - stop unzip_show_status depending on files/inde…

…x.php

function
  • Loading branch information...
1 parent 19a34c2 commit c33dd43a3150bcc43798585ea7c86f96f7521629 @danpoltawski danpoltawski committed Feb 21, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/moodlelib.php
View
8 lib/moodlelib.php
@@ -7773,15 +7773,15 @@ function unzip_show_status($list, $removepath, $removepath2) {
echo "<tr>";
$item['filename'] = str_replace(cleardoubleslashes($removepath).'/', "", $item['filename']);
$item['filename'] = str_replace(cleardoubleslashes($removepath2).'/', "", $item['filename']);
- print_cell("left", s(clean_param($item['filename'], PARAM_PATH)));
+ echo '<td align="left" style="white-space:nowrap ">'.s(clean_param($item['filename'], PARAM_PATH)).'</td>';
if (! $item['folder']) {
- print_cell("right", display_size($item['size']));
+ echo '<td align="right" style="white-space:nowrap ">'.display_size($item['size']).'</td>';
} else {
echo "<td>&nbsp;</td>";
}
$filedate = userdate($item['mtime'], get_string("strftimedatetime"));
- print_cell("right", $filedate);
- print_cell("right", $item['status']);
+ echo '<td align="right" style="white-space:nowrap ">'.$filedate.'</td>';
+ echo '<td align="right" style="white-space:nowrap ">'.$item['status'].'</td>';
echo "</tr>";
}
echo "</table>";

0 comments on commit c33dd43

Please sign in to comment.
Something went wrong with that request. Please try again.