1
0
Fork 0

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

View file

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

View file

@ -16,7 +16,7 @@
<div class="event"> <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.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}} {{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.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.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
</div> </div>

View file

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

View file

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

View file

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

View file

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

View file

@ -12,7 +12,7 @@
<div class="event"> <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.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}} {{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.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.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
</div> </div>