From 3a563720c5384d9b59d29a501333b2d0e19b3b09 Mon Sep 17 00:00:00 2001 From: gnieark Date: Tue, 13 Jul 2021 09:51:49 +0200 Subject: [PATCH] webui: quote strings with slashes in media details view (cherry picked from commit a3fd053f40760d175ca1d9dcfc8a352fc9bef6b8) Fixes #1235: Special characters not escaped in translations --- .../Media/view/media/media/details.phtml | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/webui/module/Media/view/media/media/details.phtml b/webui/module/Media/view/media/media/details.phtml index d800b7a957c..a1c0343878b 100644 --- a/webui/module/Media/view/media/media/details.phtml +++ b/webui/module/Media/view/media/media/details.phtml @@ -274,119 +274,119 @@ $this->headTitle($title); html.push('
'); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push('
translate("Label date"); ?>translate("Label date")); ?>' + row.labeldate + '
translate("First written"); ?>translate("First written")); ?>' + row.firstwritten + '
translate("Last written"); ?>translate("Last written")); ?>' + row.lastwritten + '
translate("Volume jobs"); ?>translate("Volume jobs")); ?>' + row.voljobs + '
translate("Recycle"); ?>translate("Recycle")); ?>' + r + '
translate("Volume writes"); ?>translate("Volume writes")); ?>' + row.volwrites + '
translate("Slot"); ?>translate("Slot")); ?>' + row.slot + '
translate("Media Id"); ?>translate("Media Id")); ?>' + row.mediaid + '
translate("Volume Blocks"); ?>translate("Volume Blocks")); ?>' + row.volblocks + '
translate("Volume use duration"); ?>translate("Volume use duration")); ?>' + row.voluseduration + '
translate("Volume Pool Id"); ?>translate("Volume Pool Id")); ?>' + row.poolid + '
translate("In changer"); ?>translate("In changer")); ?>' + row.inchanger + '
translate("Volume Files"); ?>translate("Volume Files")); ?>' + row.volfiles + '
translate("Max. volume jobs"); ?>translate("Max. volume jobs")); ?>' + row.maxvoljobs + '
translate("Volume mounts"); ?>translate("Volume mounts")); ?>' + row.volmounts + '
translate("Volume capacity bytes"); ?>translate("Volume capacity bytes")); ?>' + row.volcapacitybytes + '
translate("Volume errors"); ?>translate("Volume errors")); ?>' + row.volerrors + '
translate("Enabled"); ?>translate("Enabled")); ?>' + row.enabled + '
translate("Max. volume files"); ?>translate("Max. volume files")); ?>' + row.maxvolfiles + '
translate("Endfile"); ?>translate("Endfile")); ?>' + row.endfile + '
translate("Endblock"); ?>translate("Endblock")); ?>' + row.endblock + '
translate("Labeltype"); ?>translate("Labeltype")); ?>' + row.labeltype + '
translate("Device Id"); ?>translate("Device Id")); ?>' + row.deviceid + '
translate("Location Id"); ?>translate("Location Id")); ?>' + row.locationid + '
translate("Recycle count"); ?>translate("Recycle count")); ?>' + row.recyclecount + '
translate("Initial write"); ?>translate("Initial write")); ?>' + row.initialwrite + '
translate("Scratch Pool Id"); ?>translate("Scratch Pool Id")); ?>' + row.scratchpoolid + '
translate("Recycle Pool Id"); ?>translate("Recycle Pool Id")); ?>' + row.recyclepoolid + '
translate("Comment"); ?>translate("Comment")); ?>' + row.comment + '
');