]> git.mxchange.org Git - friendica.git/commitdiff
Move templates into sub-dir "notifications"
authornupplaPhil <admin@philipp.info>
Wed, 22 Jan 2020 23:16:34 +0000 (00:16 +0100)
committernupplaPhil <admin@philipp.info>
Wed, 22 Jan 2020 23:16:34 +0000 (00:16 +0100)
49 files changed:
src/Module/BaseNotifications.php
src/Module/Notifications/Introductions.php
src/Module/Notifications/Notifications.php
view/templates/intros.tpl [deleted file]
view/templates/netfriend.tpl [deleted file]
view/templates/notifications.tpl [deleted file]
view/templates/notifications/attend_item.tpl [new file with mode: 0644]
view/templates/notifications/comments_item.tpl [new file with mode: 0644]
view/templates/notifications/dislikes_item.tpl [new file with mode: 0644]
view/templates/notifications/friends_item.tpl [new file with mode: 0644]
view/templates/notifications/intros.tpl [new file with mode: 0644]
view/templates/notifications/likes_item.tpl [new file with mode: 0644]
view/templates/notifications/netfriend.tpl [new file with mode: 0644]
view/templates/notifications/network_item.tpl [new file with mode: 0644]
view/templates/notifications/notifications.tpl [new file with mode: 0644]
view/templates/notifications/notify.tpl [new file with mode: 0644]
view/templates/notifications/posts_item.tpl [new file with mode: 0644]
view/templates/notifications/suggestions.tpl [new file with mode: 0644]
view/templates/notifications_attend_item.tpl [deleted file]
view/templates/notifications_comments_item.tpl [deleted file]
view/templates/notifications_dislikes_item.tpl [deleted file]
view/templates/notifications_friends_item.tpl [deleted file]
view/templates/notifications_likes_item.tpl [deleted file]
view/templates/notifications_network_item.tpl [deleted file]
view/templates/notifications_posts_item.tpl [deleted file]
view/templates/notify.tpl [deleted file]
view/templates/suggestions.tpl [deleted file]
view/theme/frio/templates/intros.tpl [deleted file]
view/theme/frio/templates/notifications.tpl [deleted file]
view/theme/frio/templates/notifications/attend_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/comments_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/dislikes_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/friends_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/intros.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/likes_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/network_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/notifications.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/notify.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/posts_item.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications/suggestions.tpl [new file with mode: 0644]
view/theme/frio/templates/notifications_attend_item.tpl [deleted file]
view/theme/frio/templates/notifications_comments_item.tpl [deleted file]
view/theme/frio/templates/notifications_dislikes_item.tpl [deleted file]
view/theme/frio/templates/notifications_friends_item.tpl [deleted file]
view/theme/frio/templates/notifications_likes_item.tpl [deleted file]
view/theme/frio/templates/notifications_network_item.tpl [deleted file]
view/theme/frio/templates/notifications_posts_item.tpl [deleted file]
view/theme/frio/templates/notify.tpl [deleted file]
view/theme/frio/templates/suggestions.tpl [deleted file]

index f1321dfec3f42a6782959f699920f33cc6acf43c..fde4828e278efbe8663ddc93589c071d71774912 100644 (file)
@@ -127,7 +127,7 @@ abstract class BaseNotifications extends BaseModule
                // Set the pager
                $pager = new Pager(DI::args()->getQueryString(), self::ITEMS_PER_PAGE);
 
-               $notif_tpl = Renderer::getMarkupTemplate('notifications.tpl');
+               $notif_tpl = Renderer::getMarkupTemplate('notifications/notifications.tpl');
                return Renderer::replaceMacros($notif_tpl, [
                        '$notif_header'    => $notif_header ?? DI::l10n()->t('Notifications'),
                        '$tabs'            => $tabs,
index b22df920bc98dd05432e0b805ff35705ce4c3c2d..3a7499a1e58525dada5d5a8afbc9c699e18dd627 100644 (file)
@@ -44,8 +44,8 @@ class Introductions extends BaseNotifications
                $notifs       = $notif_result['notifs'] ?? [];
                $notif_header = $notif_result['header'] ?? '';
 
-               $sugg = Renderer::getMarkupTemplate('suggestions.tpl');
-               $tpl  = Renderer::getMarkupTemplate('intros.tpl');
+               $sugg = Renderer::getMarkupTemplate('notifications/suggestions.tpl');
+               $tpl  = Renderer::getMarkupTemplate('notifications/intros.tpl');
 
                // The link to switch between ignored and normal connection requests
                $notif_show_lnk = [
@@ -111,7 +111,7 @@ class Introductions extends BaseNotifications
                                                $helptext3 = DI::l10n()->t('Accepting %s as a sharer allows them to subscribe to your posts, but you will not receive updates from them in your news feed.', $notif['name']);
                                        }
 
-                                       $dfrn_tpl  = Renderer::getMarkupTemplate('netfriend.tpl');
+                                       $dfrn_tpl  = Renderer::getMarkupTemplate('notifications/netfriend.tpl');
                                        $dfrn_text = Renderer::replaceMacros($dfrn_tpl, [
                                                '$intro_id'        => $notif['intro_id'],
                                                '$friend_selected' => $friend_selected,
index 50995645c38537f05dd99451122574ceee5e8e04..bfccbd4e70ea1e624d8b4922059c2dffdfefcafe 100644 (file)
@@ -80,15 +80,15 @@ class Notifications extends BaseNotifications
                        // notification and apply the correct template according to the notificationtype (label).
                        foreach ($notifs['notifications'] as $notif) {
                                $notification_templates = [
-                                       'like'        => 'notifications_likes_item.tpl',
-                                       'dislike'     => 'notifications_dislikes_item.tpl',
-                                       'attend'      => 'notifications_attend_item.tpl',
-                                       'attendno'    => 'notifications_attend_item.tpl',
-                                       'attendmaybe' => 'notifications_attend_item.tpl',
-                                       'friend'      => 'notifications_friends_item.tpl',
-                                       'comment'     => 'notifications_comments_item.tpl',
-                                       'post'        => 'notifications_posts_item.tpl',
-                                       'notify'      => 'notify.tpl',
+                                       'like'        => 'notifications/likes_item.tpl',
+                                       'dislike'     => 'notifications/dislikes_item.tpl',
+                                       'attend'      => 'notifications/attend_item.tpl',
+                                       'attendno'    => 'notifications/attend_item.tpl',
+                                       'attendmaybe' => 'notifications/attend_item.tpl',
+                                       'friend'      => 'notifications/friends_item.tpl',
+                                       'comment'     => 'notifications/comments_item.tpl',
+                                       'post'        => 'notifications/posts_item.tpl',
+                                       'notify'      => 'notifications/notify.tpl',
                                ];
 
                                $tpl_notif = Renderer::getMarkupTemplate($notification_templates[$notif['label']]);
diff --git a/view/templates/intros.tpl b/view/templates/intros.tpl
deleted file mode 100644 (file)
index 1f7f838..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<h2>{{$header}}</h2>
-
-<div class="intro-wrapper" id="intro-{{$contact_id}}" >
-
-<p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p>
-<img id="photo-{{$contact_id}}" class="intro-photo" src="{{$photo}}" width="175" height=175" title="{{$fullname}}" alt="{{$fullname}}" />
-<dl><dt>{{$lbl_url}}</dt><dd><a target="blank" href="{{$zrl}}">{{$url}}</a></dd></dl>
-{{if $location}}<dl><dt>{{$lbl_location}}</dt><dd>{{$location}}</dd></dl>{{/if}}
-{{if $gender}}<dl><dt>{{$lbl_gender}}</dt><dd>{{$gender}}</dd></dl>{{/if}}
-{{if $keywords}}<dl><dt>{{$lbl_keywords}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
-{{if $about}}<dl><dt>{{$lbl_about}}</dt><dd>{{$about nofilter}}</dd></dl>{{/if}}
-<div class="intro-knowyou">{{$lbl_knowyou}} {{$knowyou}}</div>
-<div class="intro-note" id="intro-note-{{$contact_id}}">{{$note}}</div>
-<div class="intro-wrapper-end" id="intro-wrapper-end-{{$contact_id}}"></div>
-<form class="intro-form" action="notifications/{{$intro_id}}" method="post">
-<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" />
-{{if $discard}}<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" />{{/if}}
-</form>
-<div class="intro-form-end"></div>
-
-<form class="intro-approve-form" action="{{$action}}" method="post">
-{{include file="field_checkbox.tpl" field=$hidden}}
-<input type="hidden" name="dfrn_id" value="{{$dfrn_id}}" >
-<input type="hidden" name="intro_id" value="{{$intro_id}}" >
-<input type="hidden" name="contact_id" value="{{$contact_id}}" >
-
-{{$dfrn_text nofilter}}
-
-<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" />
-</form>
-</div>
-<div class="intro-end"></div>
diff --git a/view/templates/netfriend.tpl b/view/templates/netfriend.tpl
deleted file mode 100644 (file)
index 465d7eb..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-
-<div class="intro-approve-as-friend-desc">
-  <p>{{$approve_as1}}</p>
-  <p>{{$approve_as2}}</p>
-  <p>{{$approve_as3}}</p>
-</div>
-
-<div class="intro-approve-as-friend-wrapper">
-       <label class="intro-approve-as-friend-label" for="intro-approve-as-friend-{{$intro_id}}">{{$as_friend}}</label>
-       <input type="radio" name="duplex" id="intro-approve-as-friend-{{$intro_id}}" class="intro-approve-as-friend" {{$friend_selected}} value="1" />
-       <div class="intro-approve-friend-break" ></div> 
-</div>
-<div class="intro-approve-as-friend-end"></div>
-<div class="intro-approve-as-fan-wrapper">
-       <label class="intro-approve-as-fan-label" for="intro-approve-as-fan-{{$intro_id}}">{{$as_fan}}</label>
-       <input type="radio" name="duplex" id="intro-approve-as-fan-{{$intro_id}}" class="intro-approve-as-fan" {{$fan_selected}} value="0"  />
-       <div class="intro-approve-fan-break"></div>
-</div>
-<div class="intro-approve-as-end"></div>
diff --git a/view/templates/notifications.tpl b/view/templates/notifications.tpl
deleted file mode 100644 (file)
index 9438db6..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-<h1>{{$notif_header}}</h1>
-
-{{if $tabs }}{{include file="common_tabs.tpl"}}{{/if}}
-
-<div class="notif-network-wrapper">
-       {{* The "show ignored" link *}}
-       {{if $notif_show_lnk}}<a href="{{$notif_show_lnk.href}}" id="notifications-show-hide-link">{{$notif_show_lnk.text}}</a>{{/if}}
-
-       {{* The notifications *}}
-       {{if $notif_content}}
-       {{foreach $notif_content as $notification}}
-               {{$notification nofilter}}
-       {{/foreach}}
-       {{/if}}
-
-       {{* If no notifications messages available *}}
-       {{if $notif_nocontent}}
-               <div class="notif_nocontent">{{$notif_nocontent}}</div>
-       {{/if}}
-
-       {{* The pager *}}
-       {{$notif_paginate nofilter}}
-</div>
diff --git a/view/templates/notifications/attend_item.tpl b/view/templates/notifications/attend_item.tpl
new file mode 100644 (file)
index 0000000..6fb69ed
--- /dev/null
@@ -0,0 +1,4 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/templates/notifications/comments_item.tpl b/view/templates/notifications/comments_item.tpl
new file mode 100644 (file)
index 0000000..9df1554
--- /dev/null
@@ -0,0 +1,4 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/templates/notifications/dislikes_item.tpl b/view/templates/notifications/dislikes_item.tpl
new file mode 100644 (file)
index 0000000..9df1554
--- /dev/null
@@ -0,0 +1,4 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/templates/notifications/friends_item.tpl b/view/templates/notifications/friends_item.tpl
new file mode 100644 (file)
index 0000000..9df1554
--- /dev/null
@@ -0,0 +1,4 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/templates/notifications/intros.tpl b/view/templates/notifications/intros.tpl
new file mode 100644 (file)
index 0000000..1f7f838
--- /dev/null
@@ -0,0 +1,32 @@
+<h2>{{$header}}</h2>
+
+<div class="intro-wrapper" id="intro-{{$contact_id}}" >
+
+<p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p>
+<img id="photo-{{$contact_id}}" class="intro-photo" src="{{$photo}}" width="175" height=175" title="{{$fullname}}" alt="{{$fullname}}" />
+<dl><dt>{{$lbl_url}}</dt><dd><a target="blank" href="{{$zrl}}">{{$url}}</a></dd></dl>
+{{if $location}}<dl><dt>{{$lbl_location}}</dt><dd>{{$location}}</dd></dl>{{/if}}
+{{if $gender}}<dl><dt>{{$lbl_gender}}</dt><dd>{{$gender}}</dd></dl>{{/if}}
+{{if $keywords}}<dl><dt>{{$lbl_keywords}}</dt><dd>{{$keywords}}</dd></dl>{{/if}}
+{{if $about}}<dl><dt>{{$lbl_about}}</dt><dd>{{$about nofilter}}</dd></dl>{{/if}}
+<div class="intro-knowyou">{{$lbl_knowyou}} {{$knowyou}}</div>
+<div class="intro-note" id="intro-note-{{$contact_id}}">{{$note}}</div>
+<div class="intro-wrapper-end" id="intro-wrapper-end-{{$contact_id}}"></div>
+<form class="intro-form" action="notifications/{{$intro_id}}" method="post">
+<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" />
+{{if $discard}}<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" />{{/if}}
+</form>
+<div class="intro-form-end"></div>
+
+<form class="intro-approve-form" action="{{$action}}" method="post">
+{{include file="field_checkbox.tpl" field=$hidden}}
+<input type="hidden" name="dfrn_id" value="{{$dfrn_id}}" >
+<input type="hidden" name="intro_id" value="{{$intro_id}}" >
+<input type="hidden" name="contact_id" value="{{$contact_id}}" >
+
+{{$dfrn_text nofilter}}
+
+<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" />
+</form>
+</div>
+<div class="intro-end"></div>
diff --git a/view/templates/notifications/likes_item.tpl b/view/templates/notifications/likes_item.tpl
new file mode 100644 (file)
index 0000000..6fb69ed
--- /dev/null
@@ -0,0 +1,4 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/templates/notifications/netfriend.tpl b/view/templates/notifications/netfriend.tpl
new file mode 100644 (file)
index 0000000..465d7eb
--- /dev/null
@@ -0,0 +1,19 @@
+
+<div class="intro-approve-as-friend-desc">
+  <p>{{$approve_as1}}</p>
+  <p>{{$approve_as2}}</p>
+  <p>{{$approve_as3}}</p>
+</div>
+
+<div class="intro-approve-as-friend-wrapper">
+       <label class="intro-approve-as-friend-label" for="intro-approve-as-friend-{{$intro_id}}">{{$as_friend}}</label>
+       <input type="radio" name="duplex" id="intro-approve-as-friend-{{$intro_id}}" class="intro-approve-as-friend" {{$friend_selected}} value="1" />
+       <div class="intro-approve-friend-break" ></div> 
+</div>
+<div class="intro-approve-as-friend-end"></div>
+<div class="intro-approve-as-fan-wrapper">
+       <label class="intro-approve-as-fan-label" for="intro-approve-as-fan-{{$intro_id}}">{{$as_fan}}</label>
+       <input type="radio" name="duplex" id="intro-approve-as-fan-{{$intro_id}}" class="intro-approve-as-fan" {{$fan_selected}} value="0"  />
+       <div class="intro-approve-fan-break"></div>
+</div>
+<div class="intro-approve-as-end"></div>
diff --git a/view/templates/notifications/network_item.tpl b/view/templates/notifications/network_item.tpl
new file mode 100644 (file)
index 0000000..0373b0d
--- /dev/null
@@ -0,0 +1,4 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
+</div>
diff --git a/view/templates/notifications/notifications.tpl b/view/templates/notifications/notifications.tpl
new file mode 100644 (file)
index 0000000..9438db6
--- /dev/null
@@ -0,0 +1,25 @@
+
+
+<h1>{{$notif_header}}</h1>
+
+{{if $tabs }}{{include file="common_tabs.tpl"}}{{/if}}
+
+<div class="notif-network-wrapper">
+       {{* The "show ignored" link *}}
+       {{if $notif_show_lnk}}<a href="{{$notif_show_lnk.href}}" id="notifications-show-hide-link">{{$notif_show_lnk.text}}</a>{{/if}}
+
+       {{* The notifications *}}
+       {{if $notif_content}}
+       {{foreach $notif_content as $notification}}
+               {{$notification nofilter}}
+       {{/foreach}}
+       {{/if}}
+
+       {{* If no notifications messages available *}}
+       {{if $notif_nocontent}}
+               <div class="notif_nocontent">{{$notif_nocontent}}</div>
+       {{/if}}
+
+       {{* The pager *}}
+       {{$notif_paginate nofilter}}
+</div>
diff --git a/view/templates/notifications/notify.tpl b/view/templates/notifications/notify.tpl
new file mode 100644 (file)
index 0000000..9df1554
--- /dev/null
@@ -0,0 +1,4 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/templates/notifications/posts_item.tpl b/view/templates/notifications/posts_item.tpl
new file mode 100644 (file)
index 0000000..9df1554
--- /dev/null
@@ -0,0 +1,4 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/templates/notifications/suggestions.tpl b/view/templates/notifications/suggestions.tpl
new file mode 100644 (file)
index 0000000..44fe865
--- /dev/null
@@ -0,0 +1,22 @@
+
+
+<div class="intro-wrapper" >
+
+<p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p>
+{{if $madeby}}<div class="intro-madeby">{{$lbl_madeby}} {{$madeby}}</div>{{/if}}
+<div class="intro-fullname" >{{$fullname}}</div>
+<a class="intro-url-link" href="{{$url}}" ><img class="intro-photo lframe" src="{{$photo}}" width="175" height="175" title="{{$fullname}}" alt="{{$fullname}}" /></a>
+<div class="intro-note" >{{$note}}</div>
+<div class="intro-wrapper-end"></div>
+<form class="intro-form" action="notifications/{{$intro_id}}" method="post">
+<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" />
+<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" />
+</form>
+<div class="intro-form-end"></div>
+
+<form class="intro-approve-form" action="{{$request}}" method="get">
+{{include file="field_checkbox.tpl" field=$hidden}}
+<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" />
+</form>
+</div>
+<div class="intro-end"></div>
diff --git a/view/templates/notifications_attend_item.tpl b/view/templates/notifications_attend_item.tpl
deleted file mode 100644 (file)
index 6fb69ed..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
-       <a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
-</div>
\ No newline at end of file
diff --git a/view/templates/notifications_comments_item.tpl b/view/templates/notifications_comments_item.tpl
deleted file mode 100644 (file)
index 9df1554..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
-       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
-</div>
\ No newline at end of file
diff --git a/view/templates/notifications_dislikes_item.tpl b/view/templates/notifications_dislikes_item.tpl
deleted file mode 100644 (file)
index 9df1554..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
-       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
-</div>
\ No newline at end of file
diff --git a/view/templates/notifications_friends_item.tpl b/view/templates/notifications_friends_item.tpl
deleted file mode 100644 (file)
index 9df1554..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
-       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
-</div>
\ No newline at end of file
diff --git a/view/templates/notifications_likes_item.tpl b/view/templates/notifications_likes_item.tpl
deleted file mode 100644 (file)
index 6fb69ed..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
-       <a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
-</div>
\ No newline at end of file
diff --git a/view/templates/notifications_network_item.tpl b/view/templates/notifications_network_item.tpl
deleted file mode 100644 (file)
index 0373b0d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
-       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
-</div>
diff --git a/view/templates/notifications_posts_item.tpl b/view/templates/notifications_posts_item.tpl
deleted file mode 100644 (file)
index 9df1554..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
-       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
-</div>
\ No newline at end of file
diff --git a/view/templates/notify.tpl b/view/templates/notify.tpl
deleted file mode 100644 (file)
index 9df1554..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}}">
-       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text nofilter}} <span class="notif-when">{{$item_ago}}</span></a>
-</div>
\ No newline at end of file
diff --git a/view/templates/suggestions.tpl b/view/templates/suggestions.tpl
deleted file mode 100644 (file)
index 44fe865..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-<div class="intro-wrapper" >
-
-<p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p>
-{{if $madeby}}<div class="intro-madeby">{{$lbl_madeby}} {{$madeby}}</div>{{/if}}
-<div class="intro-fullname" >{{$fullname}}</div>
-<a class="intro-url-link" href="{{$url}}" ><img class="intro-photo lframe" src="{{$photo}}" width="175" height="175" title="{{$fullname}}" alt="{{$fullname}}" /></a>
-<div class="intro-note" >{{$note}}</div>
-<div class="intro-wrapper-end"></div>
-<form class="intro-form" action="notifications/{{$intro_id}}" method="post">
-<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" />
-<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" />
-</form>
-<div class="intro-form-end"></div>
-
-<form class="intro-approve-form" action="{{$request}}" method="get">
-{{include file="field_checkbox.tpl" field=$hidden}}
-<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" />
-</form>
-</div>
-<div class="intro-end"></div>
diff --git a/view/theme/frio/templates/intros.tpl b/view/theme/frio/templates/intros.tpl
deleted file mode 100644 (file)
index a8a033c..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-
-{{* template incomming contact request and suggested contacts *}}
-
-<div class="intro-wrapper media" id="intro-{{$intro_id}}" >
-
-       {{* Contact Photo *}}
-       <div class="intro-photo-wrapper dropdown pull-left" >
-               <img id="photo-{{$intro_id}}" class="intro-photo media-object" src="{{$photo}}" title="{{$fullname}}" alt="{{$fullname}}" />
-       </div>
-
-       <div class="media-body">
-               {{* The intro actions like approve, ignore, discard intro*}}
-               <div class="intro-actions pull-right nav-pills preferences">
-                       <button class="btn-link intro-action-link" onclick="addElmToModal('#intro-approve-wrapper-{{$intro_id}}');" aria-label="{{$approve}}" title="{{$approve}}" data-toggle="tooltip"><i class="fa fa-check" aria-hidden="true"></i></button>
-
-                       <form class="intro-form" action="notifications/{{$intro_id}}" method="post">
-                               <button class="btn-link intro-submit-ignore intro-action-link" type="submit" name="submit" value="{{$ignore}}" aria-label="{{$ignore}}" title="{{$ignore}}" data-toggle="tooltip"><i class="fa fa-ban" aria-hidden="true"></i></button>
-                               {{if $discard}}<button class="btn-link intro-submit-discard intro-action-link" type="submit" name="submit" value="{{$discard}}" aria-label="{{$discard}}" title="{{$discard}}" data-toggle="tooltip"><i class="fa fa-trash-o" aria-hidden="true"></i></button>{{/if}}
-                       </form>
-               </div>
-               <div class='intro-enty-name'><h4 class="media-heading"><a href="{{$zrl}}">{{$fullname}}</a></h4></div>
-               <div class="intro-desc"><span class="intro-desc-label">{{$str_notifytype}}</span>&nbsp;{{$notify_type}}</div>
-               {{* if the contact was suggestested by another contact, the contact who made the suggestion is displayed*}}
-               {{if $madeby}}<div class="intro-madeby"><span class="intro-madeby-label">{{$lbl_madeby}}</span>&nbsp;<a href="{{$madeby_zrl}}">{{$madeby}}</a></div>{{/if}}
-
-               {{* Additional information of the contact *}}
-               <div class="intro-contact-info hidden-xs">
-                       <div class="intro-url"><span class="intro-url-label">{{$lbl_url}}:&nbsp;</span><a href="{{$zrl}}">{{$url}}</a></div>
-                       {{if $network}}<div class="intro-network"><span class="intro-network-label">{{$lbl_network}}</span>&nbsp;{{$network}}</div>{{/if}}
-                       {{if $location}}<div class="intro-location"><span class="intro-location-label">{{$lbl_location}}</span>&nbsp;{{$location}}</div>{{/if}}
-                       {{if $gender}}<div class="intro-gender"><span class="intro-gender-label">{{$lbl_gender}}</span>&nbsp;{{$gender}}</div>{{/if}}
-                       {{if $keywords}}<div class="intro-keywords"><span class="intro-keywords-label">{{$lbl_keywords}}</span>&nbsp;{{$keywords}}</div>{{/if}}
-                       {{if $about}}<div class="intro-about"><span class="intro-about-label">{{$lbl_about}}</span>&nbsp;{{$about nofilter}}</div>{{/if}}
-                       <div class="intro-knowyou"><span class="intro-knowyou-label">{{$lbl_knowyou}}</span>{{$knowyou}}</div>
-                       <div class="intro-note intro-note-{{$intro_id}}">{{$note}}</div>
-               </div>
-
-               {{* Additional information of the contact for mobile view *}}
-               <div class="intro-contact-info xs hidden-lg hidden-md hidden-sm">
-                       <div class="intro-url"><span class="intro-url-label">{{$lbl_url}}:</span><a href="{{$zrl}}">{{$url}}</a></div>
-                       {{if $network}}<div class="intro-network"><span class="intro-network-label">{{$lbl_network}}</span>{{$network}}</div>{{/if}}
-                       {{if $location}}<div class="intro-location"><span class="intro-location-label">{{$lbl_location}}</span>{{$location}}</div>{{/if}}
-                       {{if $gender}}<div class="intro-gender"><span class="intro-gender-label">{{$lbl_gender}}</span>{{$gender}}</div>{{/if}}
-                       {{if $keywords}}<div class="intro-keywords"><span class="intro-keywords-label">{{$lbl_keywords}}</span>{{$keywords}}</div>{{/if}}
-                       {{if $about}}<div class="intro-about"><span class="intro-about-label">{{$lbl_about}}</span>{{$about nofilter}}</div>{{/if}}
-                       <div class="intro-knowyou"><span class="intro-knowyou-label">{{$lbl_knowyou}}</span>{{$knowyou}}</div>
-                       <div class="intro-note intro-note-{{$intro_id}}">{{$note}}</div>
-               </div>
-
-               {{* This sections contains special settings for contact approval. We hide it by default and load this section in
-               a bootstrap modal in the case of approval *}}
-               <div id="intro-approve-wrapper-{{$intro_id}}" style="display: none;">
-
-                       <h3 class="heading">{{$fullname}}{{if $addr}}&nbsp;({{$addr}}){{/if}}</h3>
-                       <form class="intro-approve-form" {{if $request}}action="{{$request}}" method="get"{{else}}action="{{$action}}" method="post"{{/if}}>
-                               {{include file="field_checkbox.tpl" field=$hidden}}
-                               {{if $type != "friend_suggestion"}}
-                               <input type="hidden" name="dfrn_id" value="{{$dfrn_id}}" >
-                               <input type="hidden" name="intro_id" value="{{$intro_id}}" >
-                               <input type="hidden" name="contact_id" value="{{$contact_id}}" >
-                               {{/if}}
-
-                               {{$dfrn_text nofilter}}
-
-                               <div class="pull-right">
-                                       <button class="btn btn-primary intro-submit-approve" type="submit" name="submit" value="{{$approve}}">{{$approve}}</button>
-                               </div>
-                               <div class="clear"></div>
-                       </form>
-               </div>
-       </div>
-
-       {{* On mobile touch devices we use buttons for approve, ingnore && discard to have a better UX *}}
-       {{if $APP->is_mobile}}
-       <div class="intro-action-buttons">
-               <form class="intro-form pull-left" action="notifications/{{$intro_id}}" method="post">
-                       <button class="btn btn-small btn-default intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}">{{$ignore}}</button>
-                       {{if $discard}}<button class="btn btn-small btn-default intro-submit-discard" type="submit" name="submit" value="{{$discard}}">{{$discard}}</button>&nbsp;{{/if}}
-               </form>
-               <button class="btn btn-small btn-primary intro-submit-approve pull-right" onclick="addElmToModal('#intro-approve-wrapper-{{$intro_id}}')">{{$approve}}</button>
-       </div>
-       <div class="clear"></div>
-       {{/if}}
-</div>
-<div class="intro-end"></div>
diff --git a/view/theme/frio/templates/notifications.tpl b/view/theme/frio/templates/notifications.tpl
deleted file mode 100644 (file)
index 1be92c4..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-<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}}
-
-       {{if $tabs }}{{include file="common_tabs.tpl"}}{{/if}}
-
-       <div class="notif-network-wrapper">
-               {{* The "show ignored" link *}}
-               {{if $notif_show_lnk}}<a href="{{$notif_show_lnk.href}}" id="notifications-show-hide-link">{{$notif_show_lnk.text}}</a>{{/if}}
-
-               {{* The notifications *}}
-               {{if $notif_content}}
-               <ul class="notif-network-list media-list">
-               {{foreach $notif_content as $notification}}
-                       <li>{{$notification nofilter}}</li>
-               {{/foreach}}
-               </ul>
-               {{/if}}
-
-               {{* If no notifications messages available *}}
-               {{if $notif_nocontent}}
-               <div class="notif_nocontent">{{$notif_nocontent}}</div>
-               {{/if}}
-       </div>
-
-       {{* The pager *}}
-       {{$notif_paginate nofilter}}
-</div>
diff --git a/view/theme/frio/templates/notifications/attend_item.tpl b/view/theme/frio/templates/notifications/attend_item.tpl
new file mode 100644 (file)
index 0000000..252b61c
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notifications/notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications/comments_item.tpl b/view/theme/frio/templates/notifications/comments_item.tpl
new file mode 100644 (file)
index 0000000..252b61c
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notifications/notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications/dislikes_item.tpl b/view/theme/frio/templates/notifications/dislikes_item.tpl
new file mode 100644 (file)
index 0000000..252b61c
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notifications/notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications/friends_item.tpl b/view/theme/frio/templates/notifications/friends_item.tpl
new file mode 100644 (file)
index 0000000..252b61c
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notifications/notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications/intros.tpl b/view/theme/frio/templates/notifications/intros.tpl
new file mode 100644 (file)
index 0000000..a8a033c
--- /dev/null
@@ -0,0 +1,85 @@
+
+{{* template incomming contact request and suggested contacts *}}
+
+<div class="intro-wrapper media" id="intro-{{$intro_id}}" >
+
+       {{* Contact Photo *}}
+       <div class="intro-photo-wrapper dropdown pull-left" >
+               <img id="photo-{{$intro_id}}" class="intro-photo media-object" src="{{$photo}}" title="{{$fullname}}" alt="{{$fullname}}" />
+       </div>
+
+       <div class="media-body">
+               {{* The intro actions like approve, ignore, discard intro*}}
+               <div class="intro-actions pull-right nav-pills preferences">
+                       <button class="btn-link intro-action-link" onclick="addElmToModal('#intro-approve-wrapper-{{$intro_id}}');" aria-label="{{$approve}}" title="{{$approve}}" data-toggle="tooltip"><i class="fa fa-check" aria-hidden="true"></i></button>
+
+                       <form class="intro-form" action="notifications/{{$intro_id}}" method="post">
+                               <button class="btn-link intro-submit-ignore intro-action-link" type="submit" name="submit" value="{{$ignore}}" aria-label="{{$ignore}}" title="{{$ignore}}" data-toggle="tooltip"><i class="fa fa-ban" aria-hidden="true"></i></button>
+                               {{if $discard}}<button class="btn-link intro-submit-discard intro-action-link" type="submit" name="submit" value="{{$discard}}" aria-label="{{$discard}}" title="{{$discard}}" data-toggle="tooltip"><i class="fa fa-trash-o" aria-hidden="true"></i></button>{{/if}}
+                       </form>
+               </div>
+               <div class='intro-enty-name'><h4 class="media-heading"><a href="{{$zrl}}">{{$fullname}}</a></h4></div>
+               <div class="intro-desc"><span class="intro-desc-label">{{$str_notifytype}}</span>&nbsp;{{$notify_type}}</div>
+               {{* if the contact was suggestested by another contact, the contact who made the suggestion is displayed*}}
+               {{if $madeby}}<div class="intro-madeby"><span class="intro-madeby-label">{{$lbl_madeby}}</span>&nbsp;<a href="{{$madeby_zrl}}">{{$madeby}}</a></div>{{/if}}
+
+               {{* Additional information of the contact *}}
+               <div class="intro-contact-info hidden-xs">
+                       <div class="intro-url"><span class="intro-url-label">{{$lbl_url}}:&nbsp;</span><a href="{{$zrl}}">{{$url}}</a></div>
+                       {{if $network}}<div class="intro-network"><span class="intro-network-label">{{$lbl_network}}</span>&nbsp;{{$network}}</div>{{/if}}
+                       {{if $location}}<div class="intro-location"><span class="intro-location-label">{{$lbl_location}}</span>&nbsp;{{$location}}</div>{{/if}}
+                       {{if $gender}}<div class="intro-gender"><span class="intro-gender-label">{{$lbl_gender}}</span>&nbsp;{{$gender}}</div>{{/if}}
+                       {{if $keywords}}<div class="intro-keywords"><span class="intro-keywords-label">{{$lbl_keywords}}</span>&nbsp;{{$keywords}}</div>{{/if}}
+                       {{if $about}}<div class="intro-about"><span class="intro-about-label">{{$lbl_about}}</span>&nbsp;{{$about nofilter}}</div>{{/if}}
+                       <div class="intro-knowyou"><span class="intro-knowyou-label">{{$lbl_knowyou}}</span>{{$knowyou}}</div>
+                       <div class="intro-note intro-note-{{$intro_id}}">{{$note}}</div>
+               </div>
+
+               {{* Additional information of the contact for mobile view *}}
+               <div class="intro-contact-info xs hidden-lg hidden-md hidden-sm">
+                       <div class="intro-url"><span class="intro-url-label">{{$lbl_url}}:</span><a href="{{$zrl}}">{{$url}}</a></div>
+                       {{if $network}}<div class="intro-network"><span class="intro-network-label">{{$lbl_network}}</span>{{$network}}</div>{{/if}}
+                       {{if $location}}<div class="intro-location"><span class="intro-location-label">{{$lbl_location}}</span>{{$location}}</div>{{/if}}
+                       {{if $gender}}<div class="intro-gender"><span class="intro-gender-label">{{$lbl_gender}}</span>{{$gender}}</div>{{/if}}
+                       {{if $keywords}}<div class="intro-keywords"><span class="intro-keywords-label">{{$lbl_keywords}}</span>{{$keywords}}</div>{{/if}}
+                       {{if $about}}<div class="intro-about"><span class="intro-about-label">{{$lbl_about}}</span>{{$about nofilter}}</div>{{/if}}
+                       <div class="intro-knowyou"><span class="intro-knowyou-label">{{$lbl_knowyou}}</span>{{$knowyou}}</div>
+                       <div class="intro-note intro-note-{{$intro_id}}">{{$note}}</div>
+               </div>
+
+               {{* This sections contains special settings for contact approval. We hide it by default and load this section in
+               a bootstrap modal in the case of approval *}}
+               <div id="intro-approve-wrapper-{{$intro_id}}" style="display: none;">
+
+                       <h3 class="heading">{{$fullname}}{{if $addr}}&nbsp;({{$addr}}){{/if}}</h3>
+                       <form class="intro-approve-form" {{if $request}}action="{{$request}}" method="get"{{else}}action="{{$action}}" method="post"{{/if}}>
+                               {{include file="field_checkbox.tpl" field=$hidden}}
+                               {{if $type != "friend_suggestion"}}
+                               <input type="hidden" name="dfrn_id" value="{{$dfrn_id}}" >
+                               <input type="hidden" name="intro_id" value="{{$intro_id}}" >
+                               <input type="hidden" name="contact_id" value="{{$contact_id}}" >
+                               {{/if}}
+
+                               {{$dfrn_text nofilter}}
+
+                               <div class="pull-right">
+                                       <button class="btn btn-primary intro-submit-approve" type="submit" name="submit" value="{{$approve}}">{{$approve}}</button>
+                               </div>
+                               <div class="clear"></div>
+                       </form>
+               </div>
+       </div>
+
+       {{* On mobile touch devices we use buttons for approve, ingnore && discard to have a better UX *}}
+       {{if $APP->is_mobile}}
+       <div class="intro-action-buttons">
+               <form class="intro-form pull-left" action="notifications/{{$intro_id}}" method="post">
+                       <button class="btn btn-small btn-default intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}">{{$ignore}}</button>
+                       {{if $discard}}<button class="btn btn-small btn-default intro-submit-discard" type="submit" name="submit" value="{{$discard}}">{{$discard}}</button>&nbsp;{{/if}}
+               </form>
+               <button class="btn btn-small btn-primary intro-submit-approve pull-right" onclick="addElmToModal('#intro-approve-wrapper-{{$intro_id}}')">{{$approve}}</button>
+       </div>
+       <div class="clear"></div>
+       {{/if}}
+</div>
+<div class="intro-end"></div>
diff --git a/view/theme/frio/templates/notifications/likes_item.tpl b/view/theme/frio/templates/notifications/likes_item.tpl
new file mode 100644 (file)
index 0000000..252b61c
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notifications/notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications/network_item.tpl b/view/theme/frio/templates/notifications/network_item.tpl
new file mode 100644 (file)
index 0000000..252b61c
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notifications/notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications/notifications.tpl b/view/theme/frio/templates/notifications/notifications.tpl
new file mode 100644 (file)
index 0000000..591d0c3
--- /dev/null
@@ -0,0 +1,30 @@
+<script type="text/javascript" src="../../frameworks/jquery-color/jquery.color.js"></script>
+<script type="text/javascript" src="../../js/mod_notifications.js"></script>
+
+<div class="generic-page-wrapper">
+       {{include file="section_title.tpl" title=$notif_header}}
+
+       {{if $tabs }}{{include file="common_tabs.tpl"}}{{/if}}
+
+       <div class="notif-network-wrapper">
+               {{* The "show ignored" link *}}
+               {{if $notif_show_lnk}}<a href="{{$notif_show_lnk.href}}" id="notifications-show-hide-link">{{$notif_show_lnk.text}}</a>{{/if}}
+
+               {{* The notifications *}}
+               {{if $notif_content}}
+               <ul class="notif-network-list media-list">
+               {{foreach $notif_content as $notification}}
+                       <li>{{$notification nofilter}}</li>
+               {{/foreach}}
+               </ul>
+               {{/if}}
+
+               {{* If no notifications messages available *}}
+               {{if $notif_nocontent}}
+               <div class="notif_nocontent">{{$notif_nocontent}}</div>
+               {{/if}}
+       </div>
+
+       {{* The pager *}}
+       {{$notif_paginate nofilter}}
+</div>
diff --git a/view/theme/frio/templates/notifications/notify.tpl b/view/theme/frio/templates/notifications/notify.tpl
new file mode 100644 (file)
index 0000000..58f3b0d
--- /dev/null
@@ -0,0 +1,12 @@
+
+<div class="notif-item {{if !$item_seen}}unseen{{/if}} {{$item_label}} media">
+       <div class="notif-photo-wrapper media-object pull-left">
+               <a class="userinfo click-card" href="{{$item_url}}"><img src="{{$item_image}}" class="notif-image"></a>
+       </div>
+       <div class="notif-desc-wrapper media-body">
+               <a href="{{$item_link}}">
+                       {{$item_text nofilter}}
+                       <div><time class="notif-when time" data-toggle="tooltip" title="{{$item_when}}">{{$item_ago}}</time></div>
+               </a>
+       </div>
+</div>
diff --git a/view/theme/frio/templates/notifications/posts_item.tpl b/view/theme/frio/templates/notifications/posts_item.tpl
new file mode 100644 (file)
index 0000000..252b61c
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notifications/notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications/suggestions.tpl b/view/theme/frio/templates/notifications/suggestions.tpl
new file mode 100644 (file)
index 0000000..9595190
--- /dev/null
@@ -0,0 +1,2 @@
+
+{{include file="notifications/intros.tpl"}}
\ No newline at end of file
diff --git a/view/theme/frio/templates/notifications_attend_item.tpl b/view/theme/frio/templates/notifications_attend_item.tpl
deleted file mode 100644 (file)
index 680b29a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_comments_item.tpl b/view/theme/frio/templates/notifications_comments_item.tpl
deleted file mode 100644 (file)
index 680b29a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_dislikes_item.tpl b/view/theme/frio/templates/notifications_dislikes_item.tpl
deleted file mode 100644 (file)
index 680b29a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_friends_item.tpl b/view/theme/frio/templates/notifications_friends_item.tpl
deleted file mode 100644 (file)
index 680b29a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_likes_item.tpl b/view/theme/frio/templates/notifications_likes_item.tpl
deleted file mode 100644 (file)
index 680b29a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_network_item.tpl b/view/theme/frio/templates/notifications_network_item.tpl
deleted file mode 100644 (file)
index 680b29a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notifications_posts_item.tpl b/view/theme/frio/templates/notifications_posts_item.tpl
deleted file mode 100644 (file)
index 680b29a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-{{include file="notify.tpl"}}
diff --git a/view/theme/frio/templates/notify.tpl b/view/theme/frio/templates/notify.tpl
deleted file mode 100644 (file)
index 58f3b0d..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-<div class="notif-item {{if !$item_seen}}unseen{{/if}} {{$item_label}} media">
-       <div class="notif-photo-wrapper media-object pull-left">
-               <a class="userinfo click-card" href="{{$item_url}}"><img src="{{$item_image}}" class="notif-image"></a>
-       </div>
-       <div class="notif-desc-wrapper media-body">
-               <a href="{{$item_link}}">
-                       {{$item_text nofilter}}
-                       <div><time class="notif-when time" data-toggle="tooltip" title="{{$item_when}}">{{$item_ago}}</time></div>
-               </a>
-       </div>
-</div>
diff --git a/view/theme/frio/templates/suggestions.tpl b/view/theme/frio/templates/suggestions.tpl
deleted file mode 100644 (file)
index e2399eb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-{{include file="intros.tpl"}}
\ No newline at end of file