Unescape variables in events and descriptions

This commit is contained in:
Hypolite Petovan 2018-12-14 01:24:26 -05:00
parent c407fb7963
commit 698d12af79
9 changed files with 11 additions and 11 deletions

View file

@ -10,7 +10,7 @@
</script>
<div id="adminpage">
<h1>{{$title}} - {{$page}}</h1>
<p>{{$description}}</p>
<p>{{$description nofilter}}</p>
<form action="{{$baseurl}}/admin/contactblock" method="post">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">

View file

@ -3,7 +3,7 @@
<div class="event">
{{if $event.item.author_name}}<a href="{{$event.item.author_link}}" ><img src="{{$event.item.author_avatar}}" height="32" width="32" />{{$event.item.author_name}}</a>{{/if}}
{{$event.html}}
{{$event.html nofilter}}
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" target="_blank" class="plink-event-link icon s22 remote-link"></a>{{/if}}
{{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
{{if $event.copy}}<a href="{{$event.copy.0}}" title="{{$event.copy.1}}" class="copy-event-link icon s22 copy"></a>{{/if}}

View file

@ -15,7 +15,7 @@
{{/if}}
{{if $description}}
<div class="description event-description">{{$description}}</div>
<div class="description event-description">{{$description nofilter}}</div>
{{/if}}
{{if $location}}
@ -24,7 +24,7 @@
{{if $location.name}}
<span class="location">{{$location.name nofilter}}</span>
{{/if}}
{{if $location.map}}{{$location.map}}{{/if}}
{{if $location.map}}{{$location.map nofilter}}{{/if}}
</div>
{{/if}}

View file

@ -16,7 +16,7 @@
<div class="event">
{{if $event.is_first}}<hr /><a name="link-{{$event.j}}" ><div class="event-list-date">{{$event.d}}</div></a>{{/if}}
{{if $event.item.author_name}}<a href="{{$event.item.author_link}}" ><img src="{{$event.item.author_avatar}}" height="32" width="32" />{{$event.item.author_name}}</a>{{/if}}
{{$event.html}}
{{$event.html nofilter}}
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" target="_blank" class="plink-event-link icon s22 remote-link"></a>{{/if}}
{{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
</div>

View file

@ -4,6 +4,6 @@
</head>
<body>
<h1>{{$title}}</h1>
<p>{{$description}}</p>
<p>{{$description nofilter}}</p>
</body>
</html>

View file

@ -3,7 +3,7 @@
<div id="admin-contactblock" class="adminpage generic-page-wrapper">
<h1>{{$title}} - {{$page}}</h1>
<p>{{$description}}</p>
<p>{{$description nofilter}}</p>
{{* We organize the settings in collapsable panel-groups *}}
<div class="panel-group panel-group-settings" id="admin-settings" role="tablist" aria-multiselectable="true">

View file

@ -10,7 +10,7 @@
{{/if}}
</div>
<div class="media-body">
{{$event.html}}
{{$event.html nofilter}}
</div>
</div>

View file

@ -29,7 +29,7 @@
<a href="{{$author_link}}" class="userinfo">{{$author_name}}</a>
</div>
{{if $location.map}}
<div id="event-location-map-{{$id}}" class="event-location-map">{{$location.map}}</div>
<div id="event-location-map-{{$id}}" class="event-location-map">{{$location.map nofilter}}</div>
{{/if}}
</div>
<div class="clearfix"></div>
@ -41,7 +41,7 @@
{{* The content of the event description *}}
{{if $description}}
<div class="description event-description">
{{$description}}
{{$description nofilter}}
</div>
{{/if}}
</div>

View file

@ -12,7 +12,7 @@
<div class="event">
{{if $event.is_first}}<hr /><a name="link-{{$event.j}}" ><div class="event-list-date">{{$event.d}}</div></a>{{/if}}
{{if $event.item.author_name}}<a href="{{$event.item.author_link}}" ><img src="{{$event.item.author_avatar}}" height="32" width="32" />{{$event.item.author_name}}</a>{{/if}}
{{$event.html}}
{{$event.html nofilter}}
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" target="_blank" class="plink-event-link icon s22 remote-link"></a>{{/if}}
{{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
</div>