Skip to content

Commit

Permalink
Merge pull request #890 from gnieark/gnieark3
Browse files Browse the repository at this point in the history
webui: quote strings with slashes in Pool details view
  • Loading branch information
fbergkemper committed Jul 21, 2021
2 parents 11fe20b + 344a272 commit effd6a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions webui/module/Pool/view/pool/pool/details.phtml
Expand Up @@ -295,23 +295,23 @@ $this->headTitle($title);
html.push('<div class="container-fluid">');
html.push('<table class="table table-bordered">');
html.push('<tr>');
html.push('<th><?php echo $this->translate("Label date"); ?></th>');
html.push('<th><?php echo addslashes($this->translate("Label date")); ?></th>');
html.push('<td>' + row.labeldate + '</td>');
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo $this->translate("First written"); ?></th>');
html.push('<th><?php echo addslashes($this->translate("First written")); ?></th>');
html.push('<td>' + row.firstwritten + '</td>');
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo $this->translate("Last written"); ?></th>');
html.push('<th><?php echo addslashes($this->translate("Last written")); ?></th>');
html.push('<td>' + row.lastwritten + '</td>');
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo $this->translate("Volume jobs"); ?></th>');
html.push('<th><?php echo addslashes($this->translate("Volume jobs")); ?></th>');
html.push('<td>' + row.voljobs + '</td>');
html.push('</tr>');
html.push('<tr>');
html.push('<th><?php echo $this->translate("Recycle"); ?></th>');
html.push('<th><?php echo addslashes($this->translate("Recycle")); ?></th>');
html.push('<td>' + formatRecycle(row.recycle) + '</td>');
html.push('</tr>');
html.push('</table>');
Expand Down

0 comments on commit effd6a0

Please sign in to comment.