]> git.mxchange.org Git - friendica.git/commitdiff
Unescape variables in events and descriptions
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 14 Dec 2018 06:24:26 +0000 (01:24 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 17 Dec 2018 03:38:32 +0000 (22:38 -0500)
view/templates/admin/contactblock.tpl
view/templates/event.tpl
view/templates/event_stream_item.tpl
view/templates/events.tpl
view/templates/http_status.tpl
view/theme/frio/templates/admin/contactblock.tpl
view/theme/frio/templates/event.tpl
view/theme/frio/templates/event_stream_item.tpl
view/theme/quattro/templates/events.tpl

index efdbd44cd0090e6217a0e39f735508cc3dac040f..f454938627cc24f9bcd382820a0234a2703d6ba9 100644 (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}}">
 
index 495cf2eb188460ec49912a2557e9342b7c486a38..f1d2bf102b0b7e213a3f26365ac1c8bd3806274d 100644 (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}}
index 373b6d3314abda2dc8e04ec1a8124357838af0d8..3480228c10bd30a733951b5aa4e8b97ac3f49e51 100644 (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}}
index 2469c4c718156dcf34e2c5a3cab53ca9d36207f0..cae7b328226e44a122bc3c2b1e06c37b7970cfa5 100644 (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>
index 55cc133ff0606314ce3a9151eb4775c78d9d71d2..6b366d6f045411d69325b17aad61b467c5a271f3 100644 (file)
@@ -4,6 +4,6 @@
        </head>
        <body>
                <h1>{{$title}}</h1>
-               <p>{{$description}}</p>
+               <p>{{$description nofilter}}</p>
        </body>
 </html>
index e79ba65c52887b7fdcf093a163a2f43996100b17..7d187aac8e178586444b74876f7f66ab4f836cf6 100644 (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">
index 947d09cb8d97828c6175e32ebfebc1e3817c2c3f..39695819af9539b83c4c952d3cf3e195cf6256e4 100644 (file)
@@ -10,7 +10,7 @@
                                        {{/if}}
                                </div>
                                <div class="media-body">
-                                       {{$event.html}}
+                                       {{$event.html nofilter}}
                                </div>
                        </div>
 
index 2b59e61c0b567daa5cdefa22261ce451ccdfad91..330f88cbbbe95b00d6941ae52f33a7d81e3eb197 100644 (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>
index 0428ff8d904a054d5f93083bbbd1cf1e25d5e0c7..32b2725bac7bd12027723a96769cfbc9721c9271 100644 (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>