Merge pull request #781 from MrPetovan/task/6208-smarty-escaping
Smarty escaping
This commit is contained in:
commit
2e8f2916df
5 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
||||||
<div id="rules"></div>
|
<div id="rules"></div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var existingRules = {{$rules}};
|
var existingRules = {{$rules nofilter}};
|
||||||
|
|
||||||
var messages = {
|
var messages = {
|
||||||
{{foreach $messages as $key => $value}}
|
{{foreach $messages as $key => $value}}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="forumdirectory-copy-wrapper" id="forumdirectory-copy-wrapper-{{$id}}" >
|
<div class="forumdirectory-copy-wrapper" id="forumdirectory-copy-wrapper-{{$id}}" >
|
||||||
{{if $about}}<dl class="forumdirectory-copy"><dt class="forumdirectory-copy-label">{{$about}}</dt><dd class="forumdirectory-copy-data">{{$profile.about}}</dd></dl>{{/if}}
|
{{if $about}}<dl class="forumdirectory-copy"><dt class="forumdirectory-copy-label">{{$about}}</dt><dd class="forumdirectory-copy-data">{{$profile.about nofilter}}</dd></dl>{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
|
||||||
*
|
*
|
||||||
*}}
|
*}}
|
||||||
<div class="mailstream-item-body">{{$item.body}}</div>
|
<div class="mailstream-item-body">{{$item.body nofilter}}</div>
|
||||||
{{if $item.plink}}
|
{{if $item.plink}}
|
||||||
<div>{{$upstream}}: <a class="mailstream-item-plink" href="{{$item.plink}}">{{$item.plink}}</a><div>
|
<div>{{$upstream}}: <a class="mailstream-item-plink" href="{{$item.plink}}">{{$item.plink}}</a><div>
|
||||||
<div>{{$local}}: <a class="mailstream-item-url" href="{{$item.url}}">{{$item.url}}</a></div>
|
<div>{{$local}}: <a class="mailstream-item-url" href="{{$item.url}}">{{$item.url}}</a></div>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<span class="fakelink" onclick="openClose('settings_mathjax_expanded'); openClose('settings_mathjax_inflated');">
|
<span class="fakelink" onclick="openClose('settings_mathjax_expanded'); openClose('settings_mathjax_inflated');">
|
||||||
<h3>{{$title}}</h3>
|
<h3>{{$title}}</h3>
|
||||||
</span>
|
</span>
|
||||||
<p>{{$description}}</p>
|
<p>{{$description nofilter}}</p>
|
||||||
{{include file="field_checkbox.tpl" field=$mathjax_use}}
|
{{include file="field_checkbox.tpl" field=$mathjax_use}}
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
{{include file="field_textarea.tpl" field=$publickey}}
|
{{include file="field_textarea.tpl" field=$publickey}}
|
||||||
|
|
||||||
<div class="form-group pull-right settings-submit-wrapper" >
|
<div class="form-group pull-right settings-submit-wrapper" >
|
||||||
<button type="submit" name="securemail-submit" class="btn btn-primary" value="{{$submit|escape:'html'}}">{{$submit}}</button>
|
<button type="submit" name="securemail-submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
||||||
<button type="submit" name="securemail-submit" class="btn btn-default" value="{{$test|escape:'html'}}">{{$test}}</button>
|
<button type="submit" name="securemail-submit" class="btn btn-default" value="{{$test}}">{{$test}}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue