From a5d67bee27eb33637562145dd2e30aee23323cd1 Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Wed, 13 Aug 2014 08:01:18 +1000 Subject: [PATCH] Escape all the translated strings --- .../partials/_button_delete.htm | 2 +- .../partials/_button_remove.htm | 2 +- .../partials/_manage_form.htm | 10 +++++----- modules/backend/controllers/auth/reset.htm | 4 ++-- modules/backend/controllers/auth/restore.htm | 4 ++-- modules/backend/controllers/auth/signin.htm | 4 ++-- modules/backend/layouts/_footer.htm | 4 ++-- modules/backend/layouts/_mainmenu.htm | 15 ++++++++++++-- modules/backend/layouts/auth.htm | 2 +- .../cms/widgets/assetlist/partials/_items.htm | 16 +++++++-------- .../widgets/assetlist/partials/_move_form.htm | 20 ++++++++++--------- .../assetlist/partials/_new_dir_form.htm | 15 +++++++------- .../assetlist/partials/_rename_form.htm | 11 +++++----- .../widgets/componentlist/partials/_items.htm | 2 +- .../widgets/templatelist/partials/_items.htm | 2 +- 15 files changed, 62 insertions(+), 51 deletions(-) diff --git a/modules/backend/behaviors/relationcontroller/partials/_button_delete.htm b/modules/backend/behaviors/relationcontroller/partials/_button_delete.htm index 9a7d557f2..108ff4af2 100644 --- a/modules/backend/behaviors/relationcontroller/partials/_button_delete.htm +++ b/modules/backend/behaviors/relationcontroller/partials/_button_delete.htm @@ -10,5 +10,5 @@ data-trigger="#relationGetId('view') ?> .control-list input[type=checkbox]" data-trigger-condition="checked" data-stripe-load-indicator> - + \ No newline at end of file diff --git a/modules/backend/behaviors/relationcontroller/partials/_button_remove.htm b/modules/backend/behaviors/relationcontroller/partials/_button_remove.htm index 6e680af62..2ddd2770f 100644 --- a/modules/backend/behaviors/relationcontroller/partials/_button_remove.htm +++ b/modules/backend/behaviors/relationcontroller/partials/_button_remove.htm @@ -9,5 +9,5 @@ data-trigger="#relationGetId('view') ?> .control-list input[type=checkbox]" data-trigger-condition="checked" data-stripe-load-indicator> - + \ No newline at end of file diff --git a/modules/backend/behaviors/relationcontroller/partials/_manage_form.htm b/modules/backend/behaviors/relationcontroller/partials/_manage_form.htm index f65746ca8..a29cc76fa 100644 --- a/modules/backend/behaviors/relationcontroller/partials/_manage_form.htm +++ b/modules/backend/behaviors/relationcontroller/partials/_manage_form.htm @@ -7,7 +7,7 @@ diff --git a/modules/backend/controllers/auth/reset.htm b/modules/backend/controllers/auth/reset.htm index cd49622ab..369a04288 100644 --- a/modules/backend/controllers/auth/reset.htm +++ b/modules/backend/controllers/auth/reset.htm @@ -1,4 +1,4 @@ -

+

@@ -26,7 +26,7 @@

- +

diff --git a/modules/backend/controllers/auth/restore.htm b/modules/backend/controllers/auth/restore.htm index eedbd34ea..6dfe47573 100644 --- a/modules/backend/controllers/auth/restore.htm +++ b/modules/backend/controllers/auth/restore.htm @@ -1,4 +1,4 @@ -

+

@@ -22,7 +22,7 @@

- +

diff --git a/modules/backend/controllers/auth/signin.htm b/modules/backend/controllers/auth/signin.htm index b9a38da4f..82ce38808 100644 --- a/modules/backend/controllers/auth/signin.htm +++ b/modules/backend/controllers/auth/signin.htm @@ -1,4 +1,4 @@ -

+

@@ -34,7 +34,7 @@

- +

diff --git a/modules/backend/layouts/_footer.htm b/modules/backend/layouts/_footer.htm index 9ecfb7f77..97a3a97e8 100644 --- a/modules/backend/layouts/_footer.htm +++ b/modules/backend/layouts/_footer.htm @@ -1,9 +1,9 @@ \ No newline at end of file diff --git a/modules/backend/layouts/_mainmenu.htm b/modules/backend/layouts/_mainmenu.htm index 81e2ae1aa..61e18be3f 100644 --- a/modules/backend/layouts/_mainmenu.htm +++ b/modules/backend/layouts/_mainmenu.htm @@ -28,7 +28,12 @@ */ ?>
  • - +
  • @@ -41,7 +46,13 @@
  • - + + +
  • diff --git a/modules/backend/layouts/auth.htm b/modules/backend/layouts/auth.htm index f2ba4eff0..331cb34de 100644 --- a/modules/backend/layouts/auth.htm +++ b/modules/backend/layouts/auth.htm @@ -26,7 +26,7 @@
    -

    +

    diff --git a/modules/cms/widgets/assetlist/partials/_items.htm b/modules/cms/widgets/assetlist/partials/_items.htm index 53ae8fcbd..68d426b9c 100644 --- a/modules/cms/widgets/assetlist/partials/_items.htm +++ b/modules/cms/widgets/assetlist/partials/_items.htm @@ -1,7 +1,7 @@ -isSearchMode(); - if (($upPath = $this->getUpPath()) !== null && !$searchMode): + if (($upPath = $this->getUpPath()) !== null && !$searchMode): ?>

    getCurrentRelativePath() ?> @@ -25,10 +25,10 @@

    -

    noRecordsMessage) ?>

    +

    noRecordsMessage)) ?>

    diff --git a/modules/cms/widgets/assetlist/partials/_move_form.htm b/modules/cms/widgets/assetlist/partials/_move_form.htm index 2526b96f3..85e91d7b4 100644 --- a/modules/cms/widgets/assetlist/partials/_move_form.htm +++ b/modules/cms/widgets/assetlist/partials/_move_form.htm @@ -6,12 +6,15 @@ ]) ?>