aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-03 07:12:35 +0000
committerMario <mario@mariovavti.com>2021-08-03 07:12:35 +0000
commitcddc0217724f1a7661014d50e4c940e623a0c2dc (patch)
treef24595d659adbb7d1e5d2e8e6dcd829b093887bb /include
parent571bae9d1c07bb08270163a314c91c138b42e62f (diff)
downloadvolse-hubzilla-cddc0217724f1a7661014d50e4c940e623a0c2dc.tar.gz
volse-hubzilla-cddc0217724f1a7661014d50e4c940e623a0c2dc.tar.bz2
volse-hubzilla-cddc0217724f1a7661014d50e4c940e623a0c2dc.zip
Apps drag and drop feature
Diffstat (limited to 'include')
-rw-r--r--include/nav.php3
-rw-r--r--include/photos.php2
-rw-r--r--include/text.php4
3 files changed, 6 insertions, 3 deletions
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 .= '<span class="badge badge-pill badge-info"><i class="fa fa-hashtag"></i>&nbsp;<a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>';
+ $s .= '<span class="badge rounded-pill bg-info"><i class="fa fa-hashtag"></i>&nbsp;<a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>';
}
}
@@ -1633,7 +1633,7 @@ function format_mentions(&$item) {
continue;
if($s)
$s .= ' ';
- $s .= '<span class="badge badge-pill badge-success"><i class="fa fa-at"></i>&nbsp;<a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>';
+ $s .= '<span class="badge rounded-pill bg-success"><i class="fa fa-at"></i>&nbsp;<a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>';
}
}