]> git.mxchange.org Git - friendica.git/commitdiff
Renamed template
authorMichael Vogel <icarus@dabo.de>
Wed, 8 Jun 2016 05:11:16 +0000 (07:11 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 8 Jun 2016 05:11:16 +0000 (07:11 +0200)
include/bbcode.php
view/templates/shared-content.tpl [deleted file]
view/templates/shared_content.tpl [new file with mode: 0644]

index bb4f77ebf9344e30043c6b5955f39c7ff3fdce06..62f56558fb6871a233b3122886821a65420e7190 100644 (file)
@@ -490,7 +490,7 @@ function bb_ShareAttributes($share, $simplehtml) {
                default:
                        $text = trim($share[1])."\n";
 
-                       $tpl = get_markup_template('shared-content.tpl');
+                       $tpl = get_markup_template('shared_content.tpl');
                        $text .= replace_macros($tpl,
                                        array(
                                                '$profile' => $profile,
diff --git a/view/templates/shared-content.tpl b/view/templates/shared-content.tpl
deleted file mode 100644 (file)
index 74f6aed..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<div class="shared-wrapper">
-       <div class="shared_header">
-               {{if $avatar}}
-                       <a href="{{$profile}}" target="_blank" class="shared-userinfo">
-                       <img src="{{$avatar}}" height="32" width="32">
-                       </a>
-               {{/if}}
-               {{*<span><a href="{{$profile}}" target="_blank" class="shared-wall-item-name">{{$author}}</a> wrote the following <a href="{{$link}}" target="_blank">post</a>{{$reldate}}:</span>*}}
-               <div><a href="{{$profile}}" target="_blank" class="shared-wall-item-name"><span class="shared-author">{{$author}}</span></a></div>
-               <div class="shared-wall-item-ago"><small><a href="{{$link}}" target="_blank"><span class="shared-time">{{$posted}}</a></a></small></div>
-       </div>
-       <blockquote class="shared_content">{{$content}}</blockquote>
-<div>
diff --git a/view/templates/shared_content.tpl b/view/templates/shared_content.tpl
new file mode 100644 (file)
index 0000000..74f6aed
--- /dev/null
@@ -0,0 +1,13 @@
+<div class="shared-wrapper">
+       <div class="shared_header">
+               {{if $avatar}}
+                       <a href="{{$profile}}" target="_blank" class="shared-userinfo">
+                       <img src="{{$avatar}}" height="32" width="32">
+                       </a>
+               {{/if}}
+               {{*<span><a href="{{$profile}}" target="_blank" class="shared-wall-item-name">{{$author}}</a> wrote the following <a href="{{$link}}" target="_blank">post</a>{{$reldate}}:</span>*}}
+               <div><a href="{{$profile}}" target="_blank" class="shared-wall-item-name"><span class="shared-author">{{$author}}</span></a></div>
+               <div class="shared-wall-item-ago"><small><a href="{{$link}}" target="_blank"><span class="shared-time">{{$posted}}</a></a></small></div>
+       </div>
+       <blockquote class="shared_content">{{$content}}</blockquote>
+<div>