Skip to content

Commit

Permalink
Escape for angular in embed pages
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Jan 27, 2022
1 parent bcabf54 commit d7b8546
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lhc_web/design/defaulttheme/tpl/lhfaq/embedcode.tpl.php
@@ -1,6 +1,6 @@
<h1><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','HTML code');?></h1>

<div class="row">
<div class="row" ng-non-bindable>
<div class="col-md-6">
<div class="form-group">
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Choose a language');?></label> <select id="LocaleID" class="form-control">
Expand Down
2 changes: 1 addition & 1 deletion lhc_web/design/defaulttheme/tpl/lhfaq/htmlcode.tpl.php
Expand Up @@ -24,7 +24,7 @@
</div>
</div>

<div class="row">
<div class="row" ng-non-bindable>
<div class="col-md-6">
<div class="form-group">
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Choose a language');?></label> <select id="LocaleID" class="form-control">
Expand Down
Expand Up @@ -3,7 +3,7 @@
<div class="row">
<div class="col-md-6">
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Choose a language');?></label>
<select class="form-control" id="LocaleID">
<select class="form-control" id="LocaleID" ng-non-bindable>
<?php foreach ($locales as $locale ) : ?>
<option value="<?php echo $locale?>/"><?php echo $locale?></option>
<?php endforeach; ?>
Expand All @@ -19,7 +19,7 @@
</div>
<div class="col-md-6 end">
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Theme')?></label>
<select class="form-control" id="ThemeID">
<select class="form-control" id="ThemeID" ng-non-bindable>
<option value="0"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('system/htmlcode','Default');?></option>
<?php foreach (erLhAbstractModelWidgetTheme::getList(array('limit' => 1000)) as $theme) : ?>
<option value="<?php echo $theme->id?>"><?php echo htmlspecialchars($theme->name)?></option>
Expand Down

0 comments on commit d7b8546

Please sign in to comment.