From cddc0217724f1a7661014d50e4c940e623a0c2dc Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 3 Aug 2021 07:12:35 +0000 Subject: Apps drag and drop feature --- include/nav.php | 3 ++- include/photos.php | 2 ++ include/text.php | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/nav.php b/include/nav.php index 92ddc6583..30f5fd9b8 100644 --- a/include/nav.php +++ b/include/nav.php @@ -334,7 +334,7 @@ function nav($template = 'default') { '$channel_menu' => get_pconfig(App::$profile_uid, 'system', 'channel_menu', get_config('system', 'channel_menu')), '$channel_thumb' => ((App::$profile) ? App::$profile['thumb'] : ''), '$channel_apps' => $channel_apps, - '$addapps' => t('Add Apps'), + '$addapps' => t('Apps'), '$apps' => t('Apps'), '$channelapps' => t('Channel Apps'), '$sysapps' => t('System Apps'), @@ -343,6 +343,7 @@ function nav($template = 'default') { '$settings_url' => $settings_url, '$name' => App::$profile['channel_name'], '$thumb' => App::$profile['thumb'], + '$form_security_token' => get_form_security_token('pconfig') ]); if (x($_SESSION, 'reload_avatar') && $observer) { diff --git a/include/photos.php b/include/photos.php index 967acf955..c83b4585c 100644 --- a/include/photos.php +++ b/include/photos.php @@ -872,6 +872,8 @@ function photos_create_item($channel, $creator_hash, $photo, $visible = false) { // Create item container +hz_syslog(print_r($photo,true)); + $item_hidden = (($visible) ? 0 : 1 ); $uuid = item_message_id(); diff --git a/include/text.php b/include/text.php index 841abdbd3..e0910f83e 100644 --- a/include/text.php +++ b/include/text.php @@ -1610,7 +1610,7 @@ function format_hashtags(&$item) { if($s) $s .= ' '; - $s .= ' ' . $term . ''; + $s .= ' ' . $term . ''; } } @@ -1633,7 +1633,7 @@ function format_mentions(&$item) { continue; if($s) $s .= ' '; - $s .= ' ' . $term . ''; + $s .= ' ' . $term . ''; } } -- cgit v1.2.3