mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 09:44:38 +02:00
Fix issue processwire/processwire-issues#1023 via @matjazpotocnik suggested fix
This commit is contained in:
@@ -1546,7 +1546,7 @@ class ProcessPageEditImageSelect extends Process implements ConfigurableModule {
|
||||
(strlen($row['num']) ? $row['num'] : ' '),
|
||||
"<a class='preview' href='$row[url]'><img src='$row[url]' alt='$row[name]' style='max-width: 100px;' /></a>",
|
||||
"<a class='preview' href='$row[url]'>$row[name]</a><br /><span class='detail'>$row[width]x$row[height]</span>",
|
||||
"<span style='display: none;'>$row[filesize]</span>$row[filesizeStr]",
|
||||
"<span style='display: none;'>$row[filesize] </span>$row[filesizeStr]",
|
||||
$row['modified'],
|
||||
implode('<br />', $row['notes']),
|
||||
//($hasEditPermission ? "<label><input type='checkbox' class='delete' name='delete[]' value='$row[name]' /> </label>" : " ")
|
||||
|
@@ -448,7 +448,7 @@ class ProcessTemplate extends Process {
|
||||
$row["{$numPages} "] = "$numPagesLink"; // space is required to make it work
|
||||
|
||||
$mod = $template->modified;
|
||||
$row[] = $mod > 0 ? "<span style='display: none;'>$mod</span>" . wireRelativeTimeStr($mod) : '';
|
||||
$row[] = $mod > 0 ? "<span style='display: none;'>$mod </span>" . wireRelativeTimeStr($mod) : '';
|
||||
$row[] = $notes;
|
||||
|
||||
return $row;
|
||||
|
Reference in New Issue
Block a user