From 382d32473517365961d1ac5e11cfe9570ca861e9 Mon Sep 17 00:00:00 2001 From: harukin Date: Fri, 16 Nov 2018 17:59:15 +0900 Subject: [PATCH] --- .../plusfuture/php/widget_userlogomenu.php | 15 ----------- view/theme/plusfuture/tpl/userlogomenu.tpl | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/view/theme/plusfuture/php/widget_userlogomenu.php b/view/theme/plusfuture/php/widget_userlogomenu.php index 6c1ef2c..410aaa8 100644 --- a/view/theme/plusfuture/php/widget_userlogomenu.php +++ b/view/theme/plusfuture/php/widget_userlogomenu.php @@ -203,21 +203,6 @@ class widget_userlogomenu { return $o; } -function widget_userlogomenu($args) { - - $channel = channelx_by_n(\App::$profile_uid); - - $o = replace_macros(get_markup_template('userlogomenu.tpl'), array( - '$sitelocation' => $site['$sitelocation'], - '$banner' => $channel['channel_name'], - '$channel' => $channel['channel_address'], - '$avatar' => $channel['xchan_photo_s'], - )); - - return $o; - - } - diff --git a/view/theme/plusfuture/tpl/userlogomenu.tpl b/view/theme/plusfuture/tpl/userlogomenu.tpl index 4a4cb19..06c8df0 100644 --- a/view/theme/plusfuture/tpl/userlogomenu.tpl +++ b/view/theme/plusfuture/tpl/userlogomenu.tpl @@ -71,3 +71,29 @@ + +
+

+ {{$title}} + {{if $reset}} + + + + {{/if}} +

+ {{$content}} + {{if $name}} +
+
+
+ + +
+
+ + {{/if}} +