]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/notifications.tpl
Avoid memory issue in exception
[friendica.git] / view / theme / frio / templates / notifications.tpl
index 126001e93329a1f60ad3ea4d91eba3302766092c..1be92c4b24e249876e2ff6dd49d85cc73d51209a 100644 (file)
@@ -1,3 +1,5 @@
+<script type="text/javascript" src="view/theme/frio/frameworks/jquery-color/jquery.color.js"></script>
+<script type="text/javascript" src="view/theme/frio/js/mod_notifications.js"></script>
 
 <div class="generic-page-wrapper">
        {{include file="section_title.tpl" title=$notif_header}}
@@ -12,7 +14,7 @@
                {{if $notif_content}}
                <ul class="notif-network-list media-list">
                {{foreach $notif_content as $notification}}
-                       <li>{{$notification}}</li>
+                       <li>{{$notification nofilter}}</li>
                {{/foreach}}
                </ul>
                {{/if}}
        </div>
 
        {{* The pager *}}
-       {{$notif_paginate}}
+       {{$notif_paginate nofilter}}
 </div>
-
-{{* Since only the DIV's inside the notification-list are marked with the class "unseen",
-we need some js to transfer this class to the parent li list-elements *}}
-<script>
-$(document).ready(function(){
-       if( $(".notif-item").hasClass("unseen")) {
-               $(".notif-item.unseen").parent("li").addClass("unseen");
-       }
-});
-</script>
\ No newline at end of file